]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update glibc headers for Linux 4.5.
[thirdparty/glibc.git] / ChangeLog
1 2016-03-14 Joseph Myers <joseph@codesourcery.com>
2
3 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5 (MADV_FREE): Likewise.
6 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8 EPOLLEXCLUSIVE.
9
10 2016-03-14 Carlos O'Donell <carlos@redhat.com>
11
12 * timezone/README: Remove mention of checktab.awk. Mention wiki
13 SharedSourceFiles.
14
15 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
16
17 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18 WUNTRACED.
19
20 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21
22 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23 order to match the type of p when calling atomic_exchange_acq().
24
25 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26
27 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
28 cfi_offset calls.
29 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
31 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
32 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
33 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
34
35 2016-03-10 Carlos O'Donell <carlos@redhat.com>
36
37 * timezone/checktab.awk: Removed.
38
39 2016-03-10 Joseph Myers <joseph@codesourcery.com>
40
41 * manual/math.texi (Errors in Math Functions): Document relaxed
42 accuracy goals for IBM long double.
43 * math/libm-test.inc (test_exceptions): Always allow spurious
44 "underflow" and "inexact" exceptions for IBM long double.
45
46 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
47
48 [BZ #19762]
49 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
50 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
51 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
52 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
53 (bit_arch_*): This for feature array.
54 (bit_*): Renamed to ...
55 (bit_cpu_*): This for cpu array.
56 (index_*): Renamed to ...
57 (index_arch_*): This for feature array.
58 (index_*): Renamed to ...
59 (index_cpu_*): This for cpu array.
60 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
61 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
62 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
63 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
64 bit_##name with index_cpu_##name and bit_cpu_##name.
65 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
66 bit_##name with index_arch_##name and bit_arch_##name.
67
68 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
69
70 [BZ #19792]
71 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
72 Terminate FDE before return label.
73
74 2016-03-09 Joseph Myers <joseph@codesourcery.com>
75
76 [BZ #19790]
77 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
78 (rintl): Define as macro.
79 [USE_AS_NEARBYINTL] (__rintl): Likewise.
80 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
81 of fesetround. Ensure results are evaluated before end of scope.
82 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
83 USE_AS_NEARBYINTL and include s_rintl.c.
84 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
85 Disable exception traps in new environment.
86 (libc_feholdsetround_ppc_ctx): Likewise.
87
88 2016-03-08 Roland McGrath <roland@hack.frob.com>
89
90 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
91 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
92 (tst_audit10_aux) [__AVX512F__]: ... here.
93
94 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
95
96 * include/sys/auxv.h: New file.
97
98 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
99
100 [BZ #19759]
101 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
102
103 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
104
105 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
106 operand modifier.
107 (feclearexcept): Likewise.
108
109 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
110
111 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
112 to reflect the entire 32-bit HWCAP.
113 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
114 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
115
116 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
117
118 [BZ #19783]
119 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
120 $(test-via-rtld-prefix).
121 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
122
123 2016-03-08 Florian Weimer <fweimer@redhat.com>
124
125 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
126 union wait. Report any non-zero exit status as error.
127
128 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
129
130 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
131 configured with --enable-hardcoded-path-in-tests.
132
133 2016-03-08 Joseph Myers <joseph@codesourcery.com>
134
135 [BZ #19677]
136 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
137 (__ieee754_remainderl): Put zero low parts in canonical form.
138 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
139 file. Based on
140 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
141 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
142 with wrapper round test-fmodrem-ldbl-128ibm.c.
143 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
144 file.
145 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
146 Likewise.
147 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
148 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
149
150 2016-03-07 Florian Weimer <fweimer@redhat.com>
151
152 [BZ #19610]
153 * elf/ldconfig.c (opt_link): Update comment.
154 (options): Update help string for option -X.
155 (search_dir): Unlink stale symbolic link only if updating symbolic
156 links.
157 * elf/tst-ldconfig-X.sh: New file.
158 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
159 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
160
161 2016-03-07 Andreas Schwab <schwab@suse.de>
162
163 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
164 needed arguments.
165
166 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
167
168 [BZ #15333]
169 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
170 to lstat64.
171
172 2016-03-07 Florian Weimer <fweimer@redhat.com>
173
174 * libio/filedoalloc.c (isatty): Remove.
175 (local_isatty): Add comment. Call __isatty directly.
176 (_IO_file_doallocate): Update comment. Assume _LIBC.
177 * libio/wfiledoalloc.c (isatty): Remove.
178 (_IO_wfile_doallocate): Update comment.
179
180 2016-03-07 Florian Weimer <fweimer@redhat.com>
181
182 [BZ #19269]
183 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
184 tst-audit4-aux.o.
185 (tst-audit10): Depend on tst-audit10-aux.o.
186 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
187 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
188 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
189 instead of inline AVX code.
190 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
191 instead of inline AVX512 code.
192 * sysdeps/x86_64/tst-audit4-aux.c: New file
193 * sysdeps/x86_64/tst-audit10-aux.c: New file
194
195 [BZ #19648]
196 * test-skeleton.c (main): Do not set RLIMIT_DATA.
197
198 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
199
200 [BZ #14750]
201 [BZ #10354]
202 [BZ #18433]
203 * include/sched.h (__clone): Add hidden prototype.
204 (__clone2): Likewise.
205 * include/unistd.h (__dup): Likewise.
206 * posix/Makefile (tests): Add tst-spawn2.
207 * posix/tst-spawn2.c: New file.
208 * sysdeps/posix/dup.c (__dup): Add hidden definition.
209 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
210 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
211 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
212 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
213 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
214 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
215 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
216 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
217 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
218 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
220 Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
222 Likewise.
223 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
224 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
225 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
226 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
227 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
228 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
229 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
230 * sysdeps/unix/sysv/linux/nptl-signals.h
231 (____nptl_is_internal_signal): New function.
232 * sysdeps/unix/sysv/linux/spawni.c: New file.
233
234 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
235 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
236 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
237 * posix/tst-execvp2.c (do_test): Likewise.
238 * posix/tst-execvp3.c (do_test): Likewise.
239 * posix/tst-execvp4.c (do_test): Likewise.
240 * posix/tst-execvpe1.c: New file.
241 * posix/tst-execvpe2.c: Likewise.
242 * posix/tst-execvpe3.c: Likewise.
243 * posix/tst-execvpe4.c: Likewise.
244 * posix/tst-execvpe5.c: Likewise.
245 * posix/tst-execvpe6.c: Likewise.
246
247 [BZ #19534]
248 * posix/execl.c (execl): Remove dynamic memory allocation.
249 * posix/execle.c (execle): Likewise.
250 * posix/execlp.c (execlp): Likewise.
251
252 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
253
254 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
255 Replace .text with .text.avx512.
256 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
257 Likewise.
258
259 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
260
261 * sysdeps/generic/libnsl.abilist: New file.
262 * sysdeps/generic/libutil.abilist: New file.
263
264 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
265
266 [BZ #19762]
267 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
268 HAS_ARCH_FEATURE with Fast_Rep_String.
269 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
270 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
271 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
272 Likewise.
273 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
274 Likewise.
275 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
276 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
277 Likewise.
278 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
279 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
280 Likewise.
281
282 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
283
284 [BZ #19745]
285 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
286 with *%rax in call.
287
288 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
289
290 [BZ #19745]
291 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
292 with *__libc_start_main@GOTPCREL(%rip) in call.
293
294 2016-03-04 Roland McGrath <roland@hack.frob.com>
295
296 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
297 inside conditional for nonempty $(CXX).
298
299 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
300 nonempty.
301
302 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
303 to test for empty $(CXX) rather than $(CXX) of "no".
304
305 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
306
307 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
308
309 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
310 H.J. Lu <hongjiu.lu@intel.com>
311
312 [BZ #18880]
313 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
314 instead of Slow_BSF, and also check for Fast_Copy_Backward to
315 enable __memcpy_ssse3_back.
316
317 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
318
319 [BZ #19758]
320 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
321 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
322
323 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
324
325 [BZ #19490]
326 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
327 (__fentry__): Likewise.
328
329 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
330
331 * gmon/Makefile (noprof): Add $(sysdep_noprof).
332 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
333
334 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
335
336 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
337 __mcount_internal directly.
338 (C_LABEL(__fentry__)): Likewise.
339 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
340 directly.
341
342 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
343
344 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
345 (__start_context): Call __setcontext directly.
346
347 2016-02-26 Joseph Myers <joseph@codesourcery.com>
348
349 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
350 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
351 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
352 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
353 * sysdeps/unix/sysv/linux/arm/kernel-features.h
354 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
355 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
356 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
357 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
358 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
359 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
360 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
361 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
362 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
363 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
364 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
365 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
366 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
367 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
368 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
369 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
370 * sysdeps/unix/sysv/linux/mips/kernel-features.h
371 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
372 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
373 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
374 Remove conditional code.
375 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
376 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
377 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
378 * sysdeps/unix/sysv/linux/sh/kernel-features.h
379 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
380 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
381 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
382 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
383 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
384 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
385 * sysdeps/unix/sysv/linux/tile/kernel-features.h
386 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
387
388 2016-02-24 Marko Myllynen <myllynen@redhat.com>
389
390 * NEWS (2.23): Fix typo in bug 19048 text.
391
392 2016-02-24 Carlos O'Donell <carlos@redhat.com>
393
394 [BZ #14259]
395 * Makeconfig: Rename msgcatdir to localedir.
396 Rename inst_msgcatdir to inst_localedir.
397 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
398 * config.make.in: Add localedir.
399 * elf/Makefile ($(objpfx)sotruss): Use localedir.
400 (ldd-rewrite): Likewise.
401 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
402 (install-others): Use inst_localedir.
403 (CPPFLAGS): Use localedir.
404 * locale/Makefile (locale-CPPFLAGS): Likewise.
405 * po/Makefile (mo-installed): Use inst_localedir.
406
407 [BZ #19575]
408 * localedata/charmaps/GB18030: Update comments regarding PAU to
409 non-PUA mappings.
410
411 2016-02-24 Joseph Myers <joseph@codesourcery.com>
412
413 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
414 test for header.
415 * sysdeps/unix/sysv/linux/configure: Regenerated.
416 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
417 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
418 Remove conditional code.
419 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
420
421 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
422 Define to 3.2.0.
423 (arch_minimum_kernel): Likewise.
424 * sysdeps/unix/sysv/linux/configure: Regenerated.
425 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
426 Define to 2.6.32.
427 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
428 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
429 (arch_minimum_kernel): Define to 2.6.32.
430 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
431 * README: Document Linux 3.2 requirement.
432 * manual/install.texi (Linux): Document Linux 3.2 headers
433 requirement.
434 * INSTALL: Regenerated.
435
436 2016-02-24 Andreas Schwab <schwab@suse.de>
437
438 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
439 if !NO_LONG_DOUBLE.
440
441 2016-02-22 Roland McGrath <roland@hack.frob.com>
442
443 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
444 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
445
446 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
447
448 [BZ #19512]
449 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
450
451 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
452
453 * posix/tst-dir.c: Include libc-internal.h.
454
455 2016-02-20 Florian Weimer <fweimer@redhat.com>
456
457 [BZ #19056]
458 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
459 * manual/filesys.texi (Reading/Closing Directory): Mention
460 deprecaion.
461 * posix/tst-dir.c (main): Disable deprecation warning in test.
462
463 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
464
465 [BZ #19679]
466 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
467 Renamed to ...
468 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
469 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
470 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
471 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
472 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
473 * sysdeps/x86_64/dl-trampoline.h
474 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
475 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
476
477 2016-02-19 Mark Wielaard <mjw@redhat.com>
478
479 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
480
481 2016-02-19 Mark Wielaard <mjw@redhat.com>
482
483 * elf/elf.h (R_386_GOT32X): New.
484 (R_386_NUM): Update.
485 (R_X86_64_GOTPCRELX: New.
486 (R_X86_64_REX_GOTPCRELX): New.
487 (R_X86_64_NUM): Update.
488
489 2016-02-19 Mike Frysinger <vapier@gentoo.org>
490
491 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
492
493 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
494
495 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
496 assign attr->stackaddr to it, and adjust it down when
497 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
498 [_STACK_GROWS_UP]: Delete assert.
499 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
500 Implement stack grows up logic.
501 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
502 stack grows up logic.
503
504 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
505
506 * NEWS: Update with 2.24 template.
507
508 2016-02-19 Joseph Myers <joseph@codesourcery.com>
509
510 [BZ #19678]
511 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
512 Ensure +0.0 is returned when taking the next value below the least
513 positive value.
514
515 2016-02-19 Florian Weimer <fweimer@redhat.com>
516
517 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
518 available. Do not define NO_THREADS.
519 * malloc/malloc.c: Do not check NO_THREADS.
520 * malloc/arena.c: Likewise.
521
522 2016-02-19 Florian Weimer <fweimer@redhat.com>
523
524 * malloc/malloc.c (__libc_mallinfo): Update comment.
525 (struct malloc_par): Remove max_total_mem member, it was always 0.
526 (int_mallinfo): Store 0 into usmblks (no functional change).
527 * malloc/hooks.c (struct malloc_state): Document that
528 max_total_mem is always 0.
529 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
530 always 0.
531 * manual/memory.texi (Statistics of Malloc): Likewise.
532
533 2016-02-19 Florian Weimer <fweimer@redhat.com>
534
535 * malloc/malloc.c (sysmalloc): Do not update arena_max.
536 * malloc/arena.c (arena_max): Remove.
537 (heap_trim, _int_new_arena): Do not update arena_max.
538
539 2016-02-19 Florian Weimer <fweimer@redhat.com>
540
541 * resolv/res_init.c (res_ninit): Update comment.
542
543 2016-02-19 Florian Weimer <fweimer@redhat.com>
544
545 [BZ #19505]
546 * posix/spawn_int.h: Add headers and include guard.
547 (__spawn_valid_fd): New function.
548 * posix/spawn_faction_addopen.c
549 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
550 * posix/spawn_faction_addclose.c
551 (posix_spawn_file_actions_addclose): Likewise.
552 * posix/spawn_faction_adddup2.c
553 (posix_spawn_file_actions_adddup2): Likewise. Add check for
554 second file descriptor.
555 * posix/spawn_valid_fd.c: New file.
556 * posix/tst-posix_spawn-fd.c: New file.
557 * posix/Makefile (routines): Add spawn_valid_fd.
558 (tests): Add tst-posix_spawn-fd.
559
560 2016-02-19 Florian Weimer <fweimer@redhat.com>
561
562 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
563 (do_test): Limit the number of arenas, so that we can use fewer
564 outer threads. Limit timeout to 3 seconds, in preparation for a
565 larger TIMEOUT value.
566
567 2016-02-19 Joseph Myers <joseph@codesourcery.com>
568
569 [BZ #19674]
570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
571 sign in overflowing and underflowing results when overflow or
572 underflow is detected early. Include sign in result before rather
573 than after scaling.
574
575 [BZ #19603]
576 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
577 (__ieee754_remainderl): Adjust sign of integer version of low part
578 when taking absolute value of high part.
579 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
580 * math/libm-test.inc (remainder_test_data): Add another test.
581 (remquo_test_data): Likewise.
582
583 2016-02-18 Joseph Myers <joseph@codesourcery.com>
584
585 [BZ #19602]
586 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
587 equal high parts and both low parts zero specially.
588 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
589 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
590 Add test-fmodl-ldbl-128ibm.
591
592 [BZ #19595]
593 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
594 common logic for all cases of shifting subnormal results. Do not
595 insert sign bit in shifted mantissa. Always pass -1023 as biased
596 exponent to ldbl_insert_mantissa in subnormal case.
597
598 [BZ #19594]
599 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
600 on high and low parts then adjust result and use
601 ldbl_canonicalize_int if needed.
602
603 [BZ #19593]
604 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
605 on high part and __floor or __ceil on low part then use
606 ldbl_canonicalize_int if needed.
607
608 [BZ #19592]
609 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
610 high and low parts then use ldbl_canonicalize_int if needed.
611
612 [BZ #17899]
613 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
614 New function.
615 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
616 on high and low parts then use ldbl_canonicalize_int if needed.
617
618 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
619
620 * configure: Regenerated.
621
622 * po/libc.pot: Regenerated.
623
624 * po/be.po: Updated translation.
625 * po/bg.po: Likewise.
626 * po/ca.po: Likewise.
627 * po/cs.po: Likewise.
628 * po/da.po: Likewise.
629 * po/el.po: Likewise.
630 * po/eo.po: Likewise.
631 * po/es.po: Likewise.
632 * po/fi.po: Likewise.
633 * po/fr.po: Likewise.
634 * po/gl.po: Likewise.
635 * po/hr.po: Likewise.
636 * po/hu.po: Likewise.
637 * po/ia.po: Likewise.
638 * po/id.po: Likewise.
639 * po/it.po: Likewise.
640 * po/ja.po: Likewise.
641 * po/lt.po: Likewise.
642 * po/nb.po: Likewise.
643 * po/nl.po: Likewise.
644 * po/pt_BR.po: Likewise.
645 * po/rw.po: Likewise.
646 * po/sk.po: Likewise.
647 * po/sl.po: Likewise.
648 * po/sv.po: Likewise.
649 * po/tr.po: Likewise.
650 * po/zh_CN.po: Likewise.
651 * po/zh_TW.po: Likewise.
652
653 * version.h (RELEAES): Set to "development".
654 (VERSION): Set to 2.23.90.
655
656 * version.h (RELEASE): Set to "stable".
657 (VERSION): Set to 2.23.
658 * include/feature.h (__GLIBC_MINOR__): Set to 23.
659
660 * NEWS: Updated fixed bugs.
661
662 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
663 Wilco Dijkstra <wdijkstr@arm.com>
664
665 [BZ #19462]
666 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
667 (_STRING_INLINE_unaligned): This.
668 * include/string.h: Include <string_private.h>.
669 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
670 _STRING_INLINE_unaligned.
671 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
672 (_STRING_INLINE_unaligned): New.
673 * sysdeps/aarch64/string_private.h: New file.
674 * sysdeps/generic/string_private.h: Likewise.
675 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
676 * sysdeps/s390/string_private.h: Likewise.
677 * sysdeps/x86/string_private.h: Likewise.
678 * sysdeps/m68k/m680x0/m68020/bits/string.h
679 (_STRING_ARCH_unaligned): Renamed to ...
680 (_STRING_INLINE_unaligned): This.
681 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
682 to ...
683 (_STRING_INLINE_unaligned): This.
684 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
685 to ...
686 (_STRING_INLINE_unaligned): This.
687 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
688 to ...
689 (_STRING_INLINE_unaligned): This.
690
691 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
692 H.J. Lu <hongjiu.lu@intel.com>
693
694 [BZ #19590]
695 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
696 relocation.
697
698 2016-02-15 Carlos O'Donell <carlos@redhat.com>
699
700 [BZ #18665]
701 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
702 *herrno_p.
703 (gaih_getanswer): Document functional behviour. Return tryagain
704 if any result is tryagain.
705 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
706 when freed.
707 * resolv/res_send.c: Add copyright text.
708 (__libc_res_nsend): Document that MAXPACKET is expected.
709 (send_vc): Document. Remove buffer reuse.
710 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
711 size of the buffer. Add Dprint for truncated UDP buffer.
712
713 2016-02-14 Carlos O'Donell <carlos@redhat.com>
714
715 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
716 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
717 * INSTALL: Regenerate.
718
719 2016-02-14 Jakub Jelinek <jakub@redhat.com>
720 Jonathan Wakely <jwakely@redhat.com>
721 Carlos O'Donell <carlos@redhat.com>
722
723 [BZ 19439]
724 * math/Makefile (tests): Add test-math-isinff.
725 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
726 * math/bits/mathcalls.h [__USE_MISC]: Use
727 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
728 functions not in C++11 and which don't conflict e.g. isinff,
729 isinfl etc.
730 * math/test-math-isinff.cc: New file.
731
732 2016-02-12 Florian Weimer <fweimer@redhat.com>
733
734 * misc/bug18240.c (do_test): Set RLIMIT_AS.
735
736 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
737
738 [BZ #19529]
739 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
740
741 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
742
743 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
744
745 2016-02-01 Joseph Myers <joseph@codesourcery.com>
746
747 [BZ #19550]
748 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
749 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
750 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
751 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
752 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
753 New syscall entry.
754 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
755 New syscall entry.
756 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
757 syscall entry.
758
759 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
760
761 [BZ #18240]
762 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
763 unsigned int wraparound.
764
765 2016-01-27 Florian Weimer <fweimer@redhat.com>
766
767 [BZ #18240]
768 * misc/bug18240.c: New test.
769 * misc/Makefile (tests): Add it.
770
771 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
772 Joseph Myers <joseph@codesourcery.com>
773
774 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
775 load in branch delay slot when less than a word of input left.
776
777 2016-01-27 Andreas Schwab <schwab@suse.de>
778
779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
780 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
781 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
782 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
783
784 2016-01-26 David S. Miller <davem@davemloft.net>
785
786 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
787
788 2016-01-25 David S. Miller <davem@davemloft.net>
789
790 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
791 __sqrtl_finite.
792 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
793 instead using versioned_symbol.
794 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
795 of entries.
796
797 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
798 __sqrtl_finite to GLIBC_2.23
799
800 2016-01-25 Ricchard Henderson <rth@redhat.com>
801
802 * sysdeps/alpha/fpu/libm-test-ulps: Update.
803
804 2016-01-25 Andreas Schwab <schwab@suse.de>
805
806 [BZ #17514]
807 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
808 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
809 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
810 * nptl/tst-mutex-errorcheck.c: New file.
811
812 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
813
814 [BZ #18560]
815 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
816 (IPCOP_semop): Likewise.
817 (IPCOP_semget): Likewise.
818 (IPCOP_semctl): Likewise.
819 (IPCOP_msgsnd): Likewise.
820 (IPCOP_msgrcv): Likewise.
821 (IPCOP_msgget): Likewise.
822 (IPCOP_msgctl): Likewise.
823 (IPCOP_shmat): Likewise.
824 (IPCOP_shmdt): Likewise.
825 (IPCOP_shmget): Likewise.
826 (IPCOP_shmctl): Likewise.
827
828 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
829
830 * string/tst-endian.c: Include <libc-internal.h>.
831 (do_test): Ignore tautological-compare warnings around
832 "htobeXX (beXXtoh (i)) != i" and
833 "htoleXX (leXXtoh (i)) != i" if-statements.
834
835 2016-01-24 David S. Miller <davem@davemloft.net>
836
837 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
838 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
839 alias.
840 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
841 __sqrtl_finite.
842
843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
844
845 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
846
847 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
848 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
849 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
850
851 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
852
853 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
854 (thread_func): Use new function to simplify barrier check.
855 (do_test): Use new function to simplify checking barrier exit
856 code, and actually join the child thread.
857
858 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
859
860 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
861 semicolon.
862 (__libc_tend): Likewise.
863 (__libc_tabort): Likewise.
864
865 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
866
867 * sysdeps/nios2/libm-test-ulps: Update.
868 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
869 (__gtsf2): Likewise.
870 (__unorddf2): Likewise.
871 (__unordsf2): Likewise.
872 (__ledf2): Likewise.
873
874 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
875
876 * nis/nis_table.c (__follow_path): Disable diagnostic for
877 uninitialized variable that is a false positive for gcc 4.7.
878 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
879
880 2016-01-20 Roland McGrath <roland@hack.frob.com>
881
882 * sysdeps/nacl/lowlevellock-futex.h
883 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
884 Always evaluate PRIVATE argument.
885
886 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
887
888 [BZ #19490]
889 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
890 (pthread_cond_broadcast): Use ENTRY/END
891 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
892 (pthread_cond_signal): Likewise.
893 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
894 Likewise.
895 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
896 Likewise.
897 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
898 Likewise.
899
900 2016-01-20 Joseph Myers <joseph@codesourcery.com>
901
902 * sysdeps/ieee754/dbl-64/s_finite.c
903 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
904 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
905 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
906 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
907 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
908
909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
910 (__gtsf2): Add as optional for libc.so.
911 (__unordsf2): Likewise.
912 (__signbit): Remove for libc.so.
913 (__signbitl): Likewise.
914
915 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
916
917 * iconvdata/bug-iconv11.c (test_ibm93x):
918 Use %zu printf format specifier for size_t argument.
919
920 2016-01-19 Joseph Myers <joseph@codesourcery.com>
921
922 * math/gen-libm-test.pl (parse_ulps): Do not reduce
923 already-recorded ulps.
924 * sysdeps/arm/libm-test-ulps: Regenerated.
925 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
926 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
927 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
928
929 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
930 Paul Pluzhnikov <ppluzhnikov@google.com>
931
932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
933 assembler not supporting AVX-512.
934
935 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
936
937 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
938
939 2016-01-18 Joseph Myers <joseph@codesourcery.com>
940
941 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
942 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
943
944 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
945
946 * sysdeps/arm/libm-test-ulps: Regenerated.
947
948 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
949
950 [BZ #19451]
951 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
952
953 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
954
955 [BZ #19486]
956 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
957 * sysdeps/generic/fix-fp-int-convert-overflow.h
958 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
959 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
960 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
961 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
962 Likewise.
963 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
964 Avoid conversions to long int where inexact exceptions
965 could be raised.
966 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
967 Likewise.
968 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
969 Avoid conversions to long long int where inexact exceptions
970 could be raised.
971 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
972 Likewise.
973
974 2016-01-17 Mike Frysinger <vapier@gentoo.org>
975
976 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
977 * configure: Regenerated.
978
979 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
980
981 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
982
983 2016-01-16 Mike Frysinger <vapier@gentoo.org>
984
985 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
986 outside of comment.
987
988 2016-01-15 Torvald Riegel <triegel@redhat.com>
989
990 * nptl/tst-barrier1.c: Add description on first line.
991 * nptl/tst-barrier2.c: Likewise.
992 * nptl/tst-barrier3.c: Likewise.
993 * nptl/tst-barrier4.c: Likewise.
994 * nptl/tst-barrier5.c: Likewise.
995
996 2016-01-15 Torvald Riegel <triegel@redhat.com>
997
998 [BZ #18868]
999 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1000
1001 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
1002
1003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1005 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1006 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1007 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1008 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1009 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1010 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1011 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1012 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1013 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1014
1015 2016-01-15 Torvald Riegel <triegel@redhat.com>
1016
1017 [BZ #13065]
1018 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1019 new implementation.
1020 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1021 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1022 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1023 (BARRIER_IN_THRESHOLD): New macro.
1024 * nptl/pthread_barrierattr_setpshared.c
1025 (pthread_barrierattr_setpshared): Clean up.
1026 * nptl/tst-barrier4.c: Correct comment.
1027 * nptl/tst-barrier5.c: New file.
1028 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1029 (gen-as-const-headers): Remove lowlevelbarrier.sym.
1030 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1031 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1032 * nptl/lowlevelbarrier.sym: Remove.
1033 * nptl/DESIGN-barrier.txt: Remove.
1034 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1035 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1036 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1037 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1038 error.
1039 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1040 implementation.
1041
1042 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1043
1044 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1045 (do_child): Mask SIGRTMIN while thr is running.
1046
1047 2016-01-15 Martin Sebor <msebor@redhat.com>
1048
1049 [BZ #19432]
1050 * iconvdata/Makefile: Add bug-iconv11.
1051 * iconvdata/bug-iconv11.c: New test.
1052 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1053 * iconvdata/ibm933.c: Same.
1054 * iconvdata/ibm935.c: Same.
1055 * iconvdata/ibm937.c: Same.
1056 * iconvdata/ibm939.c: Same.
1057
1058 2016-01-15 Martin Sebor <msebor@redhat.com>
1059
1060 [BZ #19443]
1061 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1062 [DEBUG] (_ufc_set_bits): Declare used.
1063 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1064 [DEBUG] (print_all): Declare used.
1065 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1066 operands of the ternary ?: expression to target type.
1067 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1068 calling the undeclared abort.
1069 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1070
1071 2016-01-15 Martin Sebor <msebor@redhat.com>
1072
1073 [BZ #18755]
1074 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1075 warnings.
1076 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1077 (__gai_create_helper_thread): Same.
1078 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1079 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1080 to suppress -Wmaybe-uninitialized warnings.
1081
1082 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 [BZ #19465]
1085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1086 inside if.
1087 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1088 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1090
1091 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 [BZ #19466]
1094 * time/tst-mktime2.c (time_t_max): Removed.
1095 (time_t_min): Likewise.
1096 (TYPE_SIGNED): New.
1097 (TYPE_MINIMUM): Likewise.
1098 (TYPE_MAXIMUM): Likewise.
1099 (TIME_T_MIN): Likewise.
1100 (TIME_T_MAX): Likewise.
1101 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1102 and TIME_T_MIN.
1103 (do_test): Likewise.
1104
1105 2016-01-14 Amit Pawar <amit.pawar@amd.com>
1106
1107 [BZ #19467]
1108 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1109 index_Fast_Unaligned_Load flag for Excavator family CPUs.
1110
1111 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
1112
1113 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1114
1115 2016-01-13 Carlos O'Donell <carlos@redhat.com>
1116
1117 * benchtests/Makefile (PYTHON): Define.
1118 (bench-func): Use $(PYTHON) to run python scripts.
1119 ($(objpfx)bench-%.c): Likewise.
1120
1121 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
1122
1123 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1124 leading slash when `file_name' is "/".
1125
1126 2016-01-12 Joseph Myers <joseph@codesourcery.com>
1127
1128 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1129 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1130 Likewise.
1131 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1132 Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1134 Likewise.
1135 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1136 enum constant and macro.
1137 (PTRACE_SETSIGMASK): Likewise.
1138 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1139 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1140 (PTRACE_GETSIGMASK): Likewise.
1141 (PTRACE_SETSIGMASK): Likewise.
1142 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1143 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1144 Likewise.
1145 (PTRACE_SETSIGMASK): Likewise.
1146 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1148 (PTRACE_GETSIGMASK): Likewise.
1149 (PTRACE_SETSIGMASK): Likewise.
1150 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1151 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1152 Likewise.
1153 (PTRACE_SETSIGMASK): Likewise.
1154 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1155 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1156 Likewise.
1157 (PTRACE_SETSIGMASK): Likewise.
1158 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1159 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1160 Likewise.
1161 (PTRACE_SETSIGMASK): Likewise.
1162 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1163
1164 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1165 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1166
1167 [BZ #19439]
1168 * math/bits/mathcalls.h
1169 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1170 prototype.
1171 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1172
1173 2016-01-11 Andreas Schwab <schwab@suse.de>
1174
1175 [BZ #19253]
1176 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1177 cache when TZDEFRULES was used.
1178 * time/tst-tzname.c: New file.
1179 * time/Makefile (test): Add tst-tzname.
1180 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1181 * timezone/Makefile (test-zones): Add $(posixrules-file).
1182 ($(testdata)/$(posixrules-file)): New rule.
1183
1184 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
1185
1186 Fix doc quoting problems with Texinfo 5
1187 Without this change, in the info file output, Texinfo 5 quotes code
1188 in text with undirected single quotes 'like this' and generates
1189 code examples that with many PDF readers cannot be cut out of PDFs
1190 and pasted into code.
1191 * manual/libc.texinfo: Configure the libc manual like the GNU
1192 Emacs manual, by using @documentencoding and setting
1193 txicodequoteundirected and txicodequotebacktick. This way,
1194 Texinfo 5 quotes code in text with directed single quotes ‘like
1195 this’ and produces examples that can be cut out of PDFs. This
1196 change causes Texinfo 5 to generate info files that contain UTF-8
1197 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1198 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1199
1200 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1201
1202 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1203 __libc_tabort, __libc_tend): New wrappers that enforce compiler
1204 barriers to their respective compiler built-ins.
1205 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1206 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1207 * sysdeps/powerpc/sysdep.h: Likewise.
1208 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1209 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1210 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1211
1212 2016-01-08 Marko Myllynen <myllynen@redhat.com>
1213
1214 * scripts/config.guess: Revert previous shebang change.
1215 * scripts/config.sub: Likewise.
1216 * scripts/mkinstalldirs: Likewise.
1217
1218 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1219
1220 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1221 PPC_FEATURE2_HAS_IEEE128.
1222 * sysdeps/powerpc/dl-procinfo.c:
1223 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1224
1225 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
1226
1227 [BZ #19415]
1228 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1229 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
1230 (_dl_lookup_address): Rewrite using function resolver trampoline.
1231 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1232 two bits in address.
1233
1234 2016-01-07 Mike Frysinger <vapier@gentoo.org>
1235
1236 * longlong.h: Change !__SHMEDIA__ to
1237 (!defined (__SHMEDIA__) || !__SHMEDIA__).
1238 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1239
1240 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
1241 Joseph Myers <joseph@codesourcery.com>
1242 Mark Shinwell <shinwell@codesourcery.com>
1243 Andrew Stubbs <ams@codesourcery.com>
1244 Rich Felker <dalias@libc.org>
1245
1246 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1247
1248 2016-01-07 Richard Henderson <rth@redhat.com>
1249
1250 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1251
1252 2016-01-07 Mike Frysinger <vapier@gentoo.org>
1253
1254 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1255 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1256 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1257 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1258 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1259
1260 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
1261 Joseph Myers <joseph@codesourcery.com>
1262
1263 * timezone/private.h: Update from tzcode 2015g.
1264 * timezone/tzfile.h: Likewise.
1265 * timezone/tzselect.ksh: Likewise.
1266 * timezone/zdump.c: Likewise.
1267 * timezone/zic.c: Likewise.
1268 * timezone/ialloc.c: Remove file.
1269 * timezone/scheck.c: Likewise.
1270 * timezone/Makefile (extra-objs): Remove variable.
1271 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1272 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1273 -Wno-maybe-uninitialized.
1274 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1275 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1276 (CFLAGS-ialloc.c): Remove variable.
1277 (CFLAGS-scheck.c): Likewise.
1278 * timezone/README: Update list of files from tzcode.
1279
1280 2016-01-07 Khem Raj <raj.khem@gmail.com>
1281
1282 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1283 instead of __fxprintf when _LIBC is undefined.
1284
1285 2016-01-07 Marko Myllynen <myllynen@redhat.com>
1286
1287 * catgets/test-gencat.sh: Remove space after shebang.
1288 * conform/GlibcConform.pm: Likewise.
1289 * conform/check-header-lists.sh: Likewise.
1290 * conform/conformtest.pl: Likewise.
1291 * conform/linknamespace.pl: Likewise.
1292 * conform/list-header-symbols.pl: Likewise.
1293 * debug/catchsegv.sh: Likewise.
1294 * elf/genrtldtbl.awk: Likewise.
1295 * elf/tst-pathopt.sh: Likewise.
1296 * elf/tst-rtld-load-self.sh: Likewise.
1297 * grp/tst_fgetgrent.sh: Likewise.
1298 * iconvdata/gen-8bit-gap-1.sh: Likewise.
1299 * iconvdata/gen-8bit-gap.sh: Likewise.
1300 * iconvdata/gen-8bit.sh: Likewise.
1301 * iconvdata/run-iconv-test.sh: Likewise.
1302 * intl/tst-gettext.sh: Likewise.
1303 * intl/tst-gettext2.sh: Likewise.
1304 * intl/tst-gettext4.sh: Likewise.
1305 * intl/tst-gettext6.sh: Likewise.
1306 * intl/tst-translit.sh: Likewise.
1307 * io/ftwtest-sh: Likewise.
1308 * libio/test-freopen.sh: Likewise.
1309 * locale/gen-translit.pl: Likewise.
1310 * malloc/tst-mtrace.sh: Likewise.
1311 * manual/check-safety.sh: Likewise.
1312 * manual/libc-texinfo.sh: Likewise.
1313 * manual/tsort.awk: Likewise.
1314 * manual/xtract-typefun.awk: Likewise.
1315 * nptl/tst-cancel-wrappers.sh: Likewise.
1316 * nptl/tst-tls6.sh: Likewise.
1317 * posix/globtest.sh: Likewise.
1318 * posix/tst-getconf.sh: Likewise.
1319 * posix/wordexp-tst.sh: Likewise.
1320 * scripts/check-c++-types.sh: Likewise.
1321 * scripts/check-local-headers.sh: Likewise.
1322 * scripts/config.guess: Likewise.
1323 * scripts/config.sub: Likewise.
1324 * scripts/cpp: Likewise.
1325 * scripts/cross-test-ssh.sh: Likewise.
1326 * scripts/documented.sh: Likewise.
1327 * scripts/evaluate-test.sh: Likewise.
1328 * scripts/gen-libc-abis: Likewise.
1329 * scripts/gen-sorted.awk: Likewise.
1330 * scripts/list-fixed-bugs.py: Likewise.
1331 * scripts/merge-test-results.sh: Likewise.
1332 * scripts/mkinstalldirs: Likewise.
1333 * scripts/rellns-sh: Likewise.
1334 * scripts/test-installation.pl: Likewise.
1335 * scripts/update-copyrights: Likewise.
1336 * stdio-common/tst-printf.sh: Likewise.
1337 * stdio-common/tst-unbputc.sh: Likewise.
1338 * stdlib/tst-fmtmsg.sh: Likewise.
1339 * stdlib/tst-setcontext3.sh: Likewise.
1340 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1341 * sysdeps/unix/make-syscalls.sh: Likewise.
1342
1343 2016-01-06 John David Anglin <dave.anglin@bell.net>
1344
1345 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1346 asm stw with atomic_exchange_rel. Add explanatory comment.
1347 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1348 Likewise.
1349
1350 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
1351
1352 [BZ #19122]
1353 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1354 * sysdeps/generic/dl-unistd.h: New file.
1355 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1356
1357 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 [BZ #19122]
1360 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1361 * sysdeps/generic/dl-mman.h: New file.
1362 * sysdeps/mach/hurd/dl-mman.h: Likewise.
1363
1364 2016-01-05 Joseph Myers <joseph@codesourcery.com>
1365
1366 * manual/texinfo.tex: Update to version 2016-01-04.21 with
1367 trailing whitespace removed.
1368 * scripts/config.guess: Update to version 2016-01-01.
1369 * scripts/config.sub: Update to version 2016-01-01.
1370 * scripts/move-if-change: Update from gnulib.
1371
1372 2016-01-04 Anton Blanchard <anton@samba.org>
1373
1374 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1375 for array indices.
1376 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1377
1378 2016-01-04 Joseph Myers <joseph@codesourcery.com>
1379
1380 * NEWS: Update copyright dates.
1381 * catgets/gencat.c (print_version): Likewise.
1382 * csu/version.c (banner): Likewise.
1383 * debug/catchsegv.sh: Likewise.
1384 * debug/pcprofiledump.c (print_version): Likewise.
1385 * debug/xtrace.sh (do_version): Likewise.
1386 * elf/ldconfig.c (print_version): Likewise.
1387 * elf/ldd.bash.in: Likewise.
1388 * elf/pldd.c (print_version): Likewise.
1389 * elf/sotruss.sh: Likewise.
1390 * elf/sprof.c (print_version): Likewise.
1391 * iconv/iconv_prog.c (print_version): Likewise.
1392 * iconv/iconvconfig.c (print_version): Likewise.
1393 * locale/programs/locale.c (print_version): Likewise.
1394 * locale/programs/localedef.c (print_version): Likewise.
1395 * login/programs/pt_chown.c (print_version): Likewise.
1396 * malloc/memusage.sh (do_version): Likewise.
1397 * malloc/memusagestat.c (print_version): Likewise.
1398 * malloc/mtrace.pl: Likewise.
1399 * manual/libc.texinfo: Likewise.
1400 * nptl/version.c (banner): Likewise.
1401 * nscd/nscd.c (print_version): Likewise.
1402 * nss/getent.c (print_version): Likewise.
1403 * nss/makedb.c (print_version): Likewise.
1404 * posix/getconf.c (main): Likewise.
1405 * scripts/test-installation.pl: Likewise.
1406 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1407
1408 * All files with FSF copyright notices: Update copyright dates
1409 using scripts/update-copyrights.
1410 * intl/plural.c: Regenerated.
1411 * locale/programs/charmap-kw.h: Likewise.
1412 * locale/programs/locfile-kw.h: Likewise.
1413
1414 2016-01-02 Helge Deller <deller@gmx.de>
1415
1416 [BZ #19285]
1417 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1418 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1419 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1420 (MADV_xxK_PAGES): Remove.
1421
1422 2016-01-01 Mike Frysinger <vapier@gentoo.org>
1423
1424 [BZ #15421]
1425 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1426 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
1427 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1428 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1429
1430 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
1431
1432 [BZ #19408]
1433 * sysdeps/unix/sysv/linux/personality.c: New file.
1434 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1435 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1436 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1437 (sysdep_routines): Add personality.
1438 (tests): Add tst-personality.
1439 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1441 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1442 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1443 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1444 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1445 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1446 Likewise.
1447 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1448 Likewise.
1449 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1450 Likewise.
1451 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1452 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1453 Likewise.
1454
1455 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
1456
1457 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1458 (PATH_ARM_SYSTYPE): Remove.
1459 (PATH_CPUINFO): Likewise.
1460 (IO_BASE_FOOTBRIDGE): Likewise.
1461 (IO_SHIFT_FOOTBRIDGE): Likewise.
1462 (struct platform): Likewise.
1463 (init_iosys): Remove compatibility code for 2.4 kernels.
1464 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1465
1466 2015-12-29 Florian Weimer <fweimer@redhat.com>
1467
1468 * malloc/tst-malloc-thread-fail.c: New file.
1469 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1470 (tst-malloc-thread-fail): Link against libpthread.
1471
1472 2015-12-29 Mike Frysinger <vapier@gentoo.org>
1473
1474 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
1475 (get_parser): New function.
1476 (main): New function.
1477
1478 2015-12-29 Rob Wu <rob@robwu.nl>
1479
1480 [BZ #19369]
1481 * resolv/res_init.c (__res_vinit): Reset defdname before use.
1482
1483 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
1484
1485 [BZ #19270]
1486 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1487
1488 2015-12-28 Mike Frysinger <vapier@gentoo.org>
1489
1490 [BZ #15421]
1491 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1492
1493 2015-12-23 Torvald Riegel <triegel@redhat.com>
1494
1495 [BZ #13690]
1496 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1497 after releasing it.
1498 (__lll_robust_unlock): Likewise.
1499 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1500 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1501 (lll_robust_unlock): Likewise.
1502 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1503 Prevent warnings in callers.
1504
1505 2015-12-23 Florian Weimer <fweimer@redhat.com>
1506
1507 * malloc/arena.c (list_lock): Update comment.
1508
1509 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1510
1511 * sysdeps/powerpc/hwcapinfo.c: Export symbol
1512 __parse_hwcap_and_convert_at_platform to libc.a.
1513
1514 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1515
1516 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1517 platform and feature support for POWER9.
1518 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1519 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1520 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1521 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1522 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1523 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1524 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1525 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1526
1527 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1528
1529 Harmonize generic stdio-lock support with nptl
1530
1531 This fixes build when _IO_funlockfile is a macro, fixes build where
1532 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1533 stack unwind.
1534
1535 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1536 _IO_release_lock ): Use cleanup attribute on new
1537 _IO_acquire_lock_file variable instead of assuming that
1538 _IO_release_lock will be called.
1539 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1540 _IO_acquire_lock_needs_exceptions_enabled.
1541 (_IO_acquire_lock_clear_flags2): New macro.
1542
1543 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1544
1545 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1546
1547 2015-12-21 Florian Weimer <fweimer@redhat.com>
1548
1549 [BZ #19182]
1550 * malloc/arena.c (list_lock): Document lock ordering requirements.
1551 (free_list_lock): New lock.
1552 (ptmalloc_lock_all): Comment on free_list_lock.
1553 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1554 (detach_arena): Update comment. free_list_lock is now needed.
1555 (_int_new_arena): Use free_list_lock around detach_arena call.
1556 Acquire arena lock after list_lock. Add comment, including FIXME
1557 about incorrect synchronization.
1558 (get_free_list): Switch to free_list_lock.
1559 (reused_arena): Acquire free_list_lock around detach_arena call
1560 and attached threads counter update. Add two FIXMEs about
1561 incorrect synchronization.
1562 (arena_thread_freeres): Switch to free_list_lock.
1563 * malloc/malloc.c (struct malloc_state): Update comments to
1564 mention free_list_lock.
1565
1566 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
1567
1568 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1569 Remove functions.
1570 (sloww, sloww1): Accept argument to offset quadrant.
1571 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1572 quadrant.
1573 (__sin, __cos): Consolidate common code into new functions.
1574 (reduce_sincos_1, do_sincos_1): New functions.
1575 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1576
1577 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1578 code to new functions.
1579 (reduce_sincos_2, do_sincos_2): New functions.
1580 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1581
1582 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1583 common code for sincos.
1584 (__cos) [!IN_SINCOS]: Likewise.
1585 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1586 New function.
1587 (__sincos): Use it.
1588
1589 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
1590
1591 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1592 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1593 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1594
1595 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
1596
1597 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1600 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1601 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1602 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1603 index_Prefer_No_VZEROUPPER): New feature.
1604 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1605 Prefer_No_VZEROUPPER for Knights Landing.
1606
1607 015-12-18 Torvald Riegel <triegel@redhat.com>
1608
1609 * math/atest-exp2.c (mp_exp_m1): Remove.
1610
1611 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1612
1613 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1614 syscalls.
1615 (__SYSCALL0): New macro.
1616 (__SYSCALL1): Likewise.
1617 (__SYSCALL2): Likewise.
1618 (__SYSCALL3): Likewise.
1619 (__SYSCALL4): Likewise.
1620 (__SYSCALL5): Likewise.
1621 (__SYSCALL6): Likewise.
1622 (__SYSCALL_CONCAT_X): Likewise.
1623 (__SYSCALL_CONCAT): Likewise.
1624 (__SYSCALL_DIST): Likewise.
1625 (__SYSCALL_CALL): Likewise.
1626
1627 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
1628
1629 [BZ #19363]
1630 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1631
1632 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1633
1634 [BZ #19375]
1635 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1636 negative subnormals.
1637
1638 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1641 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1642 (INTERNAL_SYSCALL_NCS): Use it.
1643 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1644
1645 2015-12-16 Florian Weimer <fweimer@redhat.com>
1646
1647 [BZ #19243]
1648 * malloc/arena.c (get_free_list): Remove assert and adjust
1649 reference count handling. Add comment about reused_arena
1650 interaction.
1651 (reused_arena): Add comments abount get_free_list interaction.
1652 * malloc/tst-malloc-thread-exit.c: New file.
1653 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1654 (tst-malloc-thread-exit): Link against libpthread.
1655
1656 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
1657
1658 [BZ #19367]
1659 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1660 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1661 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1662 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1663 (index_Prefer_MAP_32BIT_EXEC): Likewise.
1664
1665 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1668 Silvermont optimizations for Knights Landing.
1669
1670 2015-12-15 Andreas Schwab <schwab@suse.de>
1671
1672 [BZ #17197]
1673 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1674 immediately after emitting SI.
1675 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1676 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1677 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1678 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1679 * iconvdata/bug-iconv10.c: New file.
1680 * iconvdata/Makefile (tests): Add bug-iconv10.
1681 ($(objpfx)bug-iconv10.out): New rule.
1682
1683 2015-12-15 Florian Weimer <fweimer@redhat.com>
1684
1685 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1686 aliasing violation.
1687
1688 2015-12-14 Joseph Myers <joseph@codesourcery.com>
1689
1690 [BZ #18472]
1691 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1692 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1693 conditionals for them.
1694 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1695 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1697 sys/kdaemon.h.
1698 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1699 compat-only syscall, obsoleted in glibc 2.23.
1700 (create_module): Likewise.
1701 (get_kernel_syms): Likewise.
1702 (query_module): Likewise.
1703 (uselib): Likewise.
1704 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1705
1706 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
1707
1708 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1709 <linux/version.h>.
1710 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1711 conditional code.
1712 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1713 and ioshift_name initialization.
1714
1715 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1716
1717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1718 Fix indentation.
1719
1720 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1721
1722 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1723
1724 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1725
1726 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1727
1728 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
1729 Jakub Wilk <jwilk@debian.org>
1730
1731 [BZ #19347]
1732 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1733 to change the group of the device to the tty group.
1734
1735 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
1736
1737 Split large string section; add truncation advice
1738 * manual/examples/strncat.c: Remove.
1739 This example was misleading, as the code would have undefined
1740 behavior if "hello" was longer than SIZE. Anyway, the manual
1741 shouldn't encourage strncpy+strncat for this sort of thing.
1742 * manual/string.texi (Copying Strings and Arrays): Split into
1743 three sections Copying Strings and Arrays, Concatenating Strings,
1744 and Truncating Strings, as this section was way too long. All
1745 cross-referenced changed. Add advice about string-truncation
1746 functions. Remove misleading strncat example.
1747
1748 2015-12-10 Carlos O'Donell <carlos@redhat.com>
1749
1750 * manual/nss.texi (NSS Modules Interface): Document
1751 NSS_STATUS_NOTFOUND and SUCCESS.
1752
1753 2015-12-09 Mike FABIAN <mfabian@redhat.com>
1754
1755 [BZ 18568]
1756 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1757 201505L, for Unicode 8.
1758
1759 2015-12-09 Carlos O'Donell <carlos@redhat.com>
1760
1761 * locale/C-translit.h: Regenerate.
1762
1763 2015-12-09 Mike FABIAN <mfabian@redhat.com>
1764
1765 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1766 and U+0153.
1767
1768 2015-12-09 Joseph Myers <joseph@codesourcery.com>
1769
1770 [BZ #19351]
1771 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1772 expanding log(1+z), compare z rather than its square with epsilon
1773 to determine when to avoid evaluating the expansion.
1774
1775 [BZ #19350]
1776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1777 Increase overflow threshold.
1778
1779 [BZ #19349]
1780 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1781 when small.
1782
1783 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1784 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1785 New macro.
1786 [__LINUX_KERNEL_VERSION >= 0x040300]
1787 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1788 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1789 Likewise.
1790 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1791 Likewise.
1792 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1793 Likewise.
1794 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1795 Likewise.
1796 [__LINUX_KERNEL_VERSION >= 0x040300]
1797 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1798 [__LINUX_KERNEL_VERSION >= 0x040300]
1799 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1800 [__LINUX_KERNEL_VERSION >= 0x040300]
1801 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1802 [__LINUX_KERNEL_VERSION >= 0x040300]
1803 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1804 [__LINUX_KERNEL_VERSION >= 0x040300]
1805 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1806 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1807 Likewise.
1808 [__LINUX_KERNEL_VERSION >= 0x040300]
1809 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1810 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1811 Likewise.
1812 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1813 Likewise.
1814 [__LINUX_KERNEL_VERSION >= 0x040300]
1815 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1816 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1817 Likewise.
1818 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1819 Likewise.
1820 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1821 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1822 Likewise.
1823 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1824 Likewise.
1825 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1826 Likewise.
1827 [__LINUX_KERNEL_VERSION >= 0x040300]
1828 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1829 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1830 Likewise.
1831 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1832 Likewise.
1833 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1834 Likewise.
1835 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1836 Likewise.
1837 [__LINUX_KERNEL_VERSION >= 0x040300]
1838 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1839 [__LINUX_KERNEL_VERSION >= 0x040300]
1840 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1841 [__LINUX_KERNEL_VERSION >= 0x040300]
1842 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1843 [__LINUX_KERNEL_VERSION >= 0x040300]
1844 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1845 [__LINUX_KERNEL_VERSION >= 0x040300]
1846 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1847 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1848 Likewise.
1849 [__LINUX_KERNEL_VERSION >= 0x040300]
1850 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1851 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1852 Likewise.
1853 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1854 Likewise.
1855 [__LINUX_KERNEL_VERSION >= 0x040300]
1856 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1857 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1858 Likewise.
1859 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1860 Likewise.
1861 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1862 (__ASSUME_SOCKET_SYSCALL): Likewise.
1863 (__ASSUME_BIND_SYSCALL): Likewise.
1864 (__ASSUME_CONNECT_SYSCALL): Likewise.
1865 (__ASSUME_LISTEN_SYSCALL): Likewise.
1866 (__ASSUME_ACCEPT_SYSCALL): Likewise.
1867 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1868 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1869 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1870 (__ASSUME_SEND_SYSCALL): Likewise.
1871 (__ASSUME_SENDTO_SYSCALL): Likewise.
1872 (__ASSUME_RECV_SYSCALL): Likewise.
1873 (__ASSUME_RECVFROM_SYSCALL): Likewise.
1874 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1875 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1876 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1877 (__ASSUME_SENDMSG_SYSCALL): Likewise.
1878 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1879 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1880 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1881 Likewise.
1882 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1883 Likewise.
1884 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1885 Likewise.
1886 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1887 Likewise.
1888 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1889 Likewise.
1890 [__LINUX_KERNEL_VERSION >= 0x020625]
1891 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1892 [__LINUX_KERNEL_VERSION >= 0x020625]
1893 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1894 [__LINUX_KERNEL_VERSION >= 0x020625]
1895 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1896 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1897 Likewise.
1898 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1899 Likewise.
1900 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1901 Likewise.
1902 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1903 Likewise.
1904 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1905 Likewise.
1906 [__LINUX_KERNEL_VERSION >= 0x020625]
1907 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1908 [__LINUX_KERNEL_VERSION >= 0x020625]
1909 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1910 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1911 Likewise.
1912 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1913 Likewise.
1914
1915 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
1916
1917 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1918 record the current if the current ABI and CPU support the FP64
1919 extension.
1920 (has-modd-spreg): Define to record the current if the current ABI and
1921 CPU support 32-bit floating point values in odd FPU registers.
1922 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1923 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1924 $(has-modd-spreg) equals yes.
1925 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1926 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1927 $(has-modd-spreg) equal yes.
1928
1929 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
1930
1931 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1932 basename.
1933
1934 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
1935
1936 * benchtests/Makefile (bench-math): Move ffs and ffsll...
1937 (bench-string): ... here.
1938 (bench): Add bench-string.
1939 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1940 to *-benchset to reflect what they are.
1941 (benchset): Adjust.
1942
1943 * benchtests/sincos-inputs: Add inputs from sin-inputs and
1944 cos-inputs.
1945
1946 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
1947
1948 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1949 __attribute__ ((__simd__)) for vector math function declarations.
1950
1951 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
1952
1953 Fix typo in strncat, wcsncat manual entries
1954 * manual/string.texi (Copying and Concatenation): Fix typos in
1955 sample implementations of strncat and wcsncat, by having them use
1956 the old value of the destination length, not the new one.
1957
1958 2015-12-04 Joseph Myers <joseph@codesourcery.com>
1959
1960 [BZ #16961]
1961 [BZ #16962]
1962 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1963 string on the stack for strtod.
1964 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1965 a string on the stack for strtof.
1966 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1967 constructing a string on the stack for strtold.
1968 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1969 __strtold_nan to GLIBC_PRIVATE.
1970 * math/test-nan-overflow.c: New file.
1971 * math/test-nan-payload.c: Likewise.
1972 * math/Makefile (tests): Add test-nan-overflow and
1973 test-nan-payload.
1974
1975 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
1976
1977 Consistency about byte vs character in string.texi
1978 * manual/string.texi (String and Array Utilities):
1979 Distinguish more carefully among bytes, multibyte characters,
1980 and wide characters. Use "byte" when talking about C 'char',
1981 to distinguish it more clearly from multibyte characters.
1982 Say "wide character" or "multibyte character" instead of
1983 "character", when a wide or multibyte character is intended.
1984 Similarly for "multibyte string" versus "string".
1985 Define these terms more carefully.
1986
1987 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
1988
1989 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1990 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1991 Likewise.
1992 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1993 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1994 * sysdeps/sh/math_private.h: New file.
1995 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1996 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1997 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1998 long double function name.
1999 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2000 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2001 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2005 Remove __finitel, __isinfl, and __isnanl.
2006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2007 Likewise.
2008 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2010 Remove __finitel.
2011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2012 Likewise.
2013 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2014
2015 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
2016
2017 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2018 installed libmvec_nonshared.a.
2019
2020 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2021
2022 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2023 (sysdep_routines): Likewise.
2024 (sysdep-rtld-routines): Likewise.
2025 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2026 [$(subdir) = nptl](tests-static): test-get_hwcap-static
2027 * sysdeps/powerpc/Versions: Added new
2028 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2029 * sysdeps/powerpc/hwcapinfo.c: New file.
2030 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2031 and parse hwcap, hwcap2 and platform number information.
2032 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
2033 to store HWCAP+HWCAP2 and platform number.
2034 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2035 for HWCAP+HWCAP2 and platform number in the TCB.
2036 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
2037 the HWCAP, HWCAP2 and platform number in the TCB.
2038 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2039 (TLS_INIT_TP): Included calls to add the hwcap and
2040 at_platform values in the TCB in TP initialization.
2041 (TLS_DEFINE_INIT_TP): Likewise.
2042 (THREAD_GET_HWCAP): New macro.
2043 (THREAD_SET_HWCAP): Likewise.
2044 (THREAD_GET_AT_PLATFORM): Likewise.
2045 (THREAD_SET_AT_PLATFORM): Likewise.
2046 * sysdeps/powerpc/powerpc32/dl-machine.h:
2047 (dl_platform_init): New function that calls
2048 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2049 powerpc32.
2050 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2051 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
2052 this functionality, static linking case.
2053 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
2054 linking case.
2055 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2056 __parse_hwcap_and_convert_at_platform for the static linking case.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2058 Included the new __parse_hwcap_and_convert_at_platform symbol in the
2059 ABI list for GLIBC 2.23.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2063 Likewise.
2064
2065 2015-12-02 Ludovic Courtès <ludo@gnu.org>
2066
2067 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2068 * configure: Regenerate.
2069 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2070 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
2071
2072 2015-12-02 Carlos O'Donell <carlos@redhat.com>
2073
2074 * iconvdata/ibm930.c: Add comment explaining encoding uses.
2075 * iconvdata/ibm933.c: Likewise.
2076 * iconvdata/ibm935.c: Likewise.
2077 * iconvdata/ibm937.c: Likewise.
2078 * iconvdata/ibm939.c: Likewise.
2079
2080 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2081
2082 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2083 pthread_join.
2084 * nptl/tst-cancel21.c (tf): Likewise.
2085
2086 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 [BZ #19313]
2089 * bits/typesizes.h (__CPU_MASK_TYPE): New.
2090 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2091 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2092 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2093 Likewise.
2094 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2095 Likewise.
2096 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2097 Likewise.
2098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2099 Likewise.
2100 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2101 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2102 unsigned long int with __CPU_MASK_TYPE.
2103
2104 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2105
2106 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2107
2108 2015-12-01 Joseph Myers <joseph@codesourcery.com>
2109
2110 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2111 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2112 t512.x.
2113 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2114
2115 2015-11-30 Amit Pawar <amit.pawar@amd.com>
2116
2117 [BZ #19214]
2118 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2119 argument to return extended model. Update family and model
2120 with extended family and model when family == 0x0f.
2121 (init_cpu_features): Updated.
2122
2123 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2124
2125 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2126 signed off_t, so 32bit bigger than 2GiB values are fine actually.
2127
2128 * sysdeps/mach/hurd/mmap64.c: New file.
2129
2130 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
2131
2132 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2133 rights for its main user thread in NEWTASK.
2134
2135 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
2136
2137 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2138 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2139
2140 2015-11-27 Carlos O'Donell <carlos@redhat.com>
2141
2142 [BZ #14259]
2143 * Makeconfig: Rename localedir to complocaledir.
2144 Rename inst_localedir to inst_complocaledir.
2145 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2146 * config.make.in: Use complocaledir and libc_cv_complocaledir.
2147 * configure.ac: Use libc_cv_complocaledir.
2148 * configure: Regenerate.
2149 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2150 -DCOMPLOCALEDIR.
2151 * locale/findlocale.c: Use COMPLOCALEDIR.
2152 * locale/loadarchive.c: Likewise.
2153 * locale/programs/locale.c: Likewise.
2154 * locale/programs/localedef.c: Likewise.
2155 * locale/programs/locarchive.c: Likewise.
2156 * localedata/Makefile: Use inst_complocaledir.
2157 * sysdeps/gnu/configure: Regenerate.
2158 * sysdeps/hppa/configure: Regenerate.
2159 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2160 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2162 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2163 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2164 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2165 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2166
2167 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
2168
2169 [BZ #19058]
2170 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2171 AS_NEEDED.
2172 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2173 workaround.
2174 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2175 libmvec-static-only-routines): Added new file.
2176 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2177
2178 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2179
2180 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2181 of interrupted RPC instead of restoring it.
2182
2183 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2184 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2185 libc_hidden_def.
2186 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2187 into initialized data instead of common. Define rtld_hidden_data_def.
2188 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2189 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2190 libc_hidden_def.
2191 (if_freenameindex): Add libc_hidden_weak.
2192 (if_nameindex): Add libc_hidden_weak.
2193 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2194 __open64.
2195 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2196 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2197 * sysdeps/mach/nanosleep.c: Include <time.h>
2198 (__nanosleep): Rename to __libc_nanosleep.
2199 (__nanosleep): Add weak_alias.
2200 (nanosleep): Update alias.
2201
2202 2015-11-24 Joseph Myers <joseph@codesourcery.com>
2203
2204 * stdlib/strtod_nan.c: New file.
2205 * stdlib/strtod_nan_double.h: Likewise.
2206 * stdlib/strtod_nan_float.h: Likewise.
2207 * stdlib/strtod_nan_main.c: Likewise.
2208 * stdlib/strtod_nan_narrow.h: Likewise.
2209 * stdlib/strtod_nan_wide.h: Likewise.
2210 * stdlib/strtof_nan.c: Likewise.
2211 * stdlib/strtold_nan.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2213 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2214 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2215 * wcsmbs/wcstod_nan.c: Likewise.
2216 * wcsmbs/wcstof_nan.c: Likewise.
2217 * wcsmbs/wcstold_nan.c: Likewise.
2218 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2219 strtold_nan.
2220 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2221 wcstof_nan.
2222 * include/stdlib.h (__strtof_nan): Declare and use
2223 libc_hidden_proto.
2224 (__strtod_nan): Likewise.
2225 (__strtold_nan): Likewise.
2226 (__wcstof_nan): Likewise.
2227 (__wcstod_nan): Likewise.
2228 (__wcstold_nan): Likewise.
2229 * include/wchar.h (____wcstoull_l_internal): Declare.
2230 * stdlib/strtod_l.c: Do not include <ieee754.h>.
2231 (____strtoull_l_internal): Remove declaration.
2232 (STRTOF_NAN): Define macro.
2233 (SET_MANTISSA): Remove macro.
2234 (STRTOULL): Likewise.
2235 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2236 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2237 (STRTOF_NAN): Define macro.
2238 (SET_MANTISSA): Remove macro.
2239 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2240 (SET_MANTISSA): Remove macro.
2241 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2242 macro.
2243 (SET_MANTISSA): Remove macro.
2244 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2245 macro.
2246 (SET_MANTISSA): Remove macro.
2247 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2248 (SET_MANTISSA): Remove macro.
2249 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2250 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2251 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2252
2253 [BZ #19266]
2254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2255 upper case and lower case letters inside NAN(), not using TOLOWER.
2256 * stdlib/tst-strtod-nan-locale-main.c: New file.
2257 * stdlib/tst-strtod-nan-locale.c: Likewise.
2258 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2259 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2260 Depend on $(gen-locales).
2261 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2262 * wcsmbs/tst-wcstod-nan-locale.c: New file.
2263 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2264 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2265 Depend on $(gen-locales).
2266 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2267
2268 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
2269
2270 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2271
2272 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2274 __finitel, __isinfl, and __isnanl.
2275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2276 Likewise.
2277 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2279 __finitel.
2280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2281 Likewise.
2282 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2283
2284 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2285
2286 * malloc/memusage.c (me): Remove redundant getenv call.
2287
2288 2015-10-24 Florian Weimer <fweimer@redhat.com>
2289
2290 [BZ #19143]
2291 [BZ #19164]
2292 * nptl/check-cpuset.h: Remove.
2293 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2294 Remove CPU set size check.
2295 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2296 Likewise.
2297 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2298 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2299 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2300 (__pthread_setaffinity_new): Remove CPU set size check.
2301 * sysdeps/unix/sysv/linux/sched_setaffinity.c
2302 (__kernel_cpumask_size): Remove.
2303 (__sched_setaffinity_new): Remove CPU set size check.
2304 * manual/threads.texi (Default Thread Attributes): Remove stale
2305 reference to check_cpuset_attr, determine_cpumask_size in comment.
2306 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2307 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
2308 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2309 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2310 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2311 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2312 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2313 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2314 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2315 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2316 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2317 skeleton test file.
2318 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
2319 tst-affinity-pid.
2320
2321 2015-11-24 Florian Weimer <fweimer@redhat.com>
2322
2323 * scripts/update-abilist.sh: New file.
2324 * Makefile (+subdir_targets): Add subdir_update-all-abi.
2325 * Makerules (update-all-abi-%, update-all-abi)
2326 (subdir_update-all-abi): New targets.
2327 * elf/Makefile (update-all-abi): New target.
2328
2329 2015-11-24 Florian Weimer <fweimer@redhat.com>
2330
2331 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2332 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2333 (__libc_lock_define_initialized): Use it.
2334 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2335 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2336 * malloc/malloc.c (main_arena): Likewise.
2337 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2338 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2339
2340 2015-11-23 Joseph Myers <joseph@codesourcery.com>
2341
2342 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2343 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2344 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2345 (PTRACE_O_MASK): Update value.
2346 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2347 New value in enum __ptrace_setoptions.
2348 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2349 (PTRACE_O_MASK): Update value.
2350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2351 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2352 (PTRACE_O_MASK): Update value.
2353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2354 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2355 (PTRACE_O_MASK): Update value.
2356 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2357 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2358 (PTRACE_O_MASK): Update value.
2359 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2360 New value in enum __ptrace_setoptions.
2361 (PTRACE_O_MASK): Update value.
2362 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2363 New value in enum __ptrace_setoptions.
2364 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2365 (PTRACE_O_MASK): Update value.
2366
2367 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2368 New macro.
2369 (PACKET_AUXDATA): Likewise.
2370 (PACKET_ORIGDEV): Likewise.
2371 (PACKET_VERSION): Likewise.
2372 (PACKET_HDRLEN): Likewise.
2373 (PACKET_RESERVE): Likewise.
2374 (PACKET_TX_RING): Likewise.
2375 (PACKET_LOSS): Likewise.
2376 (PACKET_VNET_HDR): Likewise.
2377 (PACKET_TX_TIMESTAMP): Likewise.
2378 (PACKET_TIMESTAMP): Likewise.
2379 (PACKET_FANOUT): Likewise.
2380 (PACKET_TX_HAS_OFF): Likewise.
2381 (PACKET_QDISC_BYPASS): Likewise.
2382 (PACKET_ROLLOVER_STATS): Likewise.
2383 (PACKET_FANOUT_DATA): Likewise.
2384 (PACKET_MR_UNICAST): Likewise.
2385
2386 [BZ #19242]
2387 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2388 (TOUPPER): Likewise.
2389 * stdlib/tst-strtol-locale-main.c: New file.
2390 * stdlib/tst-strtol-locale.c: Likewise.
2391 * stdlib/Makefile (tests): Add tst-strtol-locale.
2392 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2393 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2394 Depend on $(gen-locales).
2395 * wcsmbs/tst-wcstol-locale.c: New file.
2396 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2397 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2398 tr_TR.ISO-8859-9.
2399 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2400 Depend on $(gen-locales).
2401
2402 2015-11-20 Roland McGrath <roland@hack.frob.com>
2403
2404 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2405 __glibc_likely instead of __builtin_expect. After falling back to
2406 dyncode_create in a non-ET_DYN case, use the allocate_code_data
2407 system interface to register the code pages as occupied.
2408
2409 2015-11-20 Joseph Myers <joseph@codesourcery.com>
2410
2411 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2412 [!ARM_MATH_PRIVATE_H].
2413 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2414 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2415 [!HPPA_MATH_PRIVATE_H].
2416 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2417 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2418 to [!I386_MATH_PRIVATE_H].
2419 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2420 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2421 Change guard to [!M68K_MATH_PRIVATE_H].
2422 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2423 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2424 guard to [!MICROBLAZE_MATH_PRIVATE_H].
2425 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2426 macro.
2427 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2428 [!MIPS_MATH_PRIVATE_H].
2429 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2430 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2431 [!NIO2_MATH_PRIVATE_H].
2432 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2433 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2434 [!TILE_MATH_PRIVATE_H].
2435 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2436
2437 [BZ #15421]
2438 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2439 initialize with 0 and define as weak alias of __signgam.
2440 * include/math.h [!_ISOMAC] (__signgam): Declare.
2441 * math/Makefile (libm-calls): Add w_lgamma_compat.
2442 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2443 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2444 test-signgam-ullong-init.
2445 (tests-static): Add test-signgam-uchar-static,
2446 test-signgam-uchar-init-static, test-signgam-uint-static,
2447 test-signgam-uint-init-static, test-signgam-ullong-static and
2448 test-signgam-ullong-init-static.
2449 (CFLAGS-test-signgam-uchar.c): New variable.
2450 (CFLAGS-test-signgam-uchar-init.c): Likewise.
2451 (CFLAGS-test-signgam-uchar-static.c): Likewise.
2452 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2453 (CFLAGS-test-signgam-uint.c): Likewise.
2454 (CFLAGS-test-signgam-uint-init.c): Likewise.
2455 (CFLAGS-test-signgam-uint-static.c): Likewise.
2456 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2457 (CFLAGS-test-signgam-ullong.c): Likewise.
2458 (CFLAGS-test-signgam-ullong-init.c): Likewise.
2459 (CFLAGS-test-signgam-ullong-static.c): Likewise.
2460 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2461 * math/Versions (libm): Add GLIBC_2.23.
2462 * math/lgamma-compat.h: New file.
2463 * math/test-signgam-main.c: Likewise.
2464 * math/test-signgam-uchar-init-static.c: Likewise.
2465 * math/test-signgam-uchar-init.c: Likewise.
2466 * math/test-signgam-uchar-static.c: Likewise.
2467 * math/test-signgam-uchar.c: Likewise.
2468 * math/test-signgam-uint-init-static.c: Likewise.
2469 * math/test-signgam-uint-init.c: Likewise.
2470 * math/test-signgam-uint-static.c: Likewise.
2471 * math/test-signgam-uint.c: Likewise.
2472 * math/test-signgam-ullong-init-static.c: Likewise.
2473 * math/test-signgam-ullong-init.c: Likewise.
2474 * math/test-signgam-ullong-static.c: Likewise.
2475 * math/test-signgam-ullong.c: Likewise.
2476 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2477 wrapper of w_lgamma_main.c.
2478 * math/w_lgamma_compat.c: New file.
2479 * math/w_lgamma_compatf.c: Likewise.
2480 * math/w_lgamma_compatl.c: Likewise.
2481 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
2482 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
2483 defining compatibility symbols.
2484 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
2485 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2486 wrapper of w_lgammaf_main.c.
2487 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
2488 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
2489 defining compatibility symbols.
2490 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
2491 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2492 wrapper of w_lgammal_main.c.
2493 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
2494 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
2495 defining compatibility symbols.
2496 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
2497 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2498 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2499 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
2500 <lgamma-compat.h>.
2501 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
2502 (__ieee754_gamma): Define as alias.
2503 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2504 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
2505 <lgamma-compat.h>.
2506 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
2507 (__ieee754_gammaf): Define as alias.
2508 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2509 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
2510 <lgamma-compat.h>.
2511 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
2512 (__ieee754_gammal): Define as alias.
2513 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2514 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
2515 <math/w_lgamma_compat.c>.
2516 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2517 Define as alias of __lgamma_compat and use in defining lgammal.
2518 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2519 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
2520 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2521 (USE_AS_COMPAT): New macro.
2522 (LGAMMA_OLD_VER): Undefine and redefine.
2523 (lgammal): Do not define here.
2524 (gammal): Only define here if [GAMMA_ALIAS].
2525 * conform/linknamespace.pl (@whitelist): Remove signgam.
2526 * sysdeps/nacl/libm.abilist: Update.
2527 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2528 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2529 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2530 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2531 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2532 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2533 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2534 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2535 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2536 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2537 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2540 Likewise.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2542 Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2544 Likewise.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2546 Likewise.
2547 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2548 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2549 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2550 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2553 Likewise.
2554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2555 Likewise.
2556 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2557 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2558 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2559
2560 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2561
2562 [BZ #16364]
2563 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2564 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2565
2566 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2567
2568 * sysdeps/s390/fpu/bits/mathinline.h:
2569 Use __asm__ [__volatile__] instead of asm [volatile].
2570 * sysdeps/s390/abort-instr.h: Likewise.
2571 * sysdeps/s390/atomic-machine.h: Likewise.
2572 * sysdeps/s390/bits/string.h: Likewise.
2573 * sysdeps/s390/dl-tls.h: Likewise.
2574 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2575 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2576 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2577 * sysdeps/s390/fpu/fesetround.c: Likewise.
2578 * sysdeps/s390/fpu/fpu_control.h: Likewise.
2579 * sysdeps/s390/fpu/s_fma.c: Likewise.
2580 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2581 * sysdeps/s390/memusage.h: Likewise.
2582 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2583 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2584 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2585 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2586 * sysdeps/s390/nptl/tls.h: Likewise.
2587 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2588 * sysdeps/s390/s390-32/backtrace.c: Likewise.
2589 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2590 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2591 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2592 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2593 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2594 * sysdeps/s390/s390-64/backtrace.c: Likewise.
2595 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2596 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2597 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2598 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2599 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2600 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2601 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2602 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2603 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2604 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2605 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2607 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2608 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2609 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2610
2611 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2612 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2613
2614 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2615 Add lwarx hint, and use macro for acquire instruction.
2616 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2617 Likewise.
2618 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2619 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2620 update to use new atomic macros.
2621
2622 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2623
2624 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2625 (__lll_trylock_elision): Fix setting of adapt_count.
2626 * sysdeps/unix/sysv/linux/powerpc/htm.h
2627 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2628 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2629 (_ABORT_SYSCALL): Renumber, and clarify definition.
2630 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2631
2632 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2633
2634 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2635 after system headers to prevent MIN/MAX redefinition. Define
2636 HAVE_ALLOCA to preserve builtin alloca usage.
2637
2638 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
2639
2640 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2641 static and don't set or restore rounding.
2642 (__cos)[IN_SINCOS]: Likewise.
2643 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2644 (__sincos): Set and restore rounding mode. Remove check for infinite
2645 or NaN input.
2646
2647 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2648
2649 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2650 as used.
2651
2652 2015-11-16 Florian Weimer <fweimer@redhat.com>
2653
2654 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2655
2656 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 * config.make.in (have-glob-dat-reloc): New.
2659 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
2660 target supports GLOB_DAT relocaton. AC_SUBST.
2661 * configure: Regenerated.
2662 * elf/Makefile (tests): Add tst-prelink.
2663 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2664 (tst-prelink-ENV): New.
2665 ($(objpfx)tst-prelink-conflict.out): Likewise.
2666 ($(objpfx)tst-prelink-cmp.out): Likewise.
2667 * sysdeps/x86/tst-prelink.c: Moved to ...
2668 * elf/tst-prelink.c: Here.
2669 * sysdeps/x86/tst-prelink.exp: Moved to ...
2670 * elf/tst-prelink.exp: Here.
2671 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2672 (tst-prelink-ENV): Removed.
2673 ($(objpfx)tst-prelink-conflict.out): Likewise.
2674 ($(objpfx)tst-prelink-cmp.out): Likewise.
2675 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2676
2677 2015-11-13 Joseph Myers <joseph@codesourcery.com>
2678
2679 [BZ #14551]
2680 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2681 (__mpn_construct_long_double): If high part overflows to infinity,
2682 set errno and recompute overflowed result of the correct sign.
2683 * sysdeps/ieee754/ldbl-128ibm/Makefile
2684 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2685 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2686 $(libm).
2687 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2688
2689 2015-11-12 Joseph Myers <joseph@codesourcery.com>
2690
2691 [BZ #15479]
2692 [BZ #19238]
2693 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2694 floating-point state after first operation on input. Restore full
2695 state rather than just rounding mode.
2696 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2697 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2698 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2699
2700 [BZ #19235]
2701 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2702 add 0.5 to integer arguments.
2703 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2704 Likewise.
2705 (.LC2): New object.
2706
2707 2015-11-11 Mike Frysinger <vapier@gentoo.org>
2708
2709 * scripts/pylintrc (reports): Set to no.
2710
2711 2015-11-10 Roland McGrath <roland@hack.frob.com>
2712
2713 * elf/dl-load.c (open_verify): Take new argument FD.
2714 Skip __open call if passed FD is not -1.
2715 (_dl_map_object, open_path): Update callers.
2716 * elf/dl-sysdep-open.h: New file.
2717 * elf/dl-load.c: Include it.
2718 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2719 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2720 * sysdeps/nacl/dl-sysdep-open.h: New file.
2721 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2722 from libc to rtld.
2723
2724 2015-11-10 Joseph Myers <joseph@codesourcery.com>
2725
2726 [BZ #19228]
2727 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2728 and restore full floating-point state.
2729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2730 Likewise.
2731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2732 Likewise.
2733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2734 Likewise.
2735 * math/test-nearbyint-except-2.c: New file.
2736 * math/Makefile (tests): Add test-nearbyint-except-2.
2737
2738 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
2739
2740 [BZ #19178]
2741 * sysdeps/x86/Makefile (tests): Add tst-prelink.
2742 (tst-prelink-ENV): New.
2743 ($(objpfx)tst-prelink-conflict.out): Likewise.
2744 ($(objpfx)tst-prelink-cmp.out): Likewise.
2745 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2746 * sysdeps/x86/tst-prelink.c: New file.
2747 * sysdeps/x86/tst-prelink.exp: Likewise.
2748
2749 2015-11-10 Joseph Myers <joseph@codesourcery.com>
2750
2751 * math/auto-libm-test-in: Add another test of pow.
2752 * math/auto-libm-test-out: Regenerated.
2753 * math/libm-test.inc (pow_test_data): Add another test.
2754
2755 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2756
2757 [BZ #19219]
2758 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2759 weak_alias to nearbyintl.
2760
2761 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
2762
2763 * sysdeps/aarch64/bits/string.h: New file.
2764 (_STRING_ARCH_unaligned): Define.
2765
2766 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
2767
2768 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2769 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2770 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2771 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2773
2774 2015-11-09 Ulrich Drepper <drepper@gmail.com>
2775
2776 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2777 for original name of the DSO. Add it to the name list of the DSO
2778 if it is actually given.
2779 (_dl_map_object): Keep track of whether an audit module rewrote
2780 the file name. If yes, pass the original name to
2781 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
2782 debugging is enabled, log the change of the file name.
2783 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2784 _dl_map_object_from_fd.
2785 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2786 * elf/tst-audit11.c: New file
2787 * elf/tst-auditmod11.c: New file.
2788 * elf/tst-audit11mod1.c: New file.
2789 * elf/tst-audit11mod2.c: New file.
2790 * elf/tst-audit11mod2.map: New file.
2791 * elf/tst-audit12.c: New file
2792 * elf/tst-auditmod12.c: New file.
2793 * elf/tst-audit12mod1.c: New file.
2794 * elf/tst-audit12mod2.c: New file.
2795 * elf/tst-audit12mod2.map: New file.
2796 * elf/tst-audit12mod3.c: New file.
2797
2798 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2799
2800 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2801 Don't create weak aliases,
2802 because versioned symbols are created later.
2803 * sysdeps/s390/s390-32/setjmp.S
2804 (setjmp, _setjmp): Remove weak and rename to an unique name
2805 in SHARED case due to existing versioned symbols.
2806 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2808 (getcontext): Create weak alias only in non SHARED case.
2809 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2810
2811 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2812
2813 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2814 (__ASSUME_*_SYSCALL) Define new macros.
2815 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2816 Remove socketcall syscalls.
2817 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2818 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2819 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2820 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2821 * sysdeps/unix/sysv/linux/send.c (__libc_send):
2822 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2823
2824 2015-11-09 Florian Weimer <fweimer@redhat.com>
2825
2826 [BZ #12926]
2827 Terminate process on invalid netlink response.
2828 * sysdeps/unix/sysv/linux/netlinkaccess.h
2829 (__netlink_assert_response): Declare.
2830 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2831 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2832 (sysdep_routines): Add netlink_assert_response.
2833 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2834 __netlink_assert_response.
2835 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2836 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2837 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2838 __netlink_assert_response.
2839
2840 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
2841
2842 [BZ #19178]
2843 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2844 (RTYPE_CLASS_PLT): Likewise.
2845 (RTYPE_CLASS_COPY): Likewise.
2846 (RTYPE_CLASS_TLS): Likewise.
2847 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2848 to set relocation type class for DL_DEBUG_PRELINK. Keep only
2849 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2850 DL_DEBUG_PRELINK.
2851
2852 2015-11-06 Joseph Myers <joseph@codesourcery.com>
2853
2854 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2855 calls with argument -0.5.
2856 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2857
2858 * configure.ac (libc_cv_z_nodelete): Remove configure test.
2859 (libc_cv_z_nodlopen): Likewise.
2860 (libc_cv_z_initfirst): Likewise.
2861 * configure: Regenerated.
2862
2863 2015-11-06 Florian Weimer <fweimer@redhat.com>
2864
2865 Simplify abilist format to be line-based.
2866 * scripts/abilist.awk: Collect descriptors in the descs variable.
2867 (emit): Write descs variable and sort it
2868 externally, with sort.
2869 * sysdeps/**/*.abilist: Convert to new format.
2870
2871 2015-11-06 Mark Wielaard <mjw@redhat.com>
2872
2873 [BZ #11460]
2874 * io/Makefile (routines): Add fts64.
2875 (tests): Add tst-fts and tst-fts-lfs.
2876 (CFLAGS-fts64.c): New.
2877 * io/Versions (GLIBC_2.23): New.
2878 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2879 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2880 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2881 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2882 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2883 (FTSENT64): Likewise.
2884 (fts64_children): Likewise.
2885 (fts64_close): Likewise.
2886 (fts64_open): Likewise.
2887 (fts64_read): Likewise.
2888 (fts64_set): Likewise.
2889 * io/fts64.c: New file.
2890 * io/tst-fts.c: New test.
2891 * io/tst-fts-lfs.c: Likewise.
2892 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2893 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2894 fts64_set.
2895 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2896 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2897 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2898 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2899 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2900 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2901 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2902 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2903 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2904 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2905 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2906 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2907 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2909 Likewise.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2911 Likewise.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2914 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2915 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2916 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2917 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2918 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2921 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2922 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2924 * sysdeps/wordsize-64/fts.c: New file.
2925 * sysdeps/wordsize-64/fts64.c: Likewise.
2926 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2927 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2928 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2929 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2930
2931 2015-11-05 Joseph Myers <joseph@codesourcery.com>
2932
2933 * math/libm-test.inc (NON_FINITE): New macro.
2934 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2935 * math/gen-libm-test.pl (show_exceptions): Add argument
2936 $non_finite.
2937 (parse_args): Update call to show_exceptions.
2938 * math/test-math-finite.h: New file.
2939 * math/test-math-no-finite.h: Likewise.
2940 * math/test-double-finite.c: Likewise.
2941 * math/test-float-finite.c: Likewise.
2942 * math/test-ldouble-finite.c: Likewise.
2943 * math/test-double.c: Include "test-math-no-finite.h".
2944 * math/test-float.c: Include "test-math-no-finite.h".
2945 * math/test-ldouble.c: Include "test-math-no-finite.h".
2946 * math/test-math-inline.h (TEST_FINITE): New macro.
2947 * math/test-math-vector.h (TEST_FINITE): Likewise.
2948 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2949 (libm-tests): Add test-float-finite and test-double-finite.
2950 ($(objpfx)test-float-finite.o): New dependency on
2951 $(objpfx)libm-test.stmp.
2952 ($(objpfx)test-double-finite.o): Likewise.
2953 ($(objpfx)test-ldouble-finite.o): Likewise.
2954 (libm-test-no-inline-cflags): New variable.
2955 (libm-test-finite-cflags): Likewise.
2956 (CFLAGS-test-float-finite.c): Likewise.
2957 (CFLAGS-test-double-finite.c): Likewise.
2958 (CFLAGS-test-ldouble-finite.c): Likewise.
2959 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2960 (CFLAGS-test-double.c): Likewise.
2961 (CFLAGS-test-ldouble.c): Likewise.
2962
2963 2015-11-05 Roland McGrath <roland@hack.frob.com>
2964
2965 * io/fcntl.c (__fcntl): Add ... to prototype.
2966 * misc/ioctl.c (__ioctl): Likewise.
2967 * misc/syscall.c (syscall): Likewise.
2968
2969 2015-11-05 Joseph Myers <joseph@codesourcery.com>
2970
2971 * scripts/list-fixed-bugs.py: New file.
2972
2973 [BZ #19213]
2974 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2975 returned for argument 1.
2976 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2977 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2978 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2979 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2980 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2981 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2982
2983 [BZ #19211]
2984 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2985 __USE_XOPEN], not if [!__USE_ISOC99].
2986 (lgammaf): Likewise.
2987 (lgammal): Likewise.
2988 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2989 (gammaf): Likewise.
2990 (gammal): Likewise.
2991 * math/test-signgam-finite-c11.c: New file.
2992 * math/test-signgam-finite-c99.c: Likewise.
2993 * math/test-signgam-finite.c: Likewise.
2994 * math/Makefile (tests): Add test-signgam-finite,
2995 test-signgam-finite-c99 and test-signgam-finite-c11.
2996 (CFLAGS-test-signgam-finite.c): New variable.
2997 (CFLAGS-test-signgam-finite-c99.c): Likewise.
2998 (CFLAGS-test-signgam-finite-c11.c): Likewise.
2999
3000 [BZ #19212]
3001 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3002 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3003 500].
3004 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3005 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3006 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3007 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3008 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3009 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3010 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3011 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3012 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3013 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3014
3015 [BZ #19209]
3016 * math/bits/math-finite.h (ldexp): Remove declaration.
3017 (ldexpf): Likewise.
3018 (ldexpl): Likewise.
3019
3020 [BZ #19205]
3021 * math/bits/math-finite.h (acosf): Condition declaration on
3022 [__USE_ISOC99].
3023 (acosl): Likewise.
3024 (acoshf): Likewise.
3025 (acoshl): Likewise.
3026 (asinf): Likewise.
3027 (asinl): Likewise.
3028 (atan2f): Likewise.
3029 (atan2l): Likewise.
3030 (atanhf): Likewise.
3031 (atanhl): Likewise.
3032 (coshf): Likewise.
3033 (coshl): Likewise.
3034 (expf): Likewise.
3035 (expl): Likewise.
3036 (fmodf): Likewise.
3037 (fmodl): Likewise.
3038 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3039 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3040 (j0l): Likewise.
3041 (y0f): Likewise.
3042 (y0l): Likewise.
3043 (j1f): Likewise.
3044 (j1l): Likewise.
3045 (y1f): Likewise.
3046 (y1l): Likewise.
3047 (jnf): Likewise.
3048 (jnl): Likewise.
3049 (ynf): Likewise.
3050 (ynl): Likewise.
3051 (lgammaf_r): Condition declaration on [__USE_ISOC99].
3052 (lgammal_r): Likewise.
3053 (__lgamma_r_finite): New declaration.
3054 (__lgammaf_r_finite): Likewise.
3055 (__lgammal_r_finite): Likewise.
3056 (lgamma): Use __lgamma_r_finite.
3057 (lgammaf): Condition definition on [__USE_ISOC99]. Use
3058 __lgammaf_r_finite.
3059 (lgammal): Condition definition on [__USE_ISOC99]. Use
3060 __lgammal_r_finite.
3061 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
3062 __lgamma_r_finite.
3063 (gammaf): Condition definition on [__USE_ISOC99]. Use
3064 __lgammaf_r_finite.
3065 (gammal): Condition definition on [__USE_ISOC99]. Use
3066 __lgammal_r_finite.
3067 (logf): Condition declaration on [__USE_ISOC99].
3068 (logl): Likewise.
3069 (log10f): Likewise.
3070 (log10l): Likewise.
3071 (ldexpf): Likewise.
3072 (ldexpl): Likewise.
3073 (powf): Likewise.
3074 (powl): Likewise.
3075 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3076 __USE_ISOC99].
3077 (remainderf): Condition declaration on [__USE_ISOC99].
3078 (remainderl): Likewise.
3079 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3080 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3081 (scalbl): Likewise.
3082 (sinhf): Condition declaration on [__USE_ISOC99].
3083 (sinhl): Likewise.
3084 (sqrtf): Likewise.
3085 (sqrtl): Likewise.
3086
3087 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3088
3089 * sysdeps/arm/atomic-machine.h
3090 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3091 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3092 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3093 Remove conditional code.
3094 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3095 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3096 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3097 Change conditional to [__ASSEMBLER__].
3098 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3099 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3100 [!__ASSEMBLER__].
3101 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3102 code.
3103 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3104 conditional macro definitions.
3105 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3106 (__arch_compare_and_exchange_val_16_acq): Likewise.
3107 (__arch_compare_and_exchange_val_32_acq): Likewise.
3108 (atomic_exchange_and_add): Likewise.
3109 (atomic_add): Likewise.
3110 (atomic_add_negative): Likewise.
3111 (atomic_add_zero): Likewise.
3112 (atomic_bit_set): Likewise.
3113 (atomic_bit_test_set): Likewise.
3114 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3115 code unconditional.
3116 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3117
3118 * math/test-math-errno.h: New file.
3119 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3120 empty.
3121 (TEST_ERRNO): New macro.
3122 (TEST_EXCEPTIONS): Likewise.
3123 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3124 (TEST_EXCEPTIONS): Likewise.
3125 * math/test-math-vector.h (TEST_ERRNO): Likewise.
3126 * math/test-double.c: Include "test-math-errno.h".
3127 * math/test-float.c: Likewise.
3128 * math/test-ldouble.c: Likewise.
3129 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3130 code unconditional.
3131 (test_exceptions): Only run code if TEST_EXCEPTIONS.
3132 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3133 unconditional.
3134 (test_errno): Only run code if TEST_ERRNO.
3135 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3136
3137 2015-11-04 Florian Weimer <fweimer@redhat.com>
3138
3139 * nptl/tst-once5.cc: Remove attribution.
3140
3141 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3142
3143 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3144 sqrt, tan, tanh, y0, y1 and yn.
3145 * math/auto-libm-test-out: Regenerated.
3146 * math/libm-test.inc (scalb_test_data): Add more tests.
3147 (scalbn_test_data): Likewise.
3148 (scalbln_test_data): Likewise.
3149 (signbit_test_data): Likewise.
3150 (sin_test_data): Likewise.
3151 (sincos_test_data): Likewise.
3152 (sinh_test_data): Likewise.
3153 (sqrt_test_data): Likewise.
3154 (tan_test_data): Likewise.
3155 (tanh_test_data): Likewise.
3156 (tgamma_test_data): Likewise.
3157 (y0_test_data): Likewise.
3158 (y1_test_data): Likewise.
3159 (yn_test_data): Likewise.
3160 (significand_test_data): Likewise.
3161 * sysdeps/i386/fpu/libm-test-ulps: Update.
3162
3163 2015-11-03 David Kastrup <dak@gnu.org>
3164
3165 [BZ #18604]
3166 * assert/assert.h (assert): Don't macro-expand failed assertion
3167 expression in error message.
3168 * malloc/malloc.c (assert): Likewise.
3169
3170 2015-11-03 Joseph Myers <joseph@codesourcery.com>
3171
3172 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3173 test.
3174 * configure: Regenerated.
3175
3176 2015-11-02 Joseph Myers <joseph@codesourcery.com>
3177
3178 * math/libm-test.inc (modf_test_data): Add more tests.
3179 (nearbyint_test_data): Likewise.
3180 (nextafter_test_data): Likewise.
3181 (nexttoward_test_data): Likewise.
3182 (pow_test_data): Likewise.
3183 (remainder_test_data): Likewise.
3184 (remquo_test_data): Likewise.
3185 (rint_test_data): Likewise.
3186
3187 [BZ #19201]
3188 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3189 Check for zero remainder in case of large exponents and ensure
3190 correct sign of result in that case.
3191 * math/libm-test.inc (remainder_test_data): Add more tests.
3192
3193 [BZ #6799]
3194 * math/s_nextafter.c: Include <errno.h>.
3195 (__nextafter): Set errno on overflow and underflow.
3196 * math/s_nexttowardf.c: Include <errno.h>.
3197 (__nexttowardf): Set errno on overflow and underflow.
3198 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3199 (__nextafterl): Set errno on overflow and underflow.
3200 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3201 (__nexttoward): Set errno on overflow and underflow.
3202 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3203 (__nexttowardf): Set errno on overflow and underflow.
3204 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3205 (__nextafterf): Set errno on overflow and underflow.
3206 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3207 (__nextafterl): Set errno on overflow and underflow.
3208 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3209 (__nexttoward): Set errno on overflow and underflow.
3210 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3211 (__nexttowardf): Set errno on overflow and underflow.
3212 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3213 (__nextafterl): Set errno on overflow and underflow.
3214 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3215 (__nexttoward): Set errno on overflow and underflow.
3216 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3217 (__nexttowardf): Set errno on overflow and underflow.
3218 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3219 (__nexttoward): Set errno on overflow and underflow.
3220 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3221 (__nexttowardf): Set errno on overflow and underflow.
3222 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3223 (__nldbl_nexttowardf): Set errno on overflow and underflow.
3224 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3225 (__nextafterl): Set errno on overflow and underflow.
3226 * math/libm-test.inc (nextafter_test_data): Do not allow errno
3227 setting to be missing on overflow. Add more tests.
3228 (nexttoward_test_data): Likewise.
3229
3230 * configure.ac (libc_cv_initfini_array): Remove configure test.
3231 * configure: Regenerated.
3232
3233 2015-10-29 Joseph Myers <joseph@codesourcery.com>
3234
3235 [BZ #19189]
3236 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3237 non-finite argument handle arguments with negative sign.
3238
3239 * math/libm-test.inc (j0_test_data): Do not test sign of zero
3240 result from infinite argument.
3241 (j1_test_data): Likewise.
3242 (jn_test_data): Likewise.
3243 (y0_test_data): Likewise.
3244 (y1_test_data): Likewise.
3245 (yn_test_data): Likewise.
3246
3247 [BZ #16171]
3248 * math/w_remainder.c (drem): Define as weak alias of __remainder.
3249 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3250 * math/w_remainderf.c (dremf): Define as weak alias of
3251 __remainderf.
3252 * math/w_remainderl.c (dreml): Define as weak alias of
3253 __remainderl.
3254 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3255 __remainder.
3256 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3257 __remainderf.
3258 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3259 __remainderl.
3260 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3261 weak alias of remainderl.
3262 * sysdeps/ieee754/ldbl-opt/w_remainder.c
3263 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3264 alias of __remainder.
3265 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3266 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3267 strong alias of __remainderl.
3268 (dreml): Use long_double_symbol.
3269 * math/Makefile (libm-calls): Remove w_drem.
3270 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3271 (CFLAGS-nldbl-drem.c): Remove variable.
3272 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3273 * math/w_drem.c: Remove file.
3274 * math/w_dremf.c: Likewise.
3275 * math/w_dreml.c: Likewise.
3276 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3277 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3278 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3279
3280 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3281 * sysdeps/i386/configure: Regenerated.
3282 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3283 * sysdeps/x86_64/configure: Regenerated.
3284
3285 * configure.ac (libc_cv_asm_protected_directive): Remove configure
3286 test.
3287 (libc_cv_visibility_attribute): Likewise.
3288 (libc_cv_protected_data): Test unconditionally.
3289 (libc_cv_broken_visibility_attribute): Remove configure test.
3290 (libc_cv_have_sdata_section): Test unconditionally.
3291 * configure: Regenerated.
3292
3293 * include/libc-internal.h (libc_max_align_t): Remove typedef.
3294 * include/scratch_buffer.h: Include <stddef.h> instead of
3295 <libc-internal.h>.
3296 (struct scratch_buffer): Use max_align_t instead of
3297 libc_max_align_t.
3298
3299 2015-10-29 Florian Weimer <fweimer@redhat.com>
3300
3301 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3302 instead of extend_alloca. Change control flow to avoid a goto.
3303 Remove assert which is trivially always true.
3304
3305 2015-10-28 Joseph Myers <joseph@codesourcery.com>
3306
3307 [BZ #16068]
3308 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3309 (FE_ALL_EXCEPT_X86): New macro.
3310 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3311 FE_ALL_EXCEPT. Ensure precision control is included in
3312 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3313 handle "denormal operand exception" and clear FZ and DAZ bits.
3314 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3315 (FE_ALL_EXCEPT_X86): New macro.
3316 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3317 FE_ALL_EXCEPT. Ensure precision control is included in
3318 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3319 handle "denormal operand exception" and clear FZ and DAZ bits.
3320 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3321 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3322 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3323 test-fenv-x87 and test-fenv-sse-2.
3324 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3325
3326 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3327 * math/test-double.h (BUILD_COMPLEX): New macro.
3328 * math/test-float.h (BUILD_COMPLEX): Likewise.
3329 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3330
3331 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3332 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3333 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3335 instead of DBL_DENORM_MIN in comment.
3336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3337 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3338 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3339 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3340 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3341 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3342
3343 2015-10-28 Florian Weimer <fweimer@redhat.com>
3344
3345 [BZ# 19048]
3346 * malloc/malloc.c (struct malloc_state): Update comment. Add
3347 attached_threads member.
3348 (main_arena): Initialize attached_threads.
3349 * malloc/arena.c (list_lock): Update comment.
3350 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3351 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3352 (deattach_arena): New function.
3353 (_int_new_arena): Initialize arena reference count and deattach
3354 replaced arena.
3355 (get_free_list, reused_arena): Update reference count and deattach
3356 replaced arena.
3357 (arena_thread_freeres): Update arena reference count and only put
3358 unreferenced arenas on the free list.
3359
3360 2015-10-28 Joseph Myers <joseph@codesourcery.com>
3361
3362 [BZ #19181]
3363 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3364 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3365 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3366 * math/test-fenv-clear-main.c: New file.
3367 * math/test-fenv-clear.c: Likewise.
3368 * math/Makefile (tests): Add test-fenv-clear.
3369 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3370 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3371 test-fenv-clear-sse.
3372 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3373
3374 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3375 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3376 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3377
3378 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3379
3380 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3381 static libc.
3382
3383 2015-10-28 Joseph Myers <joseph@codesourcery.com>
3384
3385 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3386 test.
3387 * sysdeps/i386/configure: Regenerated.
3388 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3389 test.
3390 * sysdeps/x86_64/configure: Regenerated.
3391 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3393 memset-avx2 unconditionally instead of conditionally on
3394 [$(config-cflags-avx2) = yes].
3395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3396 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3397 unconditional.
3398 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3399 * sysdeps/x86_64/multiarch/memset_chk.S
3400 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3401 to [IS_IN (libc) && SHARED].
3402
3403 2015-10-27 Joseph Myers <joseph@codesourcery.com>
3404
3405 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3406 configure test.
3407 * sysdeps/arm/configure: Regenerated.
3408 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3409 Define variable if not already defined.
3410
3411 [BZ #17404]
3412 * sysdeps/mips/atomic-machine.h
3413 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3414 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3415 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3416
3417 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3418 unconditional.
3419 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3420 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3421 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3422 unconditional.
3423 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3424 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3425 unconditional.
3426 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3427 * stdlib/setenv.c
3428 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3429 code unconditional.
3430 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3431 Remove conditional code.
3432 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3433 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3434 unconditional.
3435 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3436 code.
3437 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3438 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3439 unconditional.
3440 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3441 code.
3442 * sysdeps/ieee754/ldbl-128/k_tanl.c
3443 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3444 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3445 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3446 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3447 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3448 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3449 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3450 unconditional.
3451 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3452 code.
3453 * sysdeps/ieee754/ldbl-96/k_tanl.c
3454 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3455 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3456
3457 * nptl/tst-initializers1-c11.c: New file.
3458 * nptl/tst-initializers1-gnu11.c: Likewise.
3459 * nptl/Makefile (tests): Add these new tests.
3460 (CFLAGS-tst-initializers1-c11.c): New variable.
3461 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3462
3463 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3464 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3465 instead of -std=gnu99.
3466 * configure.ac (systemtap): Test with -std=gnu11 instead of
3467 -std=gnu99.
3468 * configure: Regenerated.
3469 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3470 in compilation command in comment.
3471
3472 * sysdeps/nptl/configure.ac: Remove file.
3473 * sysdeps/nptl/configure: Remove generated file.
3474 * configure.ac (libc_cv_forced_unwind): Do not substitute.
3475 * configure: Regenerated.
3476 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3477 * config.make.in (have-forced-unwind): Remove variable.
3478 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3479 unconditional.
3480 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3481 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3482 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3483 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3484 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3485 unconditional.
3486
3487 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3488
3489 [BZ #19174]
3490 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3491 .skip_lock_out_of_tbegin_retries.
3492 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3493 (__lll_lock_elision): Likewise, and respect a value of
3494 try_tbegin <= 0.
3495
3496 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3497
3498 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3499 statement.
3500
3501 2015-10-27 Joseph Myers <joseph@codesourcery.com>
3502
3503 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3504 variable.
3505 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3506 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3507
3508 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3509 of -std=c1x -D_ISOC11_SOURCE.
3510
3511 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3512 * configure: Regenerated.
3513 * manual/install.texi (Tools for Compilation): Document
3514 requirement for GCC 4.7 or later.
3515 * INSTALL: Regenerated.
3516
3517 2015-10-27 Ludovic Courtès <ludo@gnu.org>
3518
3519 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3520 on CNT to a conditional jump to 'puntdata'.
3521
3522 2015-10-27 Joseph Myers <joseph@codesourcery.com>
3523
3524 * configure.ac (libc_cv_gcc___thread): Remove configure test.
3525 (libc_cv_gcc_tls_model_attr): Likewise.
3526 * configure: Regenerated.
3527
3528 * configure.ac (libc_cv_need_minus_P): Remove configure test.
3529 * configure: Regenerated.
3530 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3531
3532 2015-10-26 Joseph Myers <joseph@codesourcery.com>
3533
3534 * configure.ac (old_glibc_headers): Remove configure test.
3535 * configure: Regenerated.
3536 * config.make.in (old-glibc-headers): Remove variable.
3537 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3538 (install): Remove dependency on remove-old-headers.
3539 (headers2_0): Remove variable.
3540 (remove-old-headers): Remove rule.
3541
3542 * configure.ac (libc_cv_dot_text): Remove configure test.
3543 (libc_cv_asm_set_directive): Use .text instead of
3544 ${libc_cv_dot_text} in configure test.
3545 * configure: Regenerated.
3546
3547 2015-10-26 Florian Weimer <fweimer@redhat.com>
3548
3549 [BZ #19168]
3550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3551
3552 2015-10-26 Florian Weimer <fweimer@redhat.com>
3553
3554 * configure.ac (CXX): Clear the variable if the C++ toolchain does
3555 not support static linking.
3556 * configure: Regenerate.
3557
3558 2015-10-23 Joseph Myers <joseph@codesourcery.com>
3559
3560 * math/libm-test.inc (check_float_internal): Do not special-case
3561 errors up to 0.5 ulp.
3562
3563 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3564 log2.
3565 * math/auto-libm-test-out: Regenerated.
3566 * math/libm-test.inc (MAX_EXP): New macro.
3567 (ilogb_test_data): Add more tests.
3568 (isfinite_test_data): Likewise.
3569 (isgreater_test_data): Likewise.
3570 (isgreaterequal_test_data): Likewise.
3571 (isinf_test_data): Likewise.
3572 (isless_test_data): Likewise.
3573 (islessequal_test_data): Likewise.
3574 (islessgreater_test_data): Likewise.
3575 (isnan_test_data): Likewise.
3576 (isnormal_test_data): Likewise.
3577 (issignaling_test_data): Likewise.
3578 (isunordered_test_data): Likewise.
3579 (j0_test_data): Likewise.
3580 (j1_test_data): Likewise.
3581 (jn_test_data): Likewise.
3582 (lgamma_test_data): Likewise.
3583 (log_test_data): Likewise.
3584 (log10_test_data): Likewise.
3585 (log1p_test_data): Likewise.
3586 (log2_test_data): Likewise.
3587 (logb_test_data): Likewise.
3588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3589
3590 [BZ #18611]
3591 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3592 avoid excess range and precision on underflow.
3593 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3594 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3595 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3596 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3597 underflow.
3598 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3600 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3602 * math/auto-libm-test-in: Do not allow missing errno setting for
3603 tests of j1 and jn.
3604 * math/auto-libm-test-out: Regenerated.
3605
3606 2015-10-22 Joseph Myers <joseph@codesourcery.com>
3607
3608 [BZ #15491]
3609 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3610 floating-point environment instead of clearing all exceptions.
3611 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3612 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3613 merging in "invalid" exceptions from frndint.
3614 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3615 * math/test-nearbyint-except.c: New file.
3616 * math/Makefile (tests): Add test-nearbyint-except.
3617
3618 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
3619
3620 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3621
3622 * sysdeps/tile/libm-test-ulps: Regenerated.
3623
3624 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3625
3626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3627 (__NR_sync_file_range2): Assume it is always defined.
3628 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3629 (__NR_sync_file_range): Assume it is always defined.
3630
3631 2015-10-22 Andreas Schwab <schwab@suse.de>
3632
3633 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3634 INTERNAL_SYSCALL_ERRNO.
3635 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3636 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3637 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3638 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3639 Likewise.
3640 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3641
3642 2015-10-21 Joseph Myers <joseph@codesourcery.com>
3643
3644 * io/tst-fcntl.c (fd): New static variable.
3645 (do_prepare): Open temporary file here....
3646 (do_test): ...not here.
3647
3648 * io/ftwtest-sh: Also trap on exit to remove temporary files.
3649
3650 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
3651
3652 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3653 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3654 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3655 Moved before "#ifdef __ASSEMBLER__".
3656
3657 2015-10-21 Joseph Myers <joseph@codesourcery.com>
3658
3659 [BZ #19156]
3660 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3661 arguments very close to 0.
3662
3663 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
3664
3665 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3666 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3667
3668 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
3669
3670 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3671 New. Defined for GCC 5 and above when not compiling for
3672 profiling.
3673 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3674
3675 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3676 Renamed to ...
3677 (CFLAGS-epoll_pwait.o): This.
3678 (CFLAGS-mmap.c): Renamed to ...
3679 (CFLAGS-mmap.o): This.
3680 (CFLAGS-mmap64.c): Renamed to ...
3681 (CFLAGS-mmap64.o): This.
3682 (CFLAGS-epoll_pwait.os): New.
3683 (CFLAGS-mmap.os): Likewise.
3684 (CFLAGS-mmap64.os): Likewise.
3685 (CFLAGS-semtimedop.os): Likewise.
3686 (CFLAGS-semtimedop.c): Renamed to ...
3687 (CFLAGS-semtimedop.o): This.
3688
3689 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3690
3691 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3692 warning message.
3693
3694 2015-10-21 Joseph Myers <joseph@codesourcery.com>
3695
3696 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3697 * Makefile ($(objpfx)c++-types-check.out): Filter out
3698 $(+gccwarn-c) instead of -Wstrict-prototypes.
3699
3700 * io/fts.c (fts_open): Convert to prototype-style function
3701 definition.
3702 * malloc/mcheck.c (mcheck): Likewise.
3703 (mcheck_pedantic): Likewise.
3704 * posix/regexec.c (re_search_2_stub): Likewise. Use
3705 internal_function.
3706 (re_search_internal): Likewise.
3707 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3708 prototype-style function definition.
3709 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3710 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3711 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3712 (xdr_utmpptr): Likewise.
3713 (xdr_utmparr): Likewise.
3714 (xdr_utmpidle): Likewise.
3715 (xdr_utmpidleptr): Likewise.
3716 (xdr_utmpidlearr): Likewise.
3717
3718 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3719 log, log10 and log2.
3720 * math/auto-libm-test-out: Regenerated.
3721 * math/libm-test.inc (fmod_test_data): Add more tests.
3722 (fpclassify_test_data): Likewise.
3723 (frexp_test_data): Likewise.
3724 (hypot_test_data): Likewise.
3725 (ilogb_test_data): Likewise.
3726
3727 2015-10-20 Joseph Myers <joseph@codesourcery.com>
3728
3729 * debug/fortify_fail.c (__fortify_fail): Convert to
3730 prototype-style function definition. Use internal_function.
3731 * libio/genops.c (save_for_backup): Convert to prototype-style
3732 function definition.
3733 * libio/wgenops.c (save_for_wbackup): Likewise.
3734 * login/grantpt.c (grantpt): Likewise.
3735 * login/ptsname.c (ptsname): Likewise.
3736 (__ptsname_r): Likewise.
3737 * login/unlockpt.c (unlockpt): Likewise.
3738 * mach/msgserver.c (__mach_msg_server): Likewise.
3739 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3740 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3741 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3742 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3743 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3744 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3745 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3746 Likewise.
3747 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
3748 internal_function.
3749 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3750 prototype-style function definition.
3751 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3752 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3753 (__pthread_create_2_0): Likewise.
3754 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3755 * nptl/register-atfork.c (__register_atfork): Likewise.
3756 * posix/glob.c (glob): Likewise.
3757 * posix/regcomp.c (re_comp): Likewise.
3758 * posix/regexec.c (re_exec): Likewise.
3759 * stdlib/add_n.c [__STDC__]: Make code unconditional.
3760 [!__STDC__]: Remove conditional code.
3761 * stdlib/cmp.c [__STDC__]: Make code unconditional.
3762 [!__STDC__]: Remove conditional code.
3763 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3764 [!__STDC__]: Remove conditional code.
3765 * stdlib/divrem.c [__STDC__]: Make code unconditional.
3766 [!__STDC__]: Remove conditional code.
3767 * stdlib/lshift.c [__STDC__]: Make code unconditional.
3768 [!__STDC__]: Remove conditional code.
3769 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3770 [!__STDC__]: Remove conditional code.
3771 * stdlib/mul.c [__STDC__]: Make code unconditional.
3772 [!__STDC__]: Remove conditional code.
3773 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3774 [!__STDC__]: Remove conditional code.
3775 * stdlib/rshift.c [__STDC__]: Make code unconditional.
3776 [!__STDC__]: Remove conditional code.
3777 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3778 function definition.
3779 (STRTOF): Likewise.
3780 * stdlib/strtod_l.c (__STRTOF): Likewise.
3781 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3782 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3783 (__strtol_l): Likewise.
3784 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3785 [!__STDC__]: Remove conditional code.
3786 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3787 definition.
3788 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3789 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3790 type.
3791 (__strcasecmp): Convert to prototype-style function definition.
3792 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3793 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3794 type.
3795 (__strncasecmp): Convert to prototype-style function definition.
3796 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3797 * sunrpc/xdr.c (xdr_union): Likewise.
3798 * sunrpc/xdr_array.c (xdr_array): Likewise.
3799 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3800 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3801 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3802 Likewise.
3803 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3804 Likewise.
3805 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3806 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3807 Likewise.
3808 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3809 (LOCALE_PARAM_PROTO): Likewise.
3810 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3811 argument type.
3812 (ut_argument_spec): Remove macro.
3813 (ut_argument_spec_iso): Rename to ut_argument_spec.
3814 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
3815 prototype-style function definition.
3816 (memcpy_uppcase): Likewise.
3817 (__strftime_internal): Likewise.
3818 (my_strftime): Likewise.
3819 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3820 (LOCALE_PARAM_DECL): Likewise.
3821 [_LIBC] (LOCALE_PARAM): Include argument type.
3822 (__strptime_internal): Convert to prototype-style function
3823 definition.
3824 (strptime): Likewise.
3825 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3826 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3827 type.
3828 (__wcscasecmp): Convert to prototype-style function definition.
3829 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3830 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3831 type.
3832 (__wcsncasecmp): Convert to prototype-style function definition.
3833
3834 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3835 function definition.
3836 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3837 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3838 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3839 * elf/dl-minimal.c (_itoa): Likewise.
3840 * hurd/hurdmalloc.c (malloc): Likewise.
3841 (free): Likewise.
3842 (realloc): Likewise.
3843 * inet/inet6_option.c (inet6_option_space): Likewise.
3844 (inet6_option_init): Likewise.
3845 (inet6_option_append): Likewise.
3846 (inet6_option_alloc): Likewise.
3847 (inet6_option_next): Likewise.
3848 (inet6_option_find): Likewise.
3849 * io/ftw.c (FTW_NAME): Likewise.
3850 (NFTW_NAME): Likewise.
3851 (NFTW_NEW_NAME): Likewise.
3852 (NFTW_OLD_NAME): Likewise.
3853 * libio/iofwide.c (_IO_fwide): Likewise.
3854 * libio/strops.c (_IO_str_init_static_internal): Likewise.
3855 (_IO_str_init_static): Likewise.
3856 (_IO_str_init_readonly): Likewise.
3857 (_IO_str_overflow): Likewise.
3858 (_IO_str_underflow): Likewise.
3859 (_IO_str_count): Likewise.
3860 (_IO_str_seekoff): Likewise.
3861 (_IO_str_pbackfail): Likewise.
3862 (_IO_str_finish): Likewise.
3863 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3864 (_IO_wstr_overflow): Likewise.
3865 (_IO_wstr_underflow): Likewise.
3866 (_IO_wstr_count): Likewise.
3867 (_IO_wstr_seekoff): Likewise.
3868 (_IO_wstr_pbackfail): Likewise.
3869 (_IO_wstr_finish): Likewise.
3870 * locale/programs/localedef.c (normalize_codeset): Likewise.
3871 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3872 (add_locales_to_archive): Likewise.
3873 (delete_locales_from_archive): Likewise.
3874 * malloc/malloc.c (__libc_mallinfo): Likewise.
3875 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3876 * misc/tsearch.c (__tfind): Likewise.
3877 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3878 * nptl/pthread_attr_getdetachstate.c
3879 (__pthread_attr_getdetachstate): Likewise.
3880 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3881 Likewise.
3882 * nptl/pthread_attr_getinheritsched.c
3883 (__pthread_attr_getinheritsched): Likewise.
3884 * nptl/pthread_attr_getschedparam.c
3885 (__pthread_attr_getschedparam): Likewise.
3886 * nptl/pthread_attr_getschedpolicy.c
3887 (__pthread_attr_getschedpolicy): Likewise.
3888 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3889 Likewise.
3890 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3891 Likewise.
3892 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3893 Likewise.
3894 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3895 Likewise.
3896 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3897 (__pthread_attr_init_2_0): Likewise.
3898 * nptl/pthread_attr_setdetachstate.c
3899 (__pthread_attr_setdetachstate): Likewise.
3900 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3901 Likewise.
3902 * nptl/pthread_attr_setinheritsched.c
3903 (__pthread_attr_setinheritsched): Likewise.
3904 * nptl/pthread_attr_setschedparam.c
3905 (__pthread_attr_setschedparam): Likewise.
3906 * nptl/pthread_attr_setschedpolicy.c
3907 (__pthread_attr_setschedpolicy): Likewise.
3908 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3909 Likewise.
3910 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3911 Likewise.
3912 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3913 Likewise.
3914 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3915 Likewise.
3916 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3917 Likewise.
3918 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3919 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3920 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3921 use internal_function.
3922 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3923 prototype-style function definition.
3924 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3925 (__pthread_mutex_cond_lock_adjust): Likewise. Use
3926 internal_function.
3927 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3928 Convert to prototype-style function definition.
3929 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3930 Likewise.
3931 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3932 Likewise.
3933 (__pthread_mutex_unlock): Likewise.
3934 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3935 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3936 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3937 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3938 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3939 * nss/makedb.c (process_input): Likewise.
3940 * posix/fnmatch.c (__strchrnul): Likewise.
3941 (__wcschrnul): Likewise.
3942 (fnmatch): Likewise.
3943 * posix/fnmatch_loop.c (FCT): Likewise.
3944 * posix/glob.c (globfree): Likewise.
3945 (__glob_pattern_type): Likewise.
3946 (__glob_pattern_p): Likewise.
3947 * posix/regcomp.c (re_compile_pattern): Likewise.
3948 (re_set_syntax): Likewise.
3949 (re_compile_fastmap): Likewise.
3950 (regcomp): Likewise.
3951 (regerror): Likewise.
3952 (regfree): Likewise.
3953 * posix/regexec.c (regexec): Likewise.
3954 (re_match): Likewise.
3955 (re_search): Likewise.
3956 (re_match_2): Likewise.
3957 (re_search_2): Likewise.
3958 (re_search_stub): Likewise. Use internal_function
3959 (re_copy_regs): Likewise.
3960 (re_set_registers): Convert to prototype-style function
3961 definition.
3962 (prune_impossible_nodes): Likewise. Use internal_function.
3963 * resolv/inet_net_pton.c (inet_net_pton): Convert to
3964 prototype-style function definition.
3965 (inet_net_pton_ipv4): Likewise.
3966 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3967 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3968 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3969 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3970 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3971 Make variadic.
3972 * time/strptime_l.c (localtime_r): Convert to prototype-style
3973 function definition.
3974 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3975 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3976 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3977 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3978
3979 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3980 definition.
3981 (_ufc_doit_r): Likewise.
3982 * crypt/crypt_util.c (_ufc_copymem): Likewise.
3983 (_ufc_output_conversion_r): Likewise.
3984 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3985 * inet/rcmd.c (rcmd_af): Likewise.
3986 (rcmd): Likewise.
3987 (ruserok_af): Likewise.
3988 (ruserok): Likewise.
3989 (ruserok2_sa): Likewise.
3990 (ruserok_sa): Likewise.
3991 (iruserok_af): Likewise.
3992 (iruserok): Likewise.
3993 (__ivaliduser): Likewise.
3994 (__validuser2_sa): Likewise.
3995 * inet/rexec.c (rexec_af): Likewise.
3996 (rexec): Likewise.
3997 * inet/ruserpass.c (ruserpass): Likewise.
3998 * locale/programs/xmalloc.c (xcalloc): Likewise.
3999 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4000 * math/w_drem.c (__drem): Likewise.
4001 * math/w_dremf.c (__dremf): Likewise.
4002 * math/w_dreml.c (__dreml): Likewise.
4003 * misc/daemon.c (daemon): Likewise.
4004 * resolv/res_debug.c (p_fqnname): Likewise.
4005 * stdlib/div.c (div): Likewise.
4006 * string/memcmp.c (memcmp_bytes): Likewise.
4007 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4008 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4009
4010 * crypt/cert.c (main): Convert to prototype-style function
4011 definition.
4012 * io/pipe.c (__pipe): Likewise.
4013 * io/pipe2.c (__pipe2): Likewise.
4014 * misc/futimesat.c (futimesat): Likewise.
4015 * misc/utimes.c (__utimes): Likewise.
4016 * posix/execve.c (__execve): Likewise.
4017 * posix/execvp.c (execvp): Likewise.
4018 * posix/execvpe.c (__execvpe): Likewise.
4019 * posix/fexecve.c (fexecve): Likewise.
4020 * socket/socketpair.c (socketpair): Likewise.
4021 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4022 * stdlib/erand48.c (erand48): Likewise.
4023 * stdlib/erand48_r.c (__erand48_r): Likewise.
4024 * stdlib/jrand48.c (jrand48): Likewise.
4025 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4026 * stdlib/lcong48.c (lcong48): Likewise.
4027 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4028 * stdlib/nrand48.c (nrand48): Likewise.
4029 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4030 * stdlib/seed48.c (seed48): Likewise.
4031 * stdlib/seed48_r.c (__seed48_r): Likewise.
4032 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4033 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4034 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4035
4036 2015-10-19 Joseph Myers <joseph@codesourcery.com>
4037
4038 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4039 * configure: Regenerated.
4040 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4041 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4042 unconditional.
4043 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4044 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4045 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4046 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4047 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4048 unconditional.
4049 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4050
4051 * posix/Makefile (CFLAGS-regex.c): Remove variable.
4052 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4053
4054 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4055 function definition.
4056 * crypt/crypt_util.c (__encrypt_r): Likewise.
4057 * libio/genops.c (_IO_no_init): Likewise.
4058 * libio/iofopncook.c (_IO_fopencookie): Likewise.
4059 (_IO_old_fopencookie): Likewise.
4060 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4061 * libio/iogetline.c (_IO_getline): Likewise.
4062 (_IO_getline_info): Likewise.
4063 * libio/iogetwline.c (_IO_getwline): Likewise.
4064 (_IO_getwline_info): Likewise.
4065 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4066 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4067 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4068 (find_entry): Likewise.
4069 (iterate_table): Likewise.
4070 (lookup): Likewise.
4071 * login/forkpty.c (forkpty): Likewise.
4072 * misc/hsearch_r.c (__hsearch_r): Likewise.
4073 * misc/select.c (__select): Likewise.
4074 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4075 Likewise.
4076 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4077 Likewise.
4078 * nptl/old_pthread_cond_timedwait.c
4079 (__pthread_cond_timedwait_2_0): Likewise.
4080 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4081 * nptl/pthread_barrierattr_getpshared.c
4082 (pthread_barrierattr_getpshared): Likewise.
4083 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4084 Likewise.
4085 * nptl/pthread_mutex_setprioceiling.c
4086 (pthread_mutex_setprioceiling): Likewise.
4087 * nptl/pthread_mutexattr_getprioceiling.c
4088 (pthread_mutexattr_getprioceiling): Likewise.
4089 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4090 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4091 Likewise.
4092 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4093 Likewise.
4094 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4095 Likewise.
4096 * socket/recvfrom.c (__recvfrom): Likewise.
4097 * socket/sendto.c (__sendto): Likewise.
4098 * socket/setsockopt.c (__setsockopt): Likewise.
4099 * stdio-common/_itoa.c (_itoa): Likewise.
4100 * stdio-common/_itowa.c (_itowa): Likewise.
4101 * stdio-common/reg-printf.c (__register_printf_specifier):
4102 Likewise.
4103 (__register_printf_function): Likewise.
4104 * stdio-common/tempname.c (__path_search): Likewise.
4105 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4106 * stdlib/mul_1.c (mpn_mul_1): Likewise.
4107 * stdlib/random_r.c (__initstate_r): Likewise.
4108 * stdlib/setenv.c (__add_to_environ): Likewise.
4109 * stdlib/submul_1.c (mpn_submul_1): Likewise.
4110 * streams/getpmsg.c (getpmsg): Likewise.
4111 * streams/putmsg.c (putmsg): Likewise.
4112 * streams/putpmsg.c (putpmsg): Likewise.
4113 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4114 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4115 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4116 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4117 * sunrpc/pm_getport.c (pmap_getport): Likewise.
4118 * sunrpc/svc_udp.c (cache_get): Likewise.
4119 * sunrpc/xdr_array.c (xdr_vector): Likewise.
4120 * sysdeps/mach/hurd/getcwd.c
4121 (__canonicalize_directory_name_internal): Likewise.
4122 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4123 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4124 * sysdeps/mach/hurd/select.c (__select): Likewise.
4125 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4126 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4127 * sysdeps/sparc/nptl/pthread_barrier_init.c
4128 (__pthread_barrier_init): Likewise.
4129 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4130 (__pthread_cond_timedwait): Likewise.
4131 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4132 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4133 Likewise.
4134 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4135 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4136 Likewise.
4137 * sysvipc/semtimedop.c (semtimedop): Likewise.
4138 * time/setitimer.c (__setitimer): Likewise.
4139 * time/strftime_l.c (emacs_strftime): Likewise.
4140
4141 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4142
4143 * config.make.in (have-ssp): Delete.
4144 (stack-protector): New variable.
4145 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
4146 cache test for -fstack-protector-strong. Export stack_protector to
4147 the best ssp flag.
4148 * configure: Regenerated.
4149 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4150 * nscd/Makefile (CFLAGS-nscd): Likewise.
4151 * resolv/Makefile (CFLAGS-libresolv): Likewise.
4152
4153 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
4154
4155 [BZ #19122]
4156 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4157 attribute_hidden.
4158
4159 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4160
4161 [BZ #18743]
4162 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4163 code to...
4164 (ELIDE_LOCK): ...here.
4165 (__get_new_count): New function with part of the code from
4166 __elide_lock that updates the value of adapt_count after a
4167 transaction abort.
4168 (__elided_trylock): Moved this code to...
4169 (ELIDE_TRYLOCK): ...here.
4170
4171 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4172
4173 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4174 * configure: Regenerate.
4175 * INSTALL: Regenerate.
4176 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4177 and tweak grammar.
4178
4179 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
4180
4181 * login/programs/pt_chown.c: Include signal.h
4182 (main): Clear any signal mask from the parent process.
4183
4184 2015-10-19 Joseph Myers <joseph@codesourcery.com>
4185
4186 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4187 * configure: Regenerated.
4188 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4189 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4190 $(gnu89-inline-CFLAGS).
4191
4192 * configure.ac (libc_cv_asm_weak_directive): Remove configure
4193 test.
4194 (libc_cv_asm_weakext_directive): Likewise.
4195 * configure: Regenerated.
4196 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4197 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4198 * include/libc-symbols.h
4199 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4200 #error.
4201 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4202 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4203
4204 * sysdeps/arm/backtrace.c (__backtrace): Convert to
4205 prototype-style function definition.
4206 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4207 * sysdeps/i386/ffs.c (__ffs): Likewise.
4208 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4209 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4210 Likewise.
4211 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4212 Likewise.
4213 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4214 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4215 Likewise.
4216 * sysdeps/m68k/ffs.c (__ffs): Likewise.
4217 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4218 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4219 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4220 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4221 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4222 * sysdeps/mach/hurd/access.c (__access): Likewise.
4223 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4224 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4225 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4226 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4227 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4228 (cthread_getspecific): Likewise.
4229 (cthread_setspecific): Likewise.
4230 (__libc_getspecific): Likewise.
4231 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4232 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4233 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4234 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4235 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4236 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4237 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4238 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4239 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4240 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4241 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4242 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4243 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4244 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4245 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4246 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4247 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4248 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4249 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4250 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4251 * sysdeps/mach/hurd/link.c (__link): Likewise.
4252 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4253 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4254 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4255 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4256 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4257 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4258 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4259 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4260 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4261 * sysdeps/mach/hurd/rename.c (rename): Likewise.
4262 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4263 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4264 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4265 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4266 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4267 * sysdeps/mach/hurd/send.c (__send): Likewise.
4268 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4269 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4270 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4271 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4272 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4273 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4274 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4275 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4276 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4277 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4278 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4279 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4280 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4281 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4282 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4283 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4284 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4285 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4286 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4287 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4288 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4289 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4290 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4291 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4292 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4293 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4294 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4295 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4296 * sysdeps/posix/alarm.c (alarm): Likewise.
4297 * sysdeps/posix/cuserid.c (cuserid): Likewise.
4298 * sysdeps/posix/dirfd.c (dirfd): Likewise.
4299 * sysdeps/posix/dup.c (__dup): Likewise.
4300 * sysdeps/posix/dup2.c (__dup2): Likewise.
4301 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4302 (main): Likewise.
4303 * sysdeps/posix/flock.c (__flock): Likewise.
4304 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4305 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4306 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4307 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4308 * sysdeps/posix/isatty.c (__isatty): Likewise.
4309 * sysdeps/posix/killpg.c (killpg): Likewise.
4310 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4311 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4312 * sysdeps/posix/raise.c (raise): Likewise.
4313 * sysdeps/posix/remove.c (remove): Likewise.
4314 * sysdeps/posix/rename.c (rename): Likewise.
4315 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4316 * sysdeps/posix/seekdir.c (seekdir): Likewise.
4317 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4318 * sysdeps/posix/sigignore.c (sigignore): Likewise.
4319 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4320 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4321 * sysdeps/posix/sigset.c (sigset): Likewise.
4322 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4323 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4324 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4325 * sysdeps/posix/time.c (time): Likewise.
4326 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4327 (ttyname): Likewise.
4328 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4329 * sysdeps/posix/utime.c (utime): Likewise.
4330 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4331 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4332 Likewise.
4333 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4334 (pthread_spin_trylock): Likewise.
4335 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4336 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4337 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4338 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4339 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4340 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4341 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4342 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4343 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4344 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4345 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4346 * sysdeps/s390/ffs.c (__ffs): Likewise.
4347 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4348 Likewise.
4349 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4350 Likewise.
4351 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4352 Likewise.
4353 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4354 (pthread_barrier_destroy): Likewise.
4355 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4356 (__pthread_barrier_wait): Likewise.
4357 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4358 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4359 (__pthread_barrier_wait): Likewise.
4360 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4361 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4362 (memcmp_not_common_alignment): Likewise.
4363 (MEMCMP): Likewise.
4364 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4365 (_wordcopy_fwd_dest_aligned): Likewise.
4366 (_wordcopy_bwd_aligned): Likewise.
4367 (_wordcopy_bwd_dest_aligned): Likewise.
4368 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4369 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4370 * sysdeps/unix/bsd/stty.c (stty): Likewise.
4371 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4372 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4373 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4374 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4375 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4376 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4377 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4378 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4379 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4380 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4381 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4382 * sysdeps/unix/stime.c (stime): Likewise.
4383 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4384 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4385 Likewise. Use internal_function.
4386 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4387 Convert to prototype-style function definition.
4388 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4389 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4390 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4391 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4392 Likewise. Use internal_function.
4393 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4394 prototype-style function definition
4395 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4396 Likewise.
4397 (__getlogin_r): Likewise.
4398 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4399 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4400 (__pthread_cond_broadcast): Likewise.
4401 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4402 (__pthread_cond_destroy): Likewise.
4403 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4404 (__pthread_cond_init): Likewise.
4405 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4406 (__pthread_cond_signal): Likewise.
4407 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4408 (__pthread_cond_wait): Likewise.
4409 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4410 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4411 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4412 Likewise.
4413 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4414 Likewise.
4415 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4416 Likewise.
4417 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4418 Likewise.
4419 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4421 (__ftruncate64): Likewise.
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4423 (truncate64): Likewise.
4424 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4425 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4426 (pthread_getcpuclockid): Likewise.
4427 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4428 Likewise.
4429 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4430 Likewise.
4431 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4432 Likewise.
4433 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4434 Likewise.
4435 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4436 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4437 (__libc_sigaction): Likewise.
4438 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4439 Likewise.
4440 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4441 (__sigprocmask): Likewise.
4442 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4443 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4444 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4445 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4446 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4447 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4448 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4449 Likewise.
4450 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4451 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4452 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4453 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4454 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4455 Likewise.
4456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4457 (__sigprocmask): Likewise.
4458 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4459 (cfgetispeed): Likewise.
4460 (cfsetospeed): Likewise.
4461 (cfsetispeed): Likewise.
4462 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4463 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4464 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4465 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4466 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4467 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4468 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4469 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4470 Likewise.
4471 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4472 Likewise.
4473 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4474 Likewise.
4475 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4476 Likewise.
4477 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4478
4479 2015-10-17 Florian Weimer <fweimer@redhat.com>
4480
4481 sunrpc: Rewrite with explicit TLS access using __thread.
4482 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4483 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4484 directly.
4485 (__rpc_thread_variables): Access thread_rpc_vars directly.
4486 Eliminate redundant assignment of the tvp variable.
4487
4488 2015-10-17 Florian Weimer <fweimer@redhat.com>
4489
4490 malloc: Rewrite with explicit TLS access using __thread.
4491 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4492 (tsd_setspecific, tsd_getspecific): Remove.
4493 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4494 (tsd_setspecific, tsd_getspecific): Likewise.
4495 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4496 (tsd_setspecific, tsd_getspecific): Likewise.
4497 * malloc/arena.c (thread_arena): New TLS variable.
4498 (arena_key): Remove variable.
4499 (arena_get): Use thread_arena.
4500 (arena_lookup): Remove macro.
4501 (malloc_atfork, free_atfork, ptmalloc_lock_all)
4502 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4503 (_int_new_arena, get_free_list, reused_arena)
4504 (arena_thread_freeres): Use thread_arena.
4505 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4506 tsd_getspecific, tsd_setspecific from safety annotations.
4507 (Allocating Cleared Space): Remove arena_lookup from safety
4508 annotations.
4509
4510 2015-10-17 Florian Weimer <fweimer@redhat.com>
4511
4512 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4513 struct scratch_buffer instead of extend_alloca.
4514
4515 2015-10-17 Florian Weimer <fweimer@redhat.com>
4516
4517 * sysdeps/unix/sysv/linux/kernel-features.h
4518 (__ASSUME_SOCK_CLOEXEC): Remove.
4519 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4520 (__have_paccept): Remove unused macro.
4521 * include/unistd.h (__have_sock_cloexec): Remove declaration.
4522 * misc/syslog.c (openlog_internal): Remove fallback code for
4523 !__ASSUME_SOCK_CLOEXEC.
4524 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4525 missing SOCK_CLOEXEC.
4526 * nscd/connections.c (have_sock_cloexec): Remove definition.
4527 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4528 * nscd/nscd_helper.c (open_socket): Remove fallback code for
4529 !__ASSUME_SOCK_CLOEXEC.
4530 * resolv/res_send.c (__have_o_nonblock): Remove definition.
4531 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4532 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4533 definition.
4534 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4535 code for !__ASSUME_SOCK_CLOEXEC.
4536
4537 2015-10-17 Florian Weimer <fweimer@redhat.com>
4538
4539 [BZ #18982]
4540 * manual/stdio.texi (Variable Arguments Output): Add portability
4541 note, explaining that vfprintf clobbers the va_list pointer.
4542
4543 2015-10-16 Joseph Myers <joseph@codesourcery.com>
4544
4545 * math/libm-test.inc (fabs_test_data): Add more tests.
4546 (fdim_test_data): Likewise.
4547 (fma_test_data): Likewise.
4548 (fmax_test_data): Likewise.
4549 (fmin_test_data): Likewise.
4550 (fmod_test_data): Likewise.
4551
4552 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
4553
4554 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
4555 data.
4556
4557 2015-10-16 Joseph Myers <joseph@codesourcery.com>
4558
4559 * math/libm-test.inc (ceil_test_data): Add more tests and more
4560 expectations for "inexact".
4561 (floor_test_data): Add more tests.
4562 (round_test_data): Likewise.
4563 (trunc_test_data): Likewise.
4564
4565 * crypt/cert.c (good_bye): Convert to prototype-style function
4566 definition.
4567 (get8): Likewise.
4568 (put8): Likewise.
4569 * crypt/crypt-entry.c (crypt): Likewise.
4570 (__fcrypt): Likewise.
4571 * crypt/crypt_util.c (_ufc_prbits): Likewise.
4572 (_ufc_set_bits): Likewise.
4573 (_ufc_clearmem): Likewise.
4574 (__init_des_r): Likewise.
4575 (shuffle_sb): Likewise.
4576 (shuffle_sb): Likewise.
4577 (_ufc_setup_salt_r): Likewise.
4578 (_ufc_mk_keytab_r): Likewise.
4579 (_ufc_dofinalperm_r): Likewise.
4580 (encrypt): Likewise.
4581 (__setkey_r): Likewise.
4582 (setkey): Likewise.
4583 * crypt/md5.c (md5_init_ctx): Likewise.
4584 (md5_read_ctx): Likewise.
4585 (md5_finish_ctx): Likewise.
4586 (md5_stream): Likewise.
4587 (md5_buffer): Likewise.
4588 (md5_process_bytes): Likewise.
4589 * crypt/sha256.c (__sha256_init_ctx): Likewise.
4590 (__sha256_finish_ctx): Likewise.
4591 (__sha256_process_bytes): Likewise.
4592 * crypt/sha512.c (__sha512_init_ctx): Likewise.
4593 (__sha512_finish_ctx): Likewise.
4594 (__sha512_process_bytes): Likewise.
4595 * ctype/isctype.c (__isctype): Likewise.
4596 * debug/backtrace.c (__backtrace): Likewise.
4597 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4598 * debug/fgets_chk.c (__fgets_chk): Likewise.
4599 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4600 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4601 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4602 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4603 * debug/memset_chk.c (__memset_chk): Likewise.
4604 * debug/strcat_chk.c (__strcat_chk): Likewise.
4605 * debug/strncat_chk.c (__strncat_chk): Likewise.
4606 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4607 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4608 * dirent/dirfd.c (dirfd): Likewise.
4609 * dirent/getdents.c (__getdirentries): Likewise.
4610 * dirent/getdents64.c (getdirentries64): Likewise.
4611 * dirent/rewinddir.c (__rewinddir): Likewise.
4612 * dirent/seekdir.c (seekdir): Likewise.
4613 * dirent/telldir.c (telldir): Likewise.
4614 * elf/sln.c (makesymlinks): Likewise.
4615 (makesymlink): Likewise.
4616 * gmon/gmon.c (__moncontrol): Likewise.
4617 (__monstartup): Likewise.
4618 (write_hist): Likewise.
4619 (write_call_graph): Likewise.
4620 (write_bb_counts): Likewise.
4621 * grp/setgroups.c (setgroups): Likewise.
4622 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4623 * inet/inet_net.c (inet_network): Likewise.
4624 * inet/inet_netof.c (inet_netof): Likewise.
4625 * inet/rcmd.c (rresvport_af): Likewise.
4626 (rresvport): Likewise.
4627 * io/access.c (__access): Likewise.
4628 * io/chdir.c (__chdir): Likewise.
4629 * io/chmod.c (__chmod): Likewise.
4630 * io/chown.c (__chown): Likewise.
4631 * io/close.c (__close): Likewise.
4632 * io/creat.c (creat): Likewise.
4633 * io/creat64.c (creat64): Likewise.
4634 * io/dup.c (__dup): Likewise.
4635 * io/dup2.c (__dup2): Likewise.
4636 * io/dup3.c (__dup3): Likewise.
4637 * io/euidaccess.c (__euidaccess): Likewise.
4638 * io/faccessat.c (faccessat): Likewise.
4639 * io/fchmod.c (__fchmod): Likewise.
4640 * io/fchmodat.c (fchmodat): Likewise.
4641 * io/fchown.c (__fchown): Likewise.
4642 * io/fchownat.c (fchownat): Likewise.
4643 * io/fcntl.c (__fcntl): Likewise.
4644 * io/flock.c (__flock): Likewise.
4645 * io/fts.c (fts_load): Likewise.
4646 (fts_close): Likewise.
4647 (fts_read): Likewise.
4648 (fts_set): Likewise.
4649 (fts_children): Likewise.
4650 (fts_build): Likewise.
4651 (fts_stat): Likewise.
4652 (fts_sort): Likewise.
4653 (fts_alloc): Likewise.
4654 (fts_lfree): Likewise.
4655 (fts_palloc): Likewise.
4656 (fts_padjust): Likewise.
4657 (fts_maxarglen): Likewise.
4658 (fts_safe_changedir): Likewise.
4659 * io/getwd.c (getwd): Likewise.
4660 * io/isatty.c (__isatty): Likewise.
4661 * io/lchown.c (__lchown): Likewise.
4662 * io/link.c (__link): Likewise.
4663 * io/linkat.c (linkat): Likewise.
4664 * io/lseek.c (__libc_lseek): Likewise.
4665 * io/mkdir.c (__mkdir): Likewise.
4666 * io/mkdirat.c (mkdirat): Likewise.
4667 * io/mkfifo.c (mkfifo): Likewise.
4668 * io/mkfifoat.c (mkfifoat): Likewise.
4669 * io/open.c (__libc_open): Likewise.
4670 * io/open64.c (__libc_open64): Likewise.
4671 * io/readlink.c (__readlink): Likewise.
4672 * io/readlinkat.c (readlinkat): Likewise.
4673 * io/rmdir.c (__rmdir): Likewise.
4674 * io/symlink.c (__symlink): Likewise.
4675 * io/symlinkat.c (symlinkat): Likewise.
4676 * io/ttyname.c (ttyname): Likewise.
4677 * io/ttyname_r.c (__ttyname_r): Likewise.
4678 * io/umask.c (__umask): Likewise.
4679 * io/unlink.c (__unlink): Likewise.
4680 * io/unlinkat.c (unlinkat): Likewise.
4681 * io/utime.c (utime): Likewise.
4682 * libio/clearerr.c (clearerr): Likewise.
4683 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4684 * libio/feof.c (_IO_feof): Likewise.
4685 * libio/feof_u.c (feof_unlocked): Likewise.
4686 * libio/ferror.c (_IO_ferror): Likewise.
4687 * libio/ferror_u.c (ferror_unlocked): Likewise.
4688 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4689 * libio/fileno.c (__fileno): Likewise.
4690 * libio/fputc.c (fputc): Likewise.
4691 * libio/fputc_u.c (fputc_unlocked): Likewise.
4692 * libio/fputwc.c (fputwc): Likewise.
4693 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4694 * libio/freopen.c (freopen): Likewise.
4695 * libio/freopen64.c (freopen64): Likewise.
4696 * libio/fseek.c (fseek): Likewise.
4697 * libio/fseeko.c (fseeko): Likewise.
4698 * libio/fseeko64.c (fseeko64): Likewise.
4699 * libio/ftello.c (__ftello): Likewise.
4700 * libio/ftello64.c (ftello64): Likewise.
4701 * libio/fwide.c (fwide): Likewise.
4702 * libio/genops.c (_IO_un_link): Likewise.
4703 (_IO_link_in): Likewise.
4704 (_IO_least_marker): Likewise.
4705 (_IO_switch_to_main_get_area): Likewise.
4706 (_IO_switch_to_backup_area): Likewise.
4707 (_IO_switch_to_get_mode): Likewise.
4708 (_IO_free_backup_area): Likewise.
4709 (_IO_switch_to_put_mode): Likewise.
4710 (__overflow): Likewise.
4711 (__underflow): Likewise.
4712 (__uflow): Likewise.
4713 (_IO_setb): Likewise.
4714 (_IO_doallocbuf): Likewise.
4715 (_IO_default_underflow): Likewise.
4716 (_IO_default_uflow): Likewise.
4717 (_IO_default_xsputn): Likewise.
4718 (_IO_sgetn): Likewise.
4719 (_IO_default_xsgetn): Likewise.
4720 (_IO_sync): Likewise.
4721 (_IO_default_setbuf): Likewise.
4722 (_IO_default_seekpos): Likewise.
4723 (_IO_default_doallocate): Likewise.
4724 (_IO_init): Likewise.
4725 (_IO_old_init): Likewise.
4726 (_IO_default_sync): Likewise.
4727 (_IO_default_finish): Likewise.
4728 (_IO_default_seekoff): Likewise.
4729 (_IO_sputbackc): Likewise.
4730 (_IO_sungetc): Likewise.
4731 (_IO_set_column): Likewise.
4732 (_IO_set_column): Likewise.
4733 (_IO_adjust_column): Likewise.
4734 (_IO_get_column): Likewise.
4735 (_IO_init_marker): Likewise.
4736 (_IO_remove_marker): Likewise.
4737 (_IO_marker_difference): Likewise.
4738 (_IO_marker_delta): Likewise.
4739 (_IO_seekmark): Likewise.
4740 (_IO_unsave_markers): Likewise.
4741 (_IO_nobackup_pbackfail): Likewise.
4742 (_IO_default_pbackfail): Likewise.
4743 (_IO_default_seek): Likewise.
4744 (_IO_default_stat): Likewise.
4745 (_IO_default_read): Likewise.
4746 (_IO_default_write): Likewise.
4747 (_IO_default_showmanyc): Likewise.
4748 (_IO_default_imbue): Likewise.
4749 (_IO_iter_next): Likewise.
4750 (_IO_iter_file): Likewise.
4751 * libio/getc.c (_IO_getc): Likewise.
4752 * libio/getwc.c (_IO_getwc): Likewise.
4753 * libio/iofclose.c (_IO_new_fclose): Likewise.
4754 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4755 * libio/iofflush.c (_IO_fflush): Likewise.
4756 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4757 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4758 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4759 * libio/iofgets.c (_IO_fgets): Likewise.
4760 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4761 * libio/iofgetws.c (fgetws): Likewise.
4762 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4763 * libio/iofopen64.c (_IO_fopen64): Likewise.
4764 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4765 (_IO_cookie_write): Likewise.
4766 (_IO_cookie_seek): Likewise.
4767 (_IO_cookie_close): Likewise.
4768 (_IO_cookie_seekoff): Likewise.
4769 (_IO_old_cookie_seek): Likewise.
4770 * libio/iofputs.c (_IO_fputs): Likewise.
4771 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4772 * libio/iofputws.c (fputws): Likewise.
4773 * libio/iofputws_u.c (fputws_unlocked): Likewise.
4774 * libio/iofread.c (_IO_fread): Likewise.
4775 * libio/iofread_u.c (__fread_unlocked): Likewise.
4776 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4777 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4778 * libio/ioftell.c (_IO_ftell): Likewise.
4779 * libio/iofwrite.c (_IO_fwrite): Likewise.
4780 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4781 * libio/iogets.c (_IO_gets): Likewise.
4782 * libio/iopadn.c (_IO_padn): Likewise.
4783 * libio/iopopen.c (_IO_new_proc_open): Likewise.
4784 (_IO_new_popen): Likewise.
4785 (_IO_new_proc_close): Likewise.
4786 * libio/ioputs.c (_IO_puts): Likewise.
4787 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4788 (_IO_seekoff): Likewise.
4789 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4790 (_IO_seekpos): Likewise.
4791 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4792 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4793 * libio/ioungetc.c (_IO_ungetc): Likewise.
4794 * libio/ioungetwc.c (ungetwc): Likewise.
4795 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4796 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4797 * libio/iowpadn.c (_IO_wpadn): Likewise.
4798 * libio/libc_fatal.c (__libc_fatal): Likewise.
4799 * libio/memstream.c (__open_memstream): Likewise.
4800 (_IO_mem_sync): Likewise.
4801 (_IO_mem_finish): Likewise.
4802 * libio/oldfileops.c (_IO_old_file_init): Likewise.
4803 (_IO_old_file_close_it): Likewise.
4804 (_IO_old_file_finish): Likewise.
4805 (_IO_old_file_fopen): Likewise.
4806 (_IO_old_file_attach): Likewise.
4807 (_IO_old_file_setbuf): Likewise.
4808 (_IO_old_do_write): Likewise.
4809 (old_do_write): Likewise.
4810 (_IO_old_file_underflow): Likewise.
4811 (_IO_old_file_overflow): Likewise.
4812 (_IO_old_file_sync): Likewise.
4813 (_IO_old_file_seekoff): Likewise.
4814 (_IO_old_file_write): Likewise.
4815 (_IO_old_file_xsputn): Likewise.
4816 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4817 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4818 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4819 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4820 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4821 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4822 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4823 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4824 (_IO_old_popen): Likewise.
4825 (_IO_old_proc_close): Likewise.
4826 * libio/oldpclose.c (__old_pclose): Likewise.
4827 * libio/pclose.c (__new_pclose): Likewise.
4828 * libio/peekc.c (_IO_peekc_locked): Likewise.
4829 * libio/putc.c (_IO_putc): Likewise.
4830 * libio/putc_u.c (putc_unlocked): Likewise.
4831 * libio/putchar.c (putchar): Likewise.
4832 * libio/putchar_u.c (putchar_unlocked): Likewise.
4833 * libio/putwc.c (putwc): Likewise.
4834 * libio/putwc_u.c (putwc_unlocked): Likewise.
4835 * libio/putwchar.c (putwchar): Likewise.
4836 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4837 * libio/rewind.c (rewind): Likewise.
4838 * libio/setbuf.c (setbuf): Likewise.
4839 * libio/setlinebuf.c (setlinebuf): Likewise.
4840 * libio/vasprintf.c (_IO_vasprintf): Likewise.
4841 * libio/vscanf.c (_IO_vscanf): Likewise.
4842 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4843 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4844 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4845 * libio/wgenops.c (_IO_least_wmarker): Likewise.
4846 (_IO_switch_to_main_wget_area): Likewise.
4847 (_IO_switch_to_wbackup_area): Likewise.
4848 (_IO_wsetb): Likewise.
4849 (_IO_wdefault_pbackfail): Likewise.
4850 (_IO_wdefault_finish): Likewise.
4851 (_IO_wdefault_uflow): Likewise.
4852 (__woverflow): Likewise.
4853 (__wuflow): Likewise.
4854 (__wunderflow): Likewise.
4855 (_IO_wdefault_xsputn): Likewise.
4856 (_IO_wdefault_xsgetn): Likewise.
4857 (_IO_wdoallocbuf): Likewise.
4858 (_IO_wdefault_doallocate): Likewise.
4859 (_IO_switch_to_wget_mode): Likewise.
4860 (_IO_free_wbackup_area): Likewise.
4861 (_IO_switch_to_wput_mode): Likewise.
4862 (_IO_sputbackwc): Likewise.
4863 (_IO_sungetwc): Likewise.
4864 (_IO_adjust_wcolumn): Likewise.
4865 (_IO_init_wmarker): Likewise.
4866 (_IO_wmarker_delta): Likewise.
4867 (_IO_seekwmark): Likewise.
4868 (_IO_unsave_wmarkers): Likewise.
4869 * libio/wmemstream.c (open_wmemstream): Likewise.
4870 (_IO_wmem_sync): Likewise.
4871 (_IO_wmem_finish): Likewise.
4872 * locale/nl_langinfo.c (nl_langinfo): Likewise.
4873 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4874 * locale/programs/simple-hash.c (init_hash): Likewise.
4875 (delete_hash): Likewise.
4876 (insert_entry): Likewise.
4877 (set_entry): Likewise.
4878 (next_prime): Likewise.
4879 (is_prime): Likewise.
4880 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4881 (xmalloc): Likewise.
4882 (xrealloc): Likewise.
4883 * locale/programs/xstrdup.c (xstrdup): Likewise.
4884 * localedata/collate-test.c (xstrcoll): Likewise.
4885 * localedata/xfrm-test.c (xstrcmp): Likewise.
4886 * login/getlogin_r.c (__getlogin_r): Likewise.
4887 * login/getpt.c (__posix_openpt): Likewise.
4888 * login/login_tty.c (login_tty): Likewise.
4889 * login/setlogin.c (setlogin): Likewise.
4890 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4891 (mach_msg_destroy_port): Likewise.
4892 (mach_msg_destroy_memory): Likewise.
4893 * malloc/mcheck.c (flood): Likewise.
4894 * misc/acct.c (acct): Likewise.
4895 * misc/brk.c (__brk): Likewise.
4896 * misc/chflags.c (chflags): Likewise.
4897 * misc/chroot.c (chroot): Likewise.
4898 * misc/fchflags.c (fchflags): Likewise.
4899 * misc/fstab.c (getfsspec): Likewise.
4900 (getfsfile): Likewise.
4901 * misc/fsync.c (fsync): Likewise.
4902 * misc/ftruncate.c (__ftruncate): Likewise.
4903 * misc/ftruncate64.c (__ftruncate64): Likewise.
4904 * misc/getdomain.c (getdomainname): Likewise.
4905 (getdomainname): Likewise.
4906 * misc/gethostname.c (__gethostname): Likewise.
4907 * misc/getpass.c (getpass): Likewise.
4908 * misc/getttyent.c (skip): Likewise.
4909 (value): Likewise.
4910 * misc/gtty.c (gtty): Likewise.
4911 * misc/hsearch.c (hsearch): Likewise.
4912 (hcreate): Likewise.
4913 * misc/hsearch_r.c (__hcreate_r): Likewise.
4914 (__hdestroy_r): Likewise.
4915 * misc/ioctl.c (__ioctl): Likewise.
4916 * misc/mkdtemp.c (mkdtemp): Likewise.
4917 * misc/mkostemp.c (mkostemp): Likewise.
4918 * misc/mkostemp64.c (mkostemp64): Likewise.
4919 * misc/mkostemps.c (mkostemps): Likewise.
4920 * misc/mkostemps64.c (mkostemps64): Likewise.
4921 * misc/mkstemp.c (mkstemp): Likewise.
4922 * misc/mkstemp64.c (mkstemp64): Likewise.
4923 * misc/mkstemps.c (mkstemps): Likewise.
4924 * misc/mkstemps64.c (mkstemps64): Likewise.
4925 * misc/mktemp.c (__mktemp): Likewise.
4926 * misc/preadv.c (preadv): Likewise.
4927 * misc/preadv64.c (preadv64): Likewise.
4928 * misc/pwritev.c (pwritev): Likewise.
4929 * misc/pwritev64.c (pwritev64): Likewise.
4930 * misc/readv.c (__readv): Likewise.
4931 * misc/revoke.c (revoke): Likewise.
4932 * misc/setdomain.c (setdomainname): Likewise.
4933 * misc/setegid.c (setegid): Likewise.
4934 * misc/seteuid.c (seteuid): Likewise.
4935 * misc/sethostid.c (sethostid): Likewise.
4936 * misc/sethostname.c (sethostname): Likewise.
4937 * misc/setregid.c (__setregid): Likewise.
4938 * misc/setreuid.c (__setreuid): Likewise.
4939 * misc/sstk.c (sstk): Likewise.
4940 * misc/stty.c (stty): Likewise.
4941 * misc/syscall.c (syscall): Likewise.
4942 * misc/syslog.c (setlogmask): Likewise.
4943 * misc/truncate.c (__truncate): Likewise.
4944 * misc/truncate64.c (truncate64): Likewise.
4945 * misc/ualarm.c (ualarm): Likewise.
4946 * misc/usleep.c (usleep): Likewise.
4947 * misc/ustat.c (ustat): Likewise.
4948 * misc/writev.c (__writev): Likewise.
4949 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4950 * nptl/old_pthread_cond_broadcast.c
4951 (__pthread_cond_broadcast_2_0): Likewise.
4952 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4953 Likewise.
4954 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4955 Likewise.
4956 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4957 Likewise.
4958 * nptl/pt-raise.c (raise): Likewise.
4959 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4960 Likewise.
4961 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4962 * nptl/pthread_barrierattr_destroy.c
4963 (pthread_barrierattr_destroy): Likewise.
4964 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4965 Likewise.
4966 * nptl/pthread_barrierattr_setpshared.c
4967 (pthread_barrierattr_setpshared): Likewise.
4968 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4969 Likewise.
4970 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4971 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4972 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4973 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4974 Likewise.
4975 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4976 Likewise.
4977 * nptl/pthread_condattr_getpshared.c
4978 (pthread_condattr_getpshared): Likewise.
4979 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4980 Likewise.
4981 * nptl/pthread_condattr_setpshared.c
4982 (pthread_condattr_setpshared): Likewise.
4983 * nptl/pthread_detach.c (pthread_detach): Likewise.
4984 * nptl/pthread_equal.c (__pthread_equal): Likewise.
4985 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4986 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4987 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4988 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4989 Likewise.
4990 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4991 Likewise.
4992 * nptl/pthread_mutex_getprioceiling.c
4993 (pthread_mutex_getprioceiling): Likewise.
4994 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4995 Likewise.
4996 * nptl/pthread_mutexattr_getprotocol.c
4997 (pthread_mutexattr_getprotocol): Likewise.
4998 * nptl/pthread_mutexattr_getpshared.c
4999 (pthread_mutexattr_getpshared): Likewise.
5000 * nptl/pthread_mutexattr_getrobust.c
5001 (pthread_mutexattr_getrobust): Likewise.
5002 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5003 Likewise.
5004 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5005 Likewise.
5006 * nptl/pthread_mutexattr_setprioceiling.c
5007 (pthread_mutexattr_setprioceiling): Likewise.
5008 * nptl/pthread_mutexattr_setprotocol.c
5009 (pthread_mutexattr_setprotocol): Likewise.
5010 * nptl/pthread_mutexattr_setpshared.c
5011 (pthread_mutexattr_setpshared): Likewise.
5012 * nptl/pthread_mutexattr_setrobust.c
5013 (pthread_mutexattr_setrobust): Likewise.
5014 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5015 Likewise.
5016 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5017 Likewise.
5018 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5019 Likewise.
5020 * nptl/pthread_rwlockattr_getkind_np.c
5021 (pthread_rwlockattr_getkind_np): Likewise.
5022 * nptl/pthread_rwlockattr_getpshared.c
5023 (pthread_rwlockattr_getpshared): Likewise.
5024 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5025 Likewise.
5026 * nptl/pthread_rwlockattr_setkind_np.c
5027 (pthread_rwlockattr_setkind_np): Likewise.
5028 * nptl/pthread_rwlockattr_setpshared.c
5029 (pthread_rwlockattr_setpshared): Likewise.
5030 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5031 Likewise.
5032 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5033 Likewise.
5034 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5035 Likewise.
5036 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5037 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5038 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5039 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5040 * nptl/sem_close.c (sem_close): Likewise.
5041 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5042 * nptl/sem_init.c (__old_sem_init): Likewise.
5043 * nptl/sigaction.c (__sigaction): Likewise.
5044 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5045 * posix/_exit.c (_exit): Likewise.
5046 * posix/alarm.c (alarm): Likewise.
5047 * posix/confstr.c (confstr): Likewise.
5048 * posix/fpathconf.c (__fpathconf): Likewise.
5049 * posix/getgroups.c (__getgroups): Likewise.
5050 * posix/getpgid.c (__getpgid): Likewise.
5051 * posix/group_member.c (__group_member): Likewise.
5052 * posix/pathconf.c (__pathconf): Likewise.
5053 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5054 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5055 * posix/setgid.c (__setgid): Likewise.
5056 * posix/setpgid.c (__setpgid): Likewise.
5057 * posix/setuid.c (__setuid): Likewise.
5058 * posix/sleep.c (__sleep): Likewise.
5059 * posix/sysconf.c (__sysconf): Likewise.
5060 * posix/times.c (__times): Likewise.
5061 * posix/uname.c (__uname): Likewise.
5062 * posix/waitid.c (__waitid): Likewise.
5063 * pwd/getpw.c (__getpw): Likewise.
5064 * resolv/base64.c (b64_pton): Likewise.
5065 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5066 * resolv/gethnamaddr.c (Dprintf): Likewise.
5067 (gethostbyname): Likewise.
5068 (gethostbyname2): Likewise.
5069 (gethostbyaddr): Likewise.
5070 (_sethtent): Likewise.
5071 (_gethtbyname): Likewise.
5072 (_gethtbyname2): Likewise.
5073 (_gethtbyaddr): Likewise.
5074 (map_v4v6_address): Likewise.
5075 (map_v4v6_hostent): Likewise.
5076 (addrsort): Likewise.
5077 (ht_sethostent): Likewise.
5078 (ht_gethostbyname): Likewise.
5079 (ht_gethostbyaddr): Likewise.
5080 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5081 (inet_net_ntop_ipv4): Likewise.
5082 * resolv/inet_neta.c (inet_neta): Likewise.
5083 * resolv/inet_ntop.c (inet_ntop): Likewise.
5084 (inet_ntop4): Likewise.
5085 (inet_ntop6): Likewise.
5086 * resolv/inet_pton.c (__inet_pton): Likewise.
5087 (inet_pton4): Likewise.
5088 (inet_pton6): Likewise.
5089 * resolv/res_debug.c (loc_aton): Likewise.
5090 (loc_ntoa): Likewise.
5091 * resource/getpriority.c (__getpriority): Likewise.
5092 * resource/getrusage.c (__getrusage): Likewise.
5093 * resource/nice.c (nice): Likewise.
5094 * resource/setpriority.c (__setpriority): Likewise.
5095 * resource/setrlimit64.c (setrlimit64): Likewise.
5096 * resource/vlimit.c (vlimit): Likewise.
5097 * resource/vtimes.c (vtimes): Likewise.
5098 * rt/aio_error.c (aio_error): Likewise.
5099 * rt/aio_return.c (aio_return): Likewise.
5100 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5101 * signal/kill.c (__kill): Likewise.
5102 * signal/killpg.c (killpg): Likewise.
5103 * signal/raise.c (raise): Likewise.
5104 * signal/sigaction.c (__sigaction): Likewise.
5105 * signal/sigaddset.c (sigaddset): Likewise.
5106 * signal/sigaltstack.c (sigaltstack): Likewise.
5107 * signal/sigandset.c (sigandset): Likewise.
5108 * signal/sigblock.c (__sigblock): Likewise.
5109 * signal/sigdelset.c (sigdelset): Likewise.
5110 * signal/sigempty.c (sigemptyset): Likewise.
5111 * signal/sigfillset.c (sigfillset): Likewise.
5112 * signal/sighold.c (sighold): Likewise.
5113 * signal/sigignore.c (sigignore): Likewise.
5114 * signal/sigintr.c (siginterrupt): Likewise.
5115 * signal/sigisempty.c (sigisemptyset): Likewise.
5116 * signal/sigismem.c (sigismember): Likewise.
5117 * signal/signal.c (signal): Likewise.
5118 * signal/sigorset.c (sigorset): Likewise.
5119 * signal/sigpause.c (__sigpause): Likewise.
5120 * signal/sigpending.c (sigpending): Likewise.
5121 * signal/sigprocmask.c (__sigprocmask): Likewise.
5122 * signal/sigrelse.c (sigrelse): Likewise.
5123 * signal/sigreturn.c (__sigreturn): Likewise.
5124 * signal/sigset.c (sigset): Likewise.
5125 * signal/sigsetmask.c (__sigsetmask): Likewise.
5126 * signal/sigstack.c (sigstack): Likewise.
5127 * signal/sigsuspend.c (__sigsuspend): Likewise.
5128 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5129 * signal/sysv_signal.c (__sysv_signal): Likewise.
5130 * socket/accept.c (accept): Likewise.
5131 * socket/accept4.c (__libc_accept4): Likewise.
5132 * socket/bind.c (__bind): Likewise.
5133 * socket/connect.c (__connect): Likewise.
5134 * socket/getpeername.c (getpeername): Likewise.
5135 * socket/getsockname.c (__getsockname): Likewise.
5136 * socket/getsockopt.c (getsockopt): Likewise.
5137 * socket/listen.c (__listen): Likewise.
5138 * socket/recv.c (__recv): Likewise.
5139 * socket/recvmsg.c (__recvmsg): Likewise.
5140 * socket/send.c (__send): Likewise.
5141 * socket/sendmsg.c (__sendmsg): Likewise.
5142 * socket/shutdown.c (shutdown): Likewise.
5143 * socket/sockatmark.c (sockatmark): Likewise.
5144 * socket/socket.c (__socket): Likewise.
5145 * stdio-common/ctermid.c (ctermid): Likewise.
5146 * stdio-common/cuserid.c (cuserid): Likewise.
5147 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5148 * stdio-common/remove.c (remove): Likewise.
5149 * stdio-common/rename.c (rename): Likewise.
5150 * stdio-common/renameat.c (renameat): Likewise.
5151 * stdio-common/tempname.c (__gen_tempname): Likewise.
5152 * stdio-common/xbug.c (InitBuffer): Likewise.
5153 (AppendToBuffer): Likewise.
5154 (ReadFile): Likewise.
5155 * stdlib/a64l.c (a64l): Likewise.
5156 * stdlib/drand48_r.c (drand48_r): Likewise.
5157 * stdlib/getcontext.c (getcontext): Likewise.
5158 * stdlib/getenv.c (getenv): Likewise.
5159 * stdlib/l64a.c (l64a): Likewise.
5160 * stdlib/llabs.c (llabs): Likewise.
5161 * stdlib/lldiv.c (lldiv): Likewise.
5162 * stdlib/lrand48_r.c (lrand48_r): Likewise.
5163 * stdlib/mrand48_r.c (mrand48_r): Likewise.
5164 * stdlib/putenv.c (putenv): Likewise.
5165 * stdlib/random.c (__srandom): Likewise.
5166 (__initstate): Likewise.
5167 (__setstate): Likewise.
5168 * stdlib/random_r.c (__srandom_r): Likewise.
5169 (__setstate_r): Likewise.
5170 (__random_r): Likewise.
5171 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5172 * stdlib/setcontext.c (setcontext): Likewise.
5173 * stdlib/setenv.c (setenv): Likewise.
5174 (unsetenv): Likewise.
5175 * stdlib/srand48.c (srand48): Likewise.
5176 * stdlib/srand48_r.c (__srand48_r): Likewise.
5177 * stdlib/swapcontext.c (swapcontext): Likewise.
5178 * stdlib/system.c (__libc_system): Likewise.
5179 * stdlib/tst-strtod.c (expand): Likewise.
5180 * stdlib/tst-strtol.c (expand): Likewise.
5181 * stdlib/tst-strtoll.c (expand): Likewise.
5182 * streams/fattach.c (fattach): Likewise.
5183 * streams/fdetach.c (fdetach): Likewise.
5184 * streams/getmsg.c (getmsg): Likewise.
5185 * streams/isastream.c (isastream): Likewise.
5186 * string/ffs.c (__ffs): Likewise.
5187 * string/ffsll.c (ffsll): Likewise.
5188 * string/memcmp.c (memcmp_common_alignment): Likewise.
5189 (memcmp_not_common_alignment): Likewise.
5190 (MEMCMP): Likewise.
5191 * string/memcpy.c (memcpy): Likewise.
5192 * string/memmove.c (MEMMOVE): Likewise.
5193 * string/memset.c (memset): Likewise.
5194 * string/rawmemchr.c (RAWMEMCHR): Likewise.
5195 * string/strchrnul.c (STRCHRNUL): Likewise.
5196 * string/strerror.c (strerror): Likewise.
5197 * string/strndup.c (__strndup): Likewise.
5198 * string/strverscmp.c (__strverscmp): Likewise.
5199 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5200 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5201 (clnttcp_freeres): Likewise.
5202 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5203 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5204 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5205 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5206 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5207 (xdr_callhdr): Likewise.
5208 * sunrpc/rpcinfo.c (udpping): Likewise.
5209 (tcpping): Likewise.
5210 (pstatus): Likewise.
5211 (pmapdump): Likewise.
5212 (brdcst): Likewise.
5213 (deletereg): Likewise.
5214 (getprognum): Likewise.
5215 (getvers): Likewise.
5216 (get_inet_address): Likewise.
5217 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5218 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5219 (svcudp_stat): Likewise.
5220 (svcudp_recv): Likewise.
5221 (svcudp_reply): Likewise.
5222 (svcudp_getargs): Likewise.
5223 (svcudp_freeargs): Likewise.
5224 (svcudp_destroy): Likewise.
5225 * sunrpc/xdr.c (xdr_bytes): Likewise.
5226 (xdr_netobj): Likewise.
5227 (xdr_string): Likewise.
5228 (xdr_wrapstring): Likewise.
5229 * sunrpc/xdr_float.c (xdr_float): Likewise.
5230 (xdr_double): Likewise.
5231 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5232 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5233 * sysvipc/ftok.c (ftok): Likewise.
5234 * sysvipc/msgctl.c (msgctl): Likewise.
5235 * sysvipc/msgget.c (msgget): Likewise.
5236 * sysvipc/msgrcv.c (msgrcv): Likewise.
5237 * sysvipc/msgsnd.c (msgsnd): Likewise.
5238 * sysvipc/semget.c (semget): Likewise.
5239 * sysvipc/semop.c (semop): Likewise.
5240 * sysvipc/shmat.c (shmat): Likewise.
5241 * sysvipc/shmctl.c (shmctl): Likewise.
5242 * sysvipc/shmdt.c (shmdt): Likewise.
5243 * sysvipc/shmget.c (shmget): Likewise.
5244 * termios/cfmakeraw.c (cfmakeraw): Likewise.
5245 * termios/speed.c (cfgetospeed): Likewise.
5246 (cfgetispeed): Likewise.
5247 (cfsetospeed): Likewise.
5248 (cfsetispeed): Likewise.
5249 * termios/tcflow.c (tcflow): Likewise.
5250 * termios/tcflush.c (tcflush): Likewise.
5251 * termios/tcgetattr.c (__tcgetattr): Likewise.
5252 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5253 * termios/tcgetsid.c (tcgetsid): Likewise.
5254 * termios/tcsendbrk.c (tcsendbreak): Likewise.
5255 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5256 * time/adjtime.c (__adjtime): Likewise.
5257 * time/dysize.c (dysize): Likewise.
5258 * time/ftime.c (ftime): Likewise.
5259 * time/getitimer.c (__getitimer): Likewise.
5260 * time/gettimeofday.c (__gettimeofday): Likewise.
5261 * time/gmtime.c (__gmtime_r): Likewise.
5262 (gmtime): Likewise.
5263 * time/localtime.c (__localtime_r): Likewise.
5264 (localtime): Likewise.
5265 * time/offtime.c (__offtime): Likewise.
5266 * time/settimeofday.c (__settimeofday): Likewise.
5267 * time/stime.c (stime): Likewise.
5268 * time/strftime_l.c (tm_diff): Likewise.
5269 (iso_week_days): Likewise.
5270 * time/strptime.c (strptime): Likewise.
5271 * time/time.c (time): Likewise.
5272 * time/timespec_get.c (timespec_get): Likewise.
5273 * time/tzset.c (tzset_internal): Likewise.
5274 (compute_change): Likewise.
5275 (__tz_compute): Likewise.
5276 * wcsmbs/btowc.c (__btowc): Likewise.
5277 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5278 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5279 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5280 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5281 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5282 * wcsmbs/wcscat.c (__wcscat): Likewise.
5283 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5284 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5285 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5286 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5287 * wcsmbs/wcsdup.c (wcsdup): Likewise.
5288 * wcsmbs/wcslen.c (__wcslen): Likewise.
5289 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5290 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5291 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5292 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5293 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5294 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5295 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5296 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5297 * wcsmbs/wcstok.c (wcstok): Likewise.
5298 * wcsmbs/wctob.c (wctob): Likewise.
5299 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5300 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5301 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5302 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5303 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5304 * wcsmbs/wmemset.c (__wmemset): Likewise.
5305 * wctype/wcfuncs.c (__towlower): Likewise.
5306 (__towupper): Likewise.
5307
5308 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5309 (lll_unlock_elision): Add adapt_count parameter.
5310
5311 2015-10-15 Joseph Myers <joseph@codesourcery.com>
5312
5313 * sysdeps/nptl/configure.ac: Do not give errors based on the
5314 results of top-level configure tests.
5315 * sysdeps/nptl/configure: Regenerated.
5316
5317 * configure.ac (libc_cv_Bgroup): Remove configure test.
5318 * configure: Regenerated.
5319 * config.make.in (have-Bgroup): Remove variable.
5320
5321 * configure.ac (sizeof_long_double): Remove configure test.
5322 * configure: Regenerated.
5323 * config.make.in (sizeof-long-double): Remove variable.
5324
5325 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5326 * configure: Regenerated.
5327 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5328 variable.
5329 (exceptions): Likewise.
5330 * sysdeps/arm/configure: Regenerated.
5331 * config.make.in (exceptions): Remove variable.
5332 * Makeconfig (uses-callbacks): Use -fexceptions instead of
5333 $(exceptions).
5334 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5335 (CFLAGS-vdprintf_chk.c): Likewise.
5336 (CFLAGS-printf_chk.c): Likewise.
5337 (CFLAGS-fprintf_chk.c): Likewise.
5338 (CFLAGS-vprintf_chk.c): Likewise.
5339 (CFLAGS-vfprintf_chk.c): Likewise.
5340 (CFLAGS-gets_chk.c): Likewise.
5341 (CFLAGS-fgets_chk.c): Likewise.
5342 (CFLAGS-fgets_u_chk.c): Likewise.
5343 (CFLAGS-fread_chk.c): Likewise.
5344 (CFLAGS-fread_u_chk.c): Likewise.
5345 (CFLAGS-wprintf_chk.c): Likewise.
5346 (CFLAGS-fwprintf_chk.c): Likewise.
5347 (CFLAGS-vwprintf_chk.c): Likewise.
5348 (CFLAGS-vfwprintf_chk.c): Likewise.
5349 (CFLAGS-fgetws_chk.c): Likewise.
5350 (CFLAGS-fgetws_u_chk.c): Likewise.
5351 * libio/Makefile (CFLAGS-fileops.c): Likewise.
5352 (CFLAGS-fputc.c): Likewise.
5353 (CFLAGS-fputwc.c): Likewise.
5354 (CFLAGS-freopen64.c): Likewise.
5355 (CFLAGS-freopen.c): Likewise.
5356 (CFLAGS-fseek.c): Likewise.
5357 (CFLAGS-fseeko64.c): Likewise.
5358 (CFLAGS-fseeko.c): Likewise.
5359 (CFLAGS-ftello64.c): Likewise.
5360 (CFLAGS-ftello.c): Likewise.
5361 (CFLAGS-fwide.c): Likewise.
5362 (CFLAGS-genops.c): Likewise.
5363 (CFLAGS-getc.c): Likewise.
5364 (CFLAGS-getchar.c): Likewise.
5365 (CFLAGS-getwc.c): Likewise.
5366 (CFLAGS-getwchar.c): Likewise.
5367 (CFLAGS-iofclose.c): Likewise.
5368 (CFLAGS-iofflush.c): Likewise.
5369 (CFLAGS-iofgetpos64.c): Likewise.
5370 (CFLAGS-iofgetpos.c): Likewise.
5371 (CFLAGS-iofgets.c): Likewise.
5372 (CFLAGS-iofgetws.c): Likewise.
5373 (CFLAGS-iofputs.c): Likewise.
5374 (CFLAGS-iofputws.c): Likewise.
5375 (CFLAGS-iofread.c): Likewise.
5376 (CFLAGS-iofsetpos64.c): Likewise.
5377 (CFLAGS-iofsetpos.c): Likewise.
5378 (CFLAGS-ioftell.c): Likewise.
5379 (CFLAGS-iofwrite.c): Likewise.
5380 (CFLAGS-iogetdelim.c): Likewise.
5381 (CFLAGS-iogetline.c): Likewise.
5382 (CFLAGS-iogets.c): Likewise.
5383 (CFLAGS-iogetwline.c): Likewise.
5384 (CFLAGS-ioputs.c): Likewise.
5385 (CFLAGS-ioseekoff.c): Likewise.
5386 (CFLAGS-ioseekpos.c): Likewise.
5387 (CFLAGS-iosetbuffer.c): Likewise.
5388 (CFLAGS-iosetvbuf.c): Likewise.
5389 (CFLAGS-ioungetc.c): Likewise.
5390 (CFLAGS-ioungetwc.c): Likewise.
5391 (CFLAGS-oldfileops.c): Likewise.
5392 (CFLAGS-oldiofclose.c): Likewise.
5393 (CFLAGS-oldiofgetpos64.c): Likewise.
5394 (CFLAGS-oldiofgetpos.c): Likewise.
5395 (CFLAGS-oldiofsetpos64.c): Likewise.
5396 (CFLAGS-oldiofsetpos.c): Likewise.
5397 (CFLAGS-peekc.c): Likewise.
5398 (CFLAGS-putc.c): Likewise.
5399 (CFLAGS-putchar.c): Likewise.
5400 (CFLAGS-putwc.c): Likewise.
5401 (CFLAGS-putwchar.c): Likewise.
5402 (CFLAGS-rewind.c): Likewise.
5403 (CFLAGS-wfileops.c): Likewise.
5404 (CFLAGS-wgenops.c): Likewise.
5405 (CFLAGS-oldiofopen.c): Likewise.
5406 (CFLAGS-iofopen.c): Likewise.
5407 (CFLAGS-iofopen64.c): Likewise.
5408 (CFLAGS-oldtmpfile.c): Likewise.
5409 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5410 (CFLAGS-fprintf.c): Likewise.
5411 (CFLAGS-printf.c): Likewise.
5412 (CFLAGS-vfwprintf.c): Likewise.
5413 (CFLAGS-vfscanf.c): Likewise.
5414 (CFLAGS-vfwscanf.c): Likewise.
5415 (CFLAGS-fscanf.c): Likewise.
5416 (CFLAGS-scanf.c): Likewise.
5417 (CFLAGS-isoc99_vfscanf.c): Likewise.
5418 (CFLAGS-isoc99_vscanf.c): Likewise.
5419 (CFLAGS-isoc99_fscanf.c): Likewise.
5420 (CFLAGS-isoc99_scanf.c): Likewise.
5421 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5422 (CFLAGS-isoc99_fwscanf.c): Likewise.
5423 (CFLAGS-isoc99_vwscanf.c): Likewise.
5424 (CFLAGS-isoc99_vfwscanf.c): Likewise.
5425
5426 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5427 after mkstemp64.
5428 * login/tst-utmp.c (do_prepare): Likewise.
5429 * rt/tst-aio.c (do_prepare): Likewise.
5430 * rt/tst-aio64.c (do_prepare): Likewise.
5431
5432 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5433
5434 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5435 (__lll_lock_elision): Remove adapt_count decrement...
5436 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5437 (__lll_trylock_elision): Likewise.
5438 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5439 (__lll_unlock_elision): ... to here. And utilize
5440 new adapt_count parameter.
5441 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5442 (__lll_unlock_elision): Update to include adapt_count
5443 parameter.
5444 (lll_unlock_elision): Pass pointer to adapt_count
5445 variable.
5446
5447 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5448
5449 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5450 Add elision adapt_count parameter to list of arguments.
5451 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5452 (lll_unlock_elision): Update with new parameter list
5453 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5454 (lll_unlock_elision): Likewise.
5455 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5456 (lll_unlock_elision): Likewise.
5457
5458 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5459
5460 [BZ #19122]
5461 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5462 attribute_hidden.
5463
5464 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5465 attribute_hidden.
5466 [IS_IN (rtld)] (__strdup): Likewise.
5467 [IS_IN (rtld)] (__strerror_r): Likewise.
5468 [IS_IN (rtld)] (__strsep_g): Likewise.
5469 [IS_IN (rtld)] (memchr): Likewise.
5470 [IS_IN (rtld)] (memcmp): Likewise.
5471 [IS_IN (rtld)] (memcpy): Likewise.
5472 [IS_IN (rtld)] (memmove): Likewise.
5473 [IS_IN (rtld)] (memset): Likewise.
5474 [IS_IN (rtld)] (rawmemchr): Likewise.
5475 [IS_IN (rtld)] (stpcpy): Likewise.
5476 [IS_IN (rtld)] (strchr): Likewise.
5477 [IS_IN (rtld)] (strcmp): Likewise.
5478 [IS_IN (rtld)] (strlen): Likewise.
5479 [IS_IN (rtld)] (strnlen): Likewise.
5480 [IS_IN (rtld)] (strsep): Likewise.
5481
5482 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5483 attribute_hidden.
5484 [IS_IN (rtld)] (__strtoul_internal): Likewise.
5485
5486 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5487 attribute_hidden.
5488 [IS_IN (rtld)] (__libc_sigaction): Likewise.
5489
5490 * include/setjmp.h (__longjmp): Add attribute_hidden.
5491 [IS_IN (rtld)] (__sigsetjmp): Likewise.
5492
5493 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5494 Add attribute_hidden.
5495
5496 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5497 [IS_IN (rtld)] (__open): Likewise.
5498 [IS_IN (rtld)] (__fcntl): Likewise.
5499
5500 * include/dirent.h (__opendirat): Add attribute_hidden.
5501 (__getdents): Likewise.
5502 (__getdents64): Likewise.
5503 (__alloc_dir): Likewise.
5504 [IS_IN (rtld)] (__closedir): Likewise.
5505 [IS_IN (rtld)] (__fdopendir): Likewise.
5506 [IS_IN (rtld)] (__readdir): Likewise.
5507 [IS_IN (rtld)] (__readdir64): Likewise.
5508 [IS_IN (rtld)] (__rewinddir): Likewise.
5509
5510 * include/dlfcn.h (_dl_catch_error): Moved to ...
5511 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5512 attribute_hidden.
5513
5514 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5515 (_itoa_word): Likewise.
5516
5517 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5518 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5519 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5520 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5521 (_dl_higher_prime_number): Likewise.
5522 (_dl_debug_printf_c): Likewise.
5523 (_dl_signal_cerror): Likewise.
5524 (_dl_receive_error): Likewise.
5525 (_dl_reloc_bad_type): Likewise.
5526 (_dl_resolve_conflicts): Likewise.
5527 (_dl_check_all_versions): Likewise.
5528 (_dl_check_map_versions): Likewise.
5529 (_dl_sort_fini): Likewise.
5530 (_dl_debug_initialize): Likewise.
5531 (_dl_init_paths): Likewise.
5532 (_dl_show_auxv): Likewise.
5533 (_dl_next_ld_env_entry): Likewise.
5534 (_dl_important_hwcaps): Likewise.
5535 (_dl_load_cache_lookup): Likewise.
5536 (_dl_update_slotinfo): Likewise.
5537 (_dl_show_scope): Likewise.
5538
5539 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5540 attribute_hidden.
5541 (_wordcopy_fwd_dest_aligned): Likewise.
5542 (_wordcopy_bwd_aligned): Likewise.
5543 (_wordcopy_bwd_dest_aligned): Likewise.
5544
5545 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5546 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5547 Likewise.
5548 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5549 Likewise.
5550 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5551
5552 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5553
5554 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5555 GCC 5 requirement.
5556
5557 2015-10-15 Joseph Myers <joseph@codesourcery.com>
5558
5559 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5560 test.
5561 * sysdeps/i386/configure: Regenerated.
5562 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5563 code unconditional.
5564
5565 * configure.ac (libc_cv_asm_previous_directive): Remove configure
5566 test.
5567 (libc_cv_asm_popsection_directive): Likewise.
5568 * configure: Regenerated.
5569 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5570 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5571 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5572 (__make_section_unallocated): Make definition unconditional.
5573 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5574 Remove conditional definition.
5575 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5576 (__make_section_unallocated): Likewise.
5577
5578 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5579 * configure: Regenerated.
5580 * config.make.in (static-libgcc): Remove variable.
5581 * Makerules (build-shlib-helper): Use -static-libgcc instead of
5582 $(static-libgcc).
5583 (build-module-helper): Likewise.
5584
5585 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5586 * configure: Regenerated.
5587
5588 2015-10-15 Florian Weimer <fweimer@redhat.com>
5589
5590 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5591 (struct char_buffer): New type.
5592 (char_buffer_start, char_buffer_size, char_buffer_error)
5593 (char_buffer_rewind, char_buffer_add): New functions.
5594 (ADDW): Remove macro, replaced by the char_buffer_add function.
5595 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5596 of extend_alloca. Make control flow more explicit.
5597
5598 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5599
5600 [BZ #19137]
5601 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5602 Add -fomit-frame-pointer.
5603 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5604
5605 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5606
5607 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5608 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5609 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5610 only if !__GNUC_PREREQ (5,0).
5611 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5612 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5613 (INTERNAL_SYSCALL_NCS): Likewise.
5614 (LOADREGS_0): New macro for GCC 5.
5615 (ASMARGS_0): Likewise.
5616 (LOADREGS_1): Likewise.
5617 (ASMARGS_1): Likewise.
5618 (LOADREGS_2): Likewise.
5619 (ASMARGS_2): Likewise.
5620 (LOADREGS_3): Likewise.
5621 (ASMARGS_3): Likewise.
5622 (LOADREGS_4): Likewise.
5623 (ASMARGS_4): Likewise.
5624 (LOADREGS_5): Likewise.
5625 (ASMARGS_5): Likewise.
5626 (LOADREGS_6): Likewise.
5627 (ASMARGS_6): Likewise.
5628
5629 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5630
5631 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5632 -fomit-frame-pointer.
5633 (CFLAGS-mmap64.c): Likewise.
5634 (CFLAGS-semtimedop.c): Likewise.
5635 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5636 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5637 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5638 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5639
5640 2015-10-15 Florian Weimer <fweimer@redhat.com>
5641
5642 [BZ #18928]
5643 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5644 _dl_pointer_guard member.
5645 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5646 initializer.
5647 (security_init): Always set up pointer guard.
5648 (process_envvars): Do not process LD_POINTER_GUARD.
5649
5650 2015-10-14 Joseph Myers <joseph@codesourcery.com>
5651
5652 [BZ #19134]
5653 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5654 (.LC2): Likewise.
5655 (.LC3): Likewise.
5656 (__lround): Do not add 0.5 to integer or out-of-range arguments.
5657
5658 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
5659
5660 [BZ #19129]
5661 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5662 r0 and r1.
5663
5664 2015-10-14 Namhyung Kim <namhyung@gmail.com>
5665
5666 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5667
5668 2015-10-14 Carlos O'Donell <carlos@redhat.com>
5669
5670 * include/stap-probe.h: Fix macro definition formatting.
5671
5672 2015-10-14 Florian Weimer <fweimer@redhat.com>
5673
5674 [BZ #19074]
5675 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5676 load and store num_ifs.
5677
5678 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
5679
5680 [BZ #18822]
5681 * sysdeps/unix/sysv/linux/sched_getaffinity.c
5682 (__sched_getaffinity_new): Add libc_hidden_proto and
5683 libc_hidden_def.
5684
5685 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
5686
5687 [BZ #19007]
5688 * scripts/localplt.awk: Also allow GOT references.
5689 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5690 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5691 with "+ REL R_386_GLOB_DAT".
5692 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5693 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5694
5695 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
5696
5697 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5698 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5699 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5700 Likewise.
5701 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5702 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5703 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5704 INTERNAL_SYSCALLINTERNAL_SYSCALL and
5705 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5706 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5707 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5708 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5711
5712 2015-10-13 Joseph Myers <joseph@codesourcery.com>
5713
5714 [BZ #19125]
5715 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5716 <math_private.h> and <stdint.h>.
5717 (__llround): Avoid conversions to and from long long int, and
5718 subtractions, where those might raise spurious exceptions.
5719 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5720 <math_private.h> and <stdint.h>.
5721 (__llroundf): Avoid conversions to and from long long int, and
5722 subtractions, where those might raise spurious exceptions.
5723
5724 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5725
5726 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5727 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5728 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5729 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5730 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5731 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5732 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5733 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5734 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5735 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5736 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5737 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5738 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5739 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5740 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5741 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5742 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5743 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5744 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5745 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5746 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5747 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5748 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5749 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5750 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5751 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5752 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5753 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5754 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5755 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5756 (__xstat64_conv): Likewise.
5757 (__xstat32_conv): Likewise.
5758
5759 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5760
5761 * sysdeps/unix/sysv/linux/sysdep.h: New file.
5762 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5763 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5764 <sysdeps/unix/sysv/linux/sysdep.h>.
5765 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5766 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5767 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5768 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5769 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5770 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5771 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5772 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5773 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5778 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5779 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5781 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5782 (sysdep-dl-routines): Add sysdep.
5783 [$(subdir) == nptl] (libpthread-routines): Likewise.
5784 [$(subdir) == rt] (librt-routines): Likewise.
5785 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5786 PIC when branching to SYSCALL_ERROR_LABEL.
5787 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5789 <sysdeps/unix/sysv/linux/sysdep.h>.
5790 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5791 (SYSCALL_ERROR_ERRNO): Removed.
5792 (SYSCALL_ERROR_HANDLER): Changed to empty.
5793 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5794 (__syscall_error): New prototype.
5795 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5796 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5797
5798 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5799
5800 [BZ #19124]
5801 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5802 (_dl_runtime_resolve_avx512): Make it a hidden alias of
5803 _dl_runtime_resolve_avx.
5804 (_dl_runtime_profile_avx512): Make it a hidden alias of
5805 _dl_runtime_profile_avx.
5806
5807 2015-10-13 Joseph Myers <joseph@codesourcery.com>
5808
5809 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5810 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5811 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5812 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5813
5814 [BZ #16422]
5815 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5816 New configure test.
5817 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5818 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5819 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5820 <math_private.h> and <stdint.h>.
5821 (__llrint): Avoid conversions to long long int where those might
5822 raise spurious exceptions.
5823 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5824 <math_private.h> and <stdint.h>.
5825 (__llrintf): Avoid conversions to long long int where those might
5826 raise spurious exceptions.
5827
5828 2015-10-12 Andreas Schwab <schwab@suse.de>
5829
5830 [BZ #18969]
5831 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
5832 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5833 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
5834 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5835 $(gen-locales).
5836 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
5837 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5838 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5839 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5840 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5841 $(gen-locales).
5842 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
5843 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5844 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5845 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5846 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5847 ($(objpfx)tst-ftell-active-handler.out)
5848 ($(objpfx)tst-ftell-append.out)
5849 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5850 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5851 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5852 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5853 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
5854 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5855 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5856 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5857 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5858 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5859 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5860 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5861 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5862 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5863 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5864 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5865 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5866 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5867 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
5868 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5869 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5870 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5871 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5872 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
5873 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5874 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5875 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5876 $(gen-locales).
5877 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
5878 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5879 $(gen-locales).
5880 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
5881 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5882 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5883 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5884 $(gen-locales).
5885 * libio/tst_wprintf2.c (main): Use explicit locale.
5886 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5887
5888 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5889
5890 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5891 __msg_sig_post.
5892 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5893
5894 2015-10-09 Joseph Myers <joseph@codesourcery.com>
5895
5896 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5897 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5898
5899 * sysdeps/arm/libm-test-ulps: Regenerated.
5900
5901 [BZ #15470]
5902 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5903
5904 [BZ #16399]
5905 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5906 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5907 and <fix-fp-int-convert-overflow.h>.
5908 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5909 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5910 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5911 and <fix-fp-int-convert-overflow.h>.
5912 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5913 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5914 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5915 <fix-fp-int-convert-overflow.h>.
5916 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5917 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5918 * sysdeps/ieee754/dbl-64/s_lround.c: Include
5919 <fix-fp-int-convert-overflow.h>.
5920 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5921 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5922 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5923 and <fix-fp-int-convert-overflow.h>.
5924 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5925 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5926 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5927 <limits.h> and <fix-fp-int-convert-overflow.h>.
5928 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5929 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5930 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5931 and <fix-fp-int-convert-overflow.h>.
5932 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5933 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5934 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5935 and <fix-fp-int-convert-overflow.h>.
5936 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5937 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5938 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5939
5940 2015-10-09 Carlos O'Donell <carlos@redhat.com>
5941
5942 [BZ #18589]
5943 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5944 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5945 $(gen-locales).
5946
5947 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5948 Phil Blundell <pb@pbcl.net>
5949
5950 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5951 * nptl/tst-cancel26.c: New file.
5952 * nptl/tst-cancel27.c: Likewise.
5953
5954 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
5955
5956 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5957 __ILP32__ isn't defined.
5958 (lrint): Likewise.
5959 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5960 (lrintf): Likewise.
5961 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5962 (lrintl): Likewise.
5963 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5964 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5965 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5966
5967 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5968
5969 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5970 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5971
5972 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5973 file.
5974 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5975 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5976
5977 2015-10-09 Joseph Myers <joseph@codesourcery.com>
5978
5979 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5980 configure test.
5981 * sysdeps/i386/configure: Regenerated.
5982 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5983 configure test.
5984 * sysdeps/x86_64/configure: Regenerated.
5985 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5986 Make code unconditional.
5987
5988 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5989 test.
5990 * sysdeps/i386/configure: Regenerated.
5991 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5992 test.
5993 * sysdeps/x86_64/configure: Regenerated.
5994 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5995 Make code unconditional.
5996 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5997 Likewise.
5998 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5999 Likewise.
6000 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6001 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6002 code unconditional.
6003 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6004 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6005 code unconditional.
6006 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6007 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6008 code unconditional.
6009 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6010 code unconditional.
6011 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6012 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6013 code unconditional.
6014 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6015 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6016 code unconditional.
6017 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6018 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6019 code unconditional.
6020 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6021 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6022 code unconditional.
6023 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6024 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6025
6026 [BZ #19095]
6027 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6028 mantissa to long int before shifting left.
6029
6030 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6031
6032 [BZ #19094]
6033 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6034 <limits.h>.
6035 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6036 when result overflows but exception would not result from cast.
6037 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6038 <limits.h>.
6039 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6040 when result overflows but exception would not result from cast.
6041 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6042 <limits.h>.
6043 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6044 when result overflows but exception would not result from cast.
6045 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6046 <limits.h>.
6047 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6048 when result overflows but exception would not result from cast.
6049 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6050 <limits.h>.
6051 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6052 when result overflows but exception would not result from cast.
6053 * math/libm-test.inc (lrint_test_data): Add more tests.
6054 (llrint_test_data): Likewise.
6055
6056 2015-10-08 Roland McGrath <roland@hack.frob.com>
6057
6058 [BZ #18872]
6059 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6060 Move out from under [$(run-built-tests) = yes] conditional.
6061 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6062 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6063
6064 2015-10-08 Carlos O'Donell <carlos@redhat.com>
6065
6066 [BZ #18589]
6067 * string/Makefile (tests): Add bug-strcoll2.
6068 (LOCALES): Add cs_CZ.UTF-8.
6069 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6070
6071 [BZ #18589]
6072 * string/bug-strcoll2.c: New file.
6073 * locale/categories.def: Revert commit
6074 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6075 * locale/langinfo.h: Likewise.
6076 * locale/localeinfo.h: Likewise.
6077 * locale/C-collate.c: Likewise.
6078 * locale/programs/ld-collate.c (collate_output): Likewise.
6079 * string/strcoll_l.c (STRDIFF): Likewise.
6080 (STRCOLL): Likewise.
6081 * wcsmbs/wcscoll_l.c: Likewise.
6082
6083 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6084
6085 * math/libm-test.inc (lround_test_data): Do not expect the absence
6086 of "inexact" for some tests with non-integer arguments.
6087 (llround_test_data): Likewise.
6088
6089 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6090 test.
6091 (libc_cv_cc_sse2avx): Likewise.
6092 * sysdeps/i386/configure: Regenerated.
6093 * sysdeps/i386/i686/multiarch/Makefile
6094 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6095 [$(subdir) = math].
6096 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6097 code unconditional.
6098 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6099 Likewise.
6100 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6101 Likewise.
6102 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6103 Likewise.
6104 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6105 test.
6106 (libc_cv_cc_sse2avx): Likewise.
6107 * sysdeps/x86_64/configure: Regenerated.
6108 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6109 unconditional.
6110 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6111 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6112 unconditional.
6113 (_dl_runtime_profile)
6114 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6115 conditional code.
6116 * sysdeps/x86_64/fpu/multiarch/Makefile
6117 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6119 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6120 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6121 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6122 * sysdeps/x86_64/fpu/multiarch/e_log.c
6123 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6124 * sysdeps/x86_64/fpu/multiarch/s_atan.c
6125 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6126 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6127 Likewise.
6128 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6129 Likewise.
6130 * sysdeps/x86_64/fpu/multiarch/s_sin.c
6131 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6132 * sysdeps/x86_64/fpu/multiarch/s_tan.c
6133 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6134 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6135 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6136 (HAVE_SSE2AVX_SUPPORT): Likewise.
6137
6138 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
6139
6140 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6141 instead of #pragma optimize.
6142
6143 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6144
6145 [BZ #17195]
6146 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6147 as is similarly done in systrim and _int_free already.
6148
6149 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6150
6151 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6152
6153 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6154
6155 [BZ #19088]
6156 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6157 <limits.h>.
6158 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6159 overflows but exception would not result from cast.
6160 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6161 and <limits.h>.
6162 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6163 overflows but exception would not result from cast.
6164 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6165 <limits.h>.
6166 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6167 overflows but exception would not result from cast.
6168 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6169 <limits.h>.
6170 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6171 overflows but exception would not result from cast.
6172 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6173 <limits.h>.
6174 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6175 overflows but exception would not result from cast.
6176 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6177 <limits.h>.
6178 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6179 overflows but exception would not result from cast.
6180 * math/libm-test.inc (lround_test_data): Add more tests.
6181 (llround_test_data): Likewise.
6182
6183 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
6184
6185 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6186 (CFLAGS-ialloc.c): Ditto.
6187 (CFLAGS-scheck.c): Ditto.
6188
6189 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6190
6191 [BZ #19086]
6192 * manual/filesys.texi (Storage Allocation): Fix argument order for
6193 posix_fallocate64.
6194
6195 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6196
6197 [BZ #19085]
6198 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6199 exponent below 48 inside case for non-overflowing exponent.
6200 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6201
6202 2015-10-07 Florian Weimer <fweimer@redhat.com>
6203
6204 * iconvdata/cp737.h (from_idx): Add const.
6205 * iconvdata/cp775.h (from_idx): Likewise.
6206
6207 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6208
6209 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6210 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6211 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6212
6213 [BZ #19079]
6214 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6215 file, conditioned on [!_LP64].
6216 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6217 [!_LP64] (__lround): Do not define as function or alias.
6218 [!_LP64] (lround): Likewise.
6219 [!_LP64] (__lroundl): Likewise.
6220 [!_LP64] (lroundl): Likewise.
6221 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6222 macro.
6223 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6224 Likewise.
6225
6226 2015-10-06 Joseph Myers <joseph@codesourcery.com>
6227
6228 * math/libm-test.inc (lrint_test_data): Add more tests.
6229 (llrint_test_data): Likewise.
6230 (lround_test_data): Likewise.
6231 (llround_test_data): Likewise.
6232
6233 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6234 (llrint_test_data): Add tests used for lrint.
6235
6236 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6237 test.
6238 * sysdeps/i386/configure: Regenerated.
6239 * sysdeps/i386/i686/multiarch/Makefile
6240 [$(config-cflags-sse4) = yes]: Make code unconditional.
6241 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6242 Likewise.
6243 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6244 Likewise.
6245 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6246 test.
6247 * sysdeps/x86_64/configure: Regenerated.
6248 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6249 Make code unconditional.
6250 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6251 Likewise.
6252 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6253 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6254
6255 * scripts/rpm2dynsym.sh: Remove file.
6256
6257 2015-10-06 Florian Weimer <fweimer@redhat.com>
6258
6259 * configure.ac (libc_cv_cxx_thread_local): Define.
6260 * configure: Regenerate.
6261 * config.make.in (have-cxx-thread_local): Define.
6262 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6263 (LDLIBS-tst-thread_local1): Define.
6264 (tests): Add tst-thread_local1.
6265 [have-cxx-thread_local != yes] (tests-unsupported): Add
6266 tst-thread_local1.
6267 * nptl/tst-thread_local1.cc: New file.
6268
6269 2015-10-06 Joseph Myers <joseph@codesourcery.com>
6270
6271 [BZ #19078]
6272 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6273 (u_thres): Likewise.
6274 (__expl): Determine whether to call __kernel_standard_l based on
6275 value of result, not argument.
6276
6277 * math/libm-test.inc (scalb_test_data): Add more expectations for
6278 the "inexact" exception.
6279
6280 [BZ #19077]
6281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6282 0.0L for argument 1.0L.
6283
6284 [BZ #19076]
6285 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6286 constant 0.0L when computing infinite result.
6287
6288 2015-10-06 Florian Weimer <fweimer@redhat.com>
6289
6290 [BZ #10432]
6291 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6292 malloc_usable_size.
6293
6294 2015-10-06 Florian Weimer <fweimer@redhat.com>
6295
6296 [BZ #19018]
6297 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6298 Mangle function pointer before storing it.
6299 (__call_tls_dtors): Demangle function pointer before calling it.
6300
6301 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6302
6303 [BZ #19012]
6304 * iconv/gconv_db.c (gen_steps): Check for additional errors.
6305 Clean up on failure.
6306
6307 2015-10-05 Joseph Myers <joseph@codesourcery.com>
6308
6309 [BZ #19071]
6310 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6311 long int variable to store possibly incremented high part of
6312 mantissa.
6313 * math/libm-test.inc (lround_test_data): Add tests used for
6314 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
6315 for tests requiring 64-bit long. Do not condition tests on
6316 [TEST_FLOAT] unnecessarily.
6317 (llround_test_data): Add tests used for lround. Add another
6318 expectation for the "inexact" exception. Do not condition tests
6319 on [TEST_FLOAT] unnecessarily.
6320
6321 [BZ #887]
6322 [BZ #19049]
6323 [BZ #19050]
6324 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6325 * sysdeps/ieee754/dbl-64/e_log10.c: Include
6326 <fix-int-fp-convert-zero.h>.
6327 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6328 * sysdeps/ieee754/dbl-64/e_log2.c: Include
6329 <fix-int-fp-convert-zero.h>.
6330 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6331 * sysdeps/ieee754/dbl-64/s_erf.c: Include
6332 <fix-int-fp-convert-zero.h>.
6333 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6334 * sysdeps/ieee754/dbl-64/s_logb.c: Include
6335 <fix-int-fp-convert-zero.h>.
6336 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6337 * sysdeps/ieee754/flt-32/e_log10f.c: Include
6338 <fix-int-fp-convert-zero.h>.
6339 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6340 * sysdeps/ieee754/flt-32/e_log2f.c: Include
6341 <fix-int-fp-convert-zero.h>.
6342 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6343 * sysdeps/ieee754/flt-32/s_erff.c: Include
6344 <fix-int-fp-convert-zero.h>.
6345 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6346 * sysdeps/ieee754/flt-32/s_logbf.c: Include
6347 <fix-int-fp-convert-zero.h>.
6348 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6349 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6350 <fix-int-fp-convert-zero.h>.
6351 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6353 <fix-int-fp-convert-zero.h>.
6354 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6355 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6356 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6357 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6358 file.
6359 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6360
6361 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6362
6363 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6364
6365 2015-10-02 Joseph Myers <joseph@codesourcery.com>
6366
6367 [BZ #19059]
6368 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6369 overflowing computation.
6370 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6371 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6372 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6373 Likewise.
6374 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6375 Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6377 Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6379 Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6381 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6382 Likewise.
6383 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6384 Likewise.
6385 * math/libm-test.inc (nexttoward_test_data): Add more tests.
6386
6387 * nss/rewrite_field.c (__nss_rewrite_field): Use
6388 internal_function.
6389 * nss/valid_field.c (__nss_valid_field): Likewise.
6390 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6391
6392 2015-10-02 Florian Weimer <fweimer@redhat.com>
6393
6394 [BZ #18724]
6395 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6396 (__nss_invalid_field_characters, __nss_valid_field)
6397 (__nss_valid_list_field, __nss_rewrite_field): Declare.
6398 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6399 tst-field.c: New file.
6400 * nss/Makefile (routines): Add valid_field, rewrite_field.
6401 (tests-static): Define unconditionally.
6402 (tests): Include tests-static.
6403 [build-static-nss] (tests-static): Use append.
6404 [build-static-nss] (tests): Remove modification.
6405 * nss/getent.c (print_group): Call putgrent. Report error.
6406 (print_gshadow): Call putsgent. Report error.
6407 (print_passwd): Call putpwent. Report error.
6408 (print_shadow): Call putspent. Report error.
6409 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6410 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6411 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
6412 name, password, directory, shell fields for valid syntax. Rewrite
6413 GECOS field to match syntax.
6414 * pwd/Makefile (tests): Add tst-putpwent.
6415 * pwd/tst-putpwent.c: New file.
6416 * grp/putgrent.c (putgrent): Convert to ISO function definition.
6417 Check grName, grpasswd, gr_mem fields for valid syntax.
6418 Change loop variable i to size_t.
6419 * grp/Makefile (tests): Add tst-putgrent.
6420 * grp/tst-putgrent.c: New file.
6421 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6422 valid syntax.
6423 * shadow/Makefile (tests): Add tst-putspent.
6424 * shadow/tst-putspent.c: New file.
6425 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6426 sg_mem fields for valid syntax.
6427 * gshadow/Makefile (tests): Add tst-putsgent.
6428 * gshadow/tst-putsgent.c: New file.
6429
6430 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6431
6432 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6433 assembly instructions.
6434
6435 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6436
6437 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6438 prefix from operands.
6439
6440 2015-10-01 Joseph Myers <joseph@codesourcery.com>
6441
6442 [BZ #16347]
6443 [BZ #19046]
6444 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6445 <libc-internal.h>.
6446 (MAXLGM): Do not use diagnostic control macros.
6447 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6448 threshold for ldbl-128ibm.
6449 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6450 instead of multiplying by log then subtracting.
6451 * math/auto-libm-test-in: Add more tests of lgamma.
6452 * math/auto-libm-test-out: Regenerated.
6453
6454 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6455 (TYPE_HEX_DIG): Likewise.
6456 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6457 precisions when printing floating-point numbers.
6458 (check_float_internal): Likewise.
6459
6460 2015-09-30 Joseph Myers <joseph@codesourcery.com>
6461
6462 [BZ #16620]
6463 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6464 of log (10) rounded downward to 48 bits.
6465 (log10_low): Use corresponding low part of log (10).
6466
6467 [BZ #19032]
6468 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6469 compute result as (x - x) / (x - x) not as 0 / 0.
6470 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6471 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6472
6473 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6474 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6475 and expm1.
6476 * math/auto-libm-test-out: Regenerated.
6477 * math/libm-test.inc (acos_test_data): Add more tests.
6478 (asin_test_data): Likewise.
6479 (asinh_test_data): Likewise.
6480 (atan_test_data): Likewise.
6481 (atanh_test_data): Likewise.
6482 (atan2_test_data): Likewise.
6483 (cbrt_test_data): Likewise.
6484 (ceil_test_data): Likewise.
6485 (copysign_test_data): Likewise.
6486 (cos_test_data): Likewise.
6487 (cosh_test_data): Likewise.
6488 (erf_test_data): Likewise.
6489 (erfc_test_data): Likewise.
6490 (exp_test_data): Likewise.
6491 (exp10_test_data): Likewise.
6492 (exp2_test_data): Likewise.
6493 (expm1_test_data): Likewise.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6495
6496 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
6497
6498 [BZ #19006]
6499 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6500 to ...
6501 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6502 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6503 to ...
6504 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6505 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6506 to ...
6507 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6508 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6509 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6510 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6511 to ...
6512 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6513 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6514 Moved to ...
6515 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6516 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6517 Moved to ...
6518 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6519 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6520 to ...
6521 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6522 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6523 Moved to ...
6524 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6525 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6526 to ...
6527 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6528 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6529 Removed.
6530 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6531 Likewise.
6532 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6533 Likewise.
6534 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6535 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6536 Likewise.
6537 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6538 Likewise.
6539 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6540 Likewise.
6541 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6542 Likewise.
6543 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6544 Likewise.
6545 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6546 Likewise.
6547 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6548 Likewise.
6549 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6550 Likewise.
6551 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6552 Likewise.
6553 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6554 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6555 Likewise.
6556 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6557 Likewise.
6558 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6559 Likewise.
6560 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6561 Likewise.
6562 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6563 Likewise.
6564 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6565 Replace ../i486/pthread_cond_timedwait.S with
6566 ../pthread_cond_timedwait.S.
6567
6568 2015-09-30 Joseph Myers <joseph@codesourcery.com>
6569
6570 * math/libm-test.inc (acos_test_data): Refine expectations for
6571 errno and "inexact" exceptions.
6572 (acosh_test_data): Likewise.
6573 (asin_test_data): Likewise.
6574 (asinh_test_data): Likewise.
6575 (atan_test_data): Likewise.
6576 (atanh_test_data): Likewise.
6577 (atan2_test_data): Likewise.
6578 (cbrt_test_data): Likewise.
6579 (ceil_test_data): Likewise.
6580 (copysign_test_data): Likewise.
6581 (cosh_test_data): Likewise.
6582 (erf_test_data): Likewise.
6583 (erfc_test_data): Likewise.
6584 (exp_test_data): Likewise.
6585 (exp10_test_data): Likewise.
6586 (exp2_test_data): Likewise.
6587 (expm1_test_data): Likewise.
6588 (fabs_test_data): Likewise.
6589 (floor_test_data): Likewise.
6590 (fma_test_data): Likewise.
6591 (fmax_test_data): Likewise.
6592 (fmin_test_data): Likewise.
6593 (fmod_test_data): Likewise.
6594 (fpclassify_test_data): Likewise.
6595 (frexp_test_data): Likewise.
6596 (hypot_test_data): Likewise.
6597 (ilogb_test_data): Likewise.
6598 (isgreater_test_data): Likewise.
6599 (isgreaterequal_test_data): Likewise.
6600 (isinf_test_data): Likewise.
6601 (isless_test_data): Likewise.
6602 (islessequal_test_data): Likewise.
6603 (islessgreater_test_data): Likewise.
6604 (isnan_test_data): Likewise.
6605 (isnormal_test_data): Likewise.
6606 (issignaling_test_data): Likewise.
6607 (isunordered_test_data): Likewise.
6608 (j0_test_data): Likewise.
6609 (j1_test_data): Likewise.
6610 (jn_test_data): Likewise.
6611 (lgamma_test_data): Likewise.
6612 (lrint_test_data): Likewise.
6613 (llrint_test_data): Likewise.
6614 (log_test_data): Likewise.
6615 (log10_test_data): Likewise.
6616 (log1p_test_data): Likewise.
6617 (log2_test_data): Likewise.
6618 (logb_test_data): Likewise.
6619 (lround_test_data): Likewise.
6620 (llround_test_data): Likewise.
6621 (modf_test_data): Likewise.
6622 (nearbyint_test_data): Likewise.
6623 (nextafter_test_data): Likewise.
6624 (nexttoward_test_data): Likewise.
6625 (pow_test_data): Likewise.
6626 (remainder_test_data): Likewise.
6627 (remquo_test_data): Likewise.
6628 (rint_test_data): Likewise.
6629 (round_test_data): Likewise.
6630 (signbit_test_data): Likewise.
6631 (sinh_test_data): Likewise.
6632 (sqrt_test_data): Likewise.
6633 (tanh_test_data): Likewise.
6634 (tgamma_test_data): Likewise.
6635 (trunc_test_data): Likewise.
6636 (y0_test_data): Likewise.
6637 (y1_test_data): Likewise.
6638 (yn_test_data): Likewise.
6639 (significand_test_data): Likewise.
6640
6641 2015-09-29 Carlos O'Donell <carlos@redhat.com>
6642
6643 * manual/filesys.texi (Storage Allocation): Document that
6644 posix_fallocate emulation fails when fd is open with O_WRONLY.
6645
6646 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6647
6648 [BZ #19016]
6649 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6650 allow more cases with X^2 + Y^2 >= 0.5.
6651 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
6652 normal element in sum instead of special-casing based on values of
6653 arguments.
6654 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6655 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
6656 -1 as normal element in sum instead of special-casing based on
6657 values of arguments.
6658 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6659 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6660 (__x2y2m1): Update comment.
6661 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
6662 as normal element in sum instead of special-casing based on values
6663 of arguments.
6664 * math/s_clog.c (__clog): Handle more cases using log1p without
6665 hypot.
6666 * math/s_clog10.c (__clog10): Likewise.
6667 * math/s_clog10f.c (__clog10f): Likewise.
6668 * math/s_clog10l.c (__clog10l): Likewise.
6669 * math/s_clogf.c (__clogf): Likewise.
6670 * math/s_clogl.c (__clogl): Likewise.
6671 * math/auto-libm-test-in: Add more tests of clog and clog10.
6672 * math/auto-libm-test-out: Regenerated.
6673 * sysdeps/i386/fpu/libm-test-ulps: Update.
6674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6675
6676 2015-09-28 Martin Sebor <msebor@redhat.com>
6677
6678 [BZ #18969]
6679 * string/Makefile (LOCALES): Define.
6680 (gen-locales.mk): Include.
6681 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6682 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6683 * string/tst-strxfrm2.c (do_test): Print the name of the locale
6684 on setlocale failure.
6685
6686 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6687
6688 [BZ #18985]
6689 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6690 (__strftime_internal): Likewise.
6691 * time/tst-strftime.c (do_bz18985): New test.
6692 (do_test): Call it.
6693
6694 2015-09-26 Joseph Myers <joseph@codesourcery.com>
6695
6696 [BZ #18956]
6697 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6698 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
6699 extracting high part.
6700 * math/auto-libm-test-in: Add another test of pow.
6701 * math/auto-libm-test-out: Regenerated.
6702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6703
6704 2015-09-25 Joseph Myers <joseph@codesourcery.com>
6705
6706 [BZ #18825]
6707 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6708 New macro.
6709 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6710 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6711 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6712 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6713 DBL_NARROW_EVAL, reloading the PIC register as needed.
6714 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6715 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6716 FLT_NARROW_EVAL. Use separate return path for case when first
6717 argument is NaN.
6718 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
6719 DEFINE_LDBL_MIN.
6720 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6721 PIC register.
6722 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6723 math_check_force_underflow_nonneg.
6724 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6725 underflow for subnormal result.
6726 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6728 math_check_force_underflow_nonneg.
6729 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6730 math_check_force_underflow.
6731 * sysdeps/x86_64/fpu/x86_64-math-asm.h
6732 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6733 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
6734 DEFINE_LDBL_MIN.
6735 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6736 * math/auto-libm-test-in: Add more tests of pow.
6737 * math/auto-libm-test-out: Regenerated.
6738
6739 2015-09-25 Florian Weimer <fweimer@redhat.com>
6740
6741 * nss/bug17079.c (init_test_items): Add diagnostic for
6742 inconsistent entries.
6743 (test_buffer_size): Skip inconsistent entries.
6744
6745 2015-09-25 Joseph Myers <joseph@codesourcery.com>
6746
6747 [BZ #13304]
6748 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6749 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6750 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6751
6752 [BZ #13304]
6753 * sysdeps/microblaze/s_fma.c: New file.
6754 * sysdeps/microblaze/s_fmaf.c: Likewise.
6755 * sysdeps/microblaze/sfp-machine.h: Likewise.
6756
6757 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
6758
6759 [BZ #17250]
6760 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6761 member.
6762
6763 2015-09-24 Joseph Myers <joseph@codesourcery.com>
6764
6765 [BZ #18803]
6766 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6767 (MO): New macro.
6768 (__ieee754_hypot) [PIC]: Load PIC register.
6769 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6770 DBL_NARROW_EVAL.
6771 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6772 math_check_force_underflow_nonneg in case where result might be
6773 tiny.
6774 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6775 Likewise.
6776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6777 Likewise.
6778 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6779 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6780 * math/auto-libm-test-in: Add more tests of hypot.
6781 * math/auto-libm-test-out: Regenerated.
6782
6783 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
6784
6785 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6786
6787 2015-09-24 Joseph Myers <joseph@codesourcery.com>
6788
6789 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6790 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6791 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6792 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6793 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6794 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6795 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6796
6797 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6798 LOAD_PIC_REG.
6799
6800 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6801 (FLT_CHECK_FORCE_UFLOW): Likewise.
6802 (DBL_CHECK_FORCE_UFLOW): Likewise.
6803 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6804 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6805 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6806 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6807 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6808 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6809 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6810 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6811 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6812 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6813 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6814 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6815 (flt_min): Replace with use of DEFINE_FLT_MIN.
6816 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6817 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6818 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6819 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6820 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6821 (flt_min): Replace with use of DEFINE_FLT_MIN.
6822 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6823 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6824 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6825 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6826 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6827 (flt_min): Replace with use of DEFINE_FLT_MIN.
6828 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6829 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6830 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6831 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6832 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6833 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6834 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6835 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6836 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6837 (__atan): Use DBL_CHECK_FORCE_UFLOW.
6838 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6839 (flt_min): Replace with use of DEFINE_FLT_MIN.
6840 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6841 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6842 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6843 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
6844 main computation.
6845 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6846 (flt_min): Replace with use of DEFINE_FLT_MIN.
6847 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
6848 main computation.
6849 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6850 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6851 (MO): New macro.
6852 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6853 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6854 (flt_min): Replace with use of DEFINE_FLT_MIN.
6855 (MO): New macro.
6856 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6857 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6858 (__log1pl): Use MO.
6859
6860 [BZ #19003]
6861 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6862 $(config-cflags-nofma).
6863
6864 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
6865
6866 * sysdeps/aarch64/libm-test-ulps: Regenerated.
6867
6868 2015-09-23 Joseph Myers <joseph@codesourcery.com>
6869
6870 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6871 (TWO127): Likewise.
6872
6873 * sysdeps/generic/math_private.h (fabs_tg): New macro.
6874 (min_of_type): Likewise.
6875 (math_check_force_underflow): Likewise.
6876 (math_check_force_underflow_nonneg): Likewise.
6877 (math_check_force_underflow_complex): Likewise.
6878 * math/e_exp2l.c (__ieee754_exp2l): Use
6879 math_check_force_underflow_nonneg.
6880 * math/k_casinh.c (__kernel_casinh): Likewise.
6881 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6882 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6883 * math/s_catan.c (__catan): Use
6884 math_check_force_underflow_complex.
6885 * math/s_catanf.c (__catanf): Likewise.
6886 * math/s_catanh.c (__catanh): Likewise.
6887 * math/s_catanhf.c (__catanhf): Likewise.
6888 * math/s_catanhl.c (__catanhl): Likewise.
6889 * math/s_catanl.c (__catanl): Likewise.
6890 * math/s_ccosh.c (__ccosh): Likewise.
6891 * math/s_ccoshf.c (__ccoshf): Likewise.
6892 * math/s_ccoshl.c (__ccoshl): Likewise.
6893 * math/s_cexp.c (__cexp): Likewise.
6894 * math/s_cexpf.c (__cexpf): Likewise.
6895 * math/s_cexpl.c (__cexpl): Likewise.
6896 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6897 * math/s_clog10.c (__clog10): Likewise.
6898 * math/s_clog10f.c (__clog10f): Likewise.
6899 * math/s_clog10l.c (__clog10l): Likewise.
6900 * math/s_clogf.c (__clogf): Likewise.
6901 * math/s_clogl.c (__clogl): Likewise.
6902 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6903 * math/s_csinf.c (__csinf): Likewise.
6904 * math/s_csinh.c (__csinh): Likewise.
6905 * math/s_csinhf.c (__csinhf): Likewise.
6906 * math/s_csinhl.c (__csinhl): Likewise.
6907 * math/s_csinl.c (__csinl): Likewise.
6908 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6909 * math/s_csqrtf.c (__csqrtf): Likewise.
6910 * math/s_csqrtl.c (__csqrtl): Likewise.
6911 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6912 * math/s_ctanf.c (__ctanf): Likewise.
6913 * math/s_ctanh.c (__ctanh): Likewise.
6914 * math/s_ctanhf.c (__ctanhf): Likewise.
6915 * math/s_ctanhl.c (__ctanhl): Likewise.
6916 * math/s_ctanl.c (__ctanl): Likewise.
6917 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6918 instead of volatile.
6919 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6920 math_check_force_underflow.
6921 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6922 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6923 volatile when forcing underflow.
6924 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6925 math_check_force_underflow_nonneg.
6926 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6927 Likewise.
6928 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6929 math_check_force_underflow.
6930 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6931 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6932 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6933 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6934 math_check_force_underflow_nonneg.
6935 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6936 math_check_force_underflow.
6937 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6939 instead of volatile.
6940 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6941 math_check_force_underflow.
6942 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6943 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6944 math_check_force_underflow_nonneg.
6945 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6946 math_check_force_underflow.
6947 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6948 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6949 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6950 math_check_force_underflow_nonneg.
6951 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6952 Likewise.
6953 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6954 math_check_force_underflow.
6955 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6956 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6957 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6958 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6959 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6960 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6961 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6962 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6963 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6964 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6965 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6966 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6967 Likewise.
6968 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6969 math_check_force_underflow_nonneg.
6970 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6971 Likewise.
6972 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6973 math_check_force_underflow.
6974 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6975 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6976 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6977 Likewise.
6978 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6979 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6980 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6981 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6982 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6983 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6985 instead of volatile.
6986 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6987 math_check_force_underflow.
6988 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6990 math_check_force_underflow.
6991 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6992 Likewise.
6993 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6994 Use math_check_force_underflow_nonneg.
6995 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6996 math_check_force_underflow.
6997 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6998 Likewise.
6999 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7000 Likewise.
7001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7004 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7006 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7007 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7008 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7009 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7010 math_check_force_underflow_nonneg.
7011 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7012 math_check_force_underflow.
7013 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7014 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7015 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7016 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7017 math_check_force_underflow_nonneg.
7018 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7019 math_check_force_underflow.
7020 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7022 instead of volatile.
7023 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7024 math_check_force_underflow.
7025
7026 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7027 * stdlib/strtod_l.c: Include <math_private.h>.
7028 (overflow_value): Use math_narrow_eval.
7029 (underflow_value): Likewise.
7030 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7031 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7032 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7033 (__ieee754_gamma_r): Likewise.
7034 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7035 Likewise.
7036 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7037 Likewise.
7038 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7039 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7040 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7041 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7042 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7043 (__ieee754_gammaf_r): Likewise.
7044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7045 Likewise.
7046 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7047 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7048 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7049 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7050 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7051 volatile.
7052 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7053 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7054 math_narrow_eval.
7055 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7056 Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7058 Likewise.
7059 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7060 Likewise.
7061 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7062 volatile.
7063 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7065 math_narrow_eval.
7066 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7067 Likewise.
7068 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7069 Likewise.
7070
7071 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
7072
7073 * nptl/Versions: Remove ignored symbols.
7074
7075 2015-09-22 Florian Weimer <fweimer@redhat.com>
7076
7077 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
7078 * nss/Makefile (tests): Update.
7079
7080 2015-09-22 Florian Weimer <fweimer@redhat.com>
7081
7082 * nss/bug18287.c: New file.
7083 * nss/Makefile (tests): Add bug18287.
7084
7085 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7086
7087 * mach/Versions (__mach_host_self_): Add symbol.
7088
7089 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7090
7091 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7092 vm_page_size.
7093
7094 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7095
7096 Really fix sysdeps/i386/fpu/s_scalbn.S build
7097
7098 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7099 (libc: GLIBC_2_22): Remove unused version set.
7100
7101 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7102
7103 * config.make.in (enable-timezone-tools): New variable.
7104 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7105 (enable_timezone_tools): Export to generated files.
7106 * configure: Regenerate.
7107 * INSTALL: Regenerate.
7108 * manual/install.texi (--disable-timezone-tools): Document new flag.
7109 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7110 ifeq ($(enable-timezone-tools),yes) check.
7111
7112 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7113
7114 * timezone/Makefile: Revert previous change.
7115
7116 [BZ #18980]
7117 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7118 (DEFINE_DBL_MIN): Likewise.
7119 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7120 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7121 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7122 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7123 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7124 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7125 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7126 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7127 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7128 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7129 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7130 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7131 (flt_min): Replace with use of DEFINE_FLT_MIN.
7132 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7133 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7134 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7135 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7136 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7137 (flt_min): Replace with use of DEFINE_FLT_MIN.
7138 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7139 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7140 (flt_min): Replace with use of DEFINE_FLT_MIN.
7141 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7142 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7143 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7144 (__ieee754_hypot): Use DBL_NARROW_EVAL.
7145 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7146 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7147 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7148 (__ieee754_pow): Use DBL_NARROW_EVAL.
7149 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7150 (__ieee754_powf): Use FLT_NARROW_EVAL.
7151 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7152 (__ieee754_expf_sse2): Convert double-precision result to single
7153 precision.
7154 * sysdeps/i386/fpu/libm-test-ulps: Update.
7155
7156 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7157
7158 * timezone/Makefile: Ignore unused variable errors due to private.h
7159 (time_t_min) and (time_t_max).
7160 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
7161 Likewise.
7162
7163 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7164
7165 [BZ #18981]
7166 * sysdeps/i386/fpu/i386-math-asm.h: New file.
7167 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7168 (__ieee754_scalb): Use DBL_NARROW_EVAL.
7169 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7170 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7171 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7172 (__scalbn): Use DBL_NARROW_EVAL.
7173 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7174 (__scalbnf): Use FLT_NARROW_EVAL.
7175
7176 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7177
7178 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7179 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7180 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7181 * stdio-common/printf_fp.c (___printf_fp):
7182 Use signbit to get the sign. Use isinf macro to allow inlining.
7183 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7184 * stdio-common/printf_size.c (__printf_size): Likewise.
7185
7186 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7187
7188 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7189
7190 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7191
7192 [BZ #18980]
7193 * sysdeps/generic/math_private.h: Include <float.h>.
7194 (math_narrow_eval): New macro.
7195 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7196 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7197 math_narrow_eval on overflowing return value.
7198 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7199 Likewise.
7200 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7201 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7203 Likewise.
7204 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7205
7206 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7207
7208 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7209 * math/Makefile: Remove isinf_ns.c.
7210 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7211 * math/multc3.c (__multc3): Likewise.
7212 * math/s_casin.c (__casin): Likewise.
7213 * math/s_casinf.c (__casinf): Likewise.
7214 * math/s_casinl.c (__casinl): Likewise.
7215 * math/s_cproj.c (__cproj): Likewise.
7216 * math/s_cprojf.c (__cprojf): Likewise.
7217 * math/s_cprojl.c (__cprofl): Likewise.
7218 * math/s_ctan.c (__ctan): Likewise.
7219 * math/s_ctanf.c (__ctanf): Likewise.
7220 * math/s_ctanh.c (__ctanh): Likewise.
7221 * math/s_ctanhf.c (__ctanhf): Likewise.
7222 * math/s_ctanhl.c (__ctanhl): Likewise.
7223 * math/s_ctanl.c (__ctanl): Likewise.
7224 * math/w_fmod.c (__fmod): Likewise.
7225 * math/w_fmodf.c (__fmodf): Likewise.
7226 * math/w_fmodl.c (_fmodl): Likewise.
7227 * math/w_remainder.c (__remainder): Likewise.
7228 * math/w_remainderf.c (__remainderf): Likewise.
7229 * math/w_remainderl.c (__remainderl): Likewise.
7230 * math/w_scalb.c (__scalb): Likewise.
7231 * math/w_scalbf.c (__scalbf): Likewise.
7232 * math/w_scalbl.c (__scalbl): Likewise.
7233 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7234 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7235 with isinf.
7236 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7238 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7239 __isinf_nsf with isinf.
7240 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7242 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7243 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7244 with isinf.
7245 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7246 __isinf_nsl with isinf.
7247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7248 with isinf.
7249 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7250 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7251 __isinf_nsl with isinf.
7252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7253 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7254 with isinf.
7255
7256 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7257
7258 * resolv/base64.c (rcsid): Remove unused static.
7259 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7260 static. (tqpi1): Likewise.
7261 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7262 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7263 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7264 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7266 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7267 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7268 * timezone/private.h (time_t_min): Likewise. (time_t_max):
7269 Likewise.
7270
7271 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
7272
7273 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7274 <nptl/pthreadP.h>.
7275 (_longjmp_unwind): Use __libc_ptf_call.
7276 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7277
7278 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
7279
7280 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7281 * sysdeps/arm/__longjmp.S: Likewise.
7282
7283 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7284
7285 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7286 Use __builtin_signbit.
7287 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7288 Use __builtin_signbitf.
7289 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7290 Use __builtin_signbitl.
7291 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7292 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7293
7294 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7295
7296 [BZ #15367]
7297 [BZ #17441]
7298
7299 * math/Makefile: Build test-snan.c with -fsignaling-nans.
7300 * math/math.h (fpclassify): Use __builtin_fpclassify when
7301 available. (signbit): Use __builtin_signbit(f/l).
7302 (isfinite): Use__builtin_isfinite. (isnormal): Use
7303 __builtin_isnormal. (isnan): Use __builtin_isnan.
7304 (isinf): Use __builtin_isinf_sign.
7305
7306 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7307
7308 * benchtests/Makefile: Add bench-math-inlines, link with libm.
7309 * benchtests/bench-math-inlines.c: New benchmark.
7310 * benchtests/bench-util.h: New file.
7311 * benchtests/bench-util.c: New file.
7312 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7313
7314 2015-09-18 Carlos O'Donell <carlos@redhat.com>
7315
7316 * elf/tst-dlmopen1.c: Define TEST_SO.
7317 (do_test): Use TEST_SO.
7318
7319 * elf/dl-load.c: Include libc-internal.h.
7320 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7321
7322 2015-09-18 Vincent Bernat <vincent@bernat.im>
7323
7324 [BZ #17887]
7325 * time/strptime_l.c (__strptime_internal): Make %z accept
7326 [+-]HH:MM time zones.
7327
7328 2015-09-18 Vincent Bernat <vincent@bernat.im>
7329
7330 [BZ #17886]
7331 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7332 valid time zone.
7333
7334 2015-09-17 Mike Frysinger <vapier@gentoo.org>
7335
7336 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7337 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7338 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7339 (__ASSUME_FDATASYNC): Delete.
7340
7341 2015-09-17 Joseph Myers <joseph@codesourcery.com>
7342
7343 * conform/linknamespace.pl: Require weak undefined symbols to be
7344 in the standard namespace.
7345 (%strong_syms): Rename to %seen_syms.
7346 (%strong_seen): Rename to %seen_where.
7347
7348 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
7349
7350 [BZ #18970]
7351 * misc/error.c (error): Replace pthread_setcancelstate with
7352 __pthread_setcancelstate.
7353 (error_at_line): Likewise.
7354 * posix/wordexp.c (parse_comm): Likewise.
7355 * stdlib/fmtmsg.c (fmtmsg): Likewise.
7356 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7357 (__pthread_setcancelstate): This.
7358 (pthread_setcancelstate): Add an alias.
7359 * nptl/nptl-init.c (pthread_functions): Replace
7360 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7361 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7362 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7363 hidden_proto.
7364 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7365 it with hidden_def.
7366 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7367 (pthread_setcancelstate): Renamed to ...
7368 (__pthread_setcancelstate): This.
7369 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7370 __libc_ptf_call with __pthread_setcancelstate.
7371
7372 2015-09-17 Joseph Myers <joseph@codesourcery.com>
7373 Andreas Schwab <schwab@suse.de>
7374
7375 [BZ #17118]
7376 * math/s_ctan.c (__ctan): Determine sign of zero real part of
7377 result when imaginary part of argument is infinite using sine and
7378 cosine.
7379 * math/s_ctanf.c (__ctanf): Likewise.
7380 * math/s_ctanl.c (__ctanl): Likewise.
7381 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7382 of result when real part of argument is infinite using sine and
7383 cosine.
7384 * math/s_ctanhf.c (__ctanhf): Likewise.
7385 * math/s_ctanhl.c (__ctanhl): Likewise.
7386 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7387 (ctanh_test_data): Add more tests of ctanh.
7388
7389 2015-09-17 Joseph Myers <joseph@codesourcery.com>
7390
7391 [BZ #15384]
7392 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7393 bit-mask as in subtraction.
7394 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7395 Likewise.
7396 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7397 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7398 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7399
7400 [BZ #18951]
7401 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7402 underflow exception for small results.
7403 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7404 Likewise.
7405 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7406 Likewise.
7407 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7408 Likewise.
7409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7410 Likewise.
7411 * math/auto-libm-test-in: Add more tests of tgamma.
7412 * math/auto-libm-test-out: Regenerated.
7413
7414 2015-09-17 Andreas Schwab <schwab@suse.de>
7415
7416 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7417
7418 2015-09-16 Joseph Myers <joseph@codesourcery.com>
7419
7420 [BZ #18977]
7421 * math/bits/mathcalls.h
7422 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7423 not declare.
7424 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7425 Likewise.
7426 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7427 Likewise.
7428 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7429 Likewise.
7430 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7431 Likewise.
7432 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7433 Likewise.
7434 * conform/data/math.h-data
7435 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7436 function.
7437 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7438 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7439 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7440 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7441 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7442 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7443 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7444 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7445 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7446 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7447 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7448
7449 [BZ #6803]
7450 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7451 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7452 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7453 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7454 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7455 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7456 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7457 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7458 [NO_LONG_DOUBLE] (scalbnl): Likewise.
7459 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7460 Likewise.
7461 [NO_LONG_DOUBLE] (scalbnl): Likewise.
7462 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7463 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7465 long_double_symbol calls.
7466 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7467 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7468 strong alias of __ldexpl.
7469 (scalbnl): Define using long_double_symbol.
7470 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7471 Remove alias.
7472 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7473 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7474 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7475 (scalbln_test_data): Add more errno expectations.
7476
7477 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
7478
7479 Cache the host port like we cache the task port. This way we do not
7480 need to call the kernel just to get the port. Furthermore, we no
7481 longer increase the reference count on every invocation of
7482 `mach_host_self'.
7483
7484 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7485 Protect declarations against the macro expansion.
7486 * mach/mach_init.c (__mach_host_self_): New variable.
7487 (mach_init): Initialize `__mach_host_self_'.
7488 * mach/mach_init.h (__mach_host_self_): New declaration.
7489 (__mach_host_self, mach_host_self): New macros.
7490 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7491 Release reference.
7492
7493 2015-09-16 Joseph Myers <joseph@codesourcery.com>
7494
7495 [BZ #4404]
7496 * po/de.po: Update from Translation Project.
7497
7498 [BZ #16415]
7499 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7500 (__expm1l): Remove code to handle positive infinity and overflow.
7501 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7502 variable.
7503 (__expm1l): Remove code to handle positive infinity and overflow.
7504
7505 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
7506 Paul Pluzhnikov <ppluzhnikov@google.com>
7507
7508 [BZ #18872]
7509 * stdio-common/Makefile (tst-printf-bz18872): New test.
7510 (tst-printf-bz18872-mem.out): Likewise.
7511 * stdio-common/tst-printf-bz18872.sh: Generate new test.
7512 * stdio-common/vfprintf.c: Fix memory leaks.
7513
7514 2015-09-16 Andreas Schwab <schwab@suse.de>
7515
7516 [BZ #17244]
7517 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7518 Remove extra va_start/va_end calls.
7519
7520 [BZ #17243]
7521 * posix/execl.c (execl): Add missing va_end.
7522 * posix/execle.c (execle): Likewise.
7523 * posix/execlp.c (execlp): Likewise.
7524
7525 2015-09-15 Roland McGrath <roland@hack.frob.com>
7526
7527 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7528 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7529
7530 2015-09-15 Joseph Myers <joseph@codesourcery.com>
7531
7532 [BZ #18967]
7533 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
7534 undefine around includes of <bits/mathcalls.h>.
7535 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7536 not declare function.
7537 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7538 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7539 (scalb): Likewise.
7540 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7541 not define macro.
7542 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7543 variable.
7544 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7545 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7546 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7547
7548 [BZ #18857]
7549 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7550 return non-finite argument without doing ordered comparisons on
7551 it.
7552
7553 [BZ #16296]
7554 * math/fenv.h (fegetround): Use __attribute_pure__.
7555 * include/fenv.h (__fegetround): Likewise.
7556
7557 [BZ #18595]
7558 * math/s_ctan.c (__ctan): Force underflow exception for results
7559 whose real or imaginary part has small absolute value.
7560 * math/s_ctanf.c (__ctanf): Likewise.
7561 * math/s_ctanh.c (__ctanh): Likewise.
7562 * math/s_ctanhf.c (__ctanhf): Likewise.
7563 * math/s_ctanhl.c (__ctanhl): Likewise.
7564 * math/s_ctanl.c (__ctanl): Likewise.
7565 * math/auto-libm-test-in: Do not allow missing underflow for ctan
7566 and ctanh. Add more tests of ctan and ctanh.
7567
7568 [BZ #15918]
7569 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7570 handling of cases where one argument is an infinity.
7571
7572 [BZ #18875]
7573 [BZ #18966]
7574 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7575 (MO): New macro.
7576 (__ieee754_exp10): For small results, force underflow exception
7577 and remove excess range and precision from return value.
7578 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7579 (MO): New macro.
7580 (__ieee754_exp10f): For small results, force underflow exception
7581 and remove excess range and precision from return value.
7582 * math/auto-libm-test-in: Add more tests of exp10.
7583 * math/auto-libm-test-out: Regenerated.
7584
7585 2015-09-14 Joseph Myers <joseph@codesourcery.com>
7586
7587 [BZ #18875]
7588 [BZ #18961]
7589 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7590 (MO): New macro.
7591 (__ieee754_exp): For small results, force underflow exception and
7592 remove excess range and precision from return value.
7593 (__exp_finite): Likewise.
7594 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7595 (MO): New macro.
7596 (__ieee754_expf): For small results, force underflow exception and
7597 remove excess range and precision from return value.
7598 (__expf_finite): Likewise.
7599 * math/auto-libm-test-in: Add more tests of exp.
7600 * math/auto-libm-test-out: Regenerated.
7601
7602 [BZ #16521]
7603 [BZ #18875]
7604 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7605 small results.
7606 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7607 (MO): New macro.
7608 (__ieee754_exp2): For small results, force underflow exception and
7609 remove excess range and precision from return value.
7610 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7611 (MO): New macro.
7612 (__ieee754_exp2f): For small results, force underflow exception
7613 and remove excess range and precision from return value.
7614 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7615 (MO): New macro.
7616 (__ieee754_exp2l): Force underflow exception for small results.
7617 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7618 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7619 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7620 (MO): New macro.
7621 (__ieee754_exp2l): Force underflow exception for small results.
7622 * math/auto-libm-test-in: Add more tests or exp2.
7623 * math/auto-libm-test-out: Regenerated.
7624
7625 2015-09-14 Carlos O'Donell <carlos@redhat.com>
7626
7627 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7628
7629 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7630 /dev/null.
7631
7632 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7633
7634 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7635 io fs process)): Drop spurious backslash.
7636
7637 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7638
7639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7640 Use sysinfo system call instead of parsing /proc/meminfo.
7641 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7642 Likewise.
7643
7644 2015-09-11 Mike Frysinger <vapier@gentoo.org>
7645
7646 [BZ #16985]
7647 * programs/localedef.c (main): Display argv[remaining] when
7648 output_path is NULL.
7649
7650 2015-09-11 Joseph Myers <joseph@codesourcery.com>
7651
7652 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7653 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7654 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7655 tanh.
7656 * math/auto-libm-test-out: Regenerated.
7657 * sysdeps/i386/fpu/libm-test-ulps: Update.
7658 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7659 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7661
7662 2015-09-11 Roland McGrath <roland@hack.frob.com>
7663
7664 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7665 Use 'override' keyword to freeze the value here, preventing
7666 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7667
7668 2015-09-11 Joseph Myers <joseph@codesourcery.com>
7669
7670 [BZ #14912]
7671 * sysdeps/aarch64/bits/atomic.h: Move to ...
7672 * sysdeps/aarch64/atomic-machine.h: ...here.
7673 (_AARCH64_BITS_ATOMIC_H): Rename macro to
7674 _AARCH64_ATOMIC_MACHINE_H.
7675 * sysdeps/alpha/bits/atomic.h: Move to ...
7676 * sysdeps/alpha/atomic-machine.h: ...here.
7677 * sysdeps/arm/bits/atomic.h: Move to ...
7678 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
7679 * bits/atomic.h: Move to ...
7680 * sysdeps/generic/atomic-machine.h: ...here.
7681 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7682 * sysdeps/i386/bits/atomic.h: Move to ...
7683 * sysdeps/i386/atomic-machine.h: ...here.
7684 * sysdeps/ia64/bits/atomic.h: Move to ...
7685 * sysdeps/ia64/atomic-machine.h: ...here.
7686 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7687 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7688 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7689 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7690 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7691 * sysdeps/microblaze/bits/atomic.h: Move to ...
7692 * sysdeps/microblaze/atomic-machine.h: ...here.
7693 * sysdeps/mips/bits/atomic.h: Move to ...
7694 * sysdeps/mips/atomic-machine.h: ...here.
7695 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7696 * sysdeps/powerpc/bits/atomic.h: Move to ...
7697 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
7698 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7699 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
7700 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
7701 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7702 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
7703 <atomic-machine.h> instead of <bits/atomic.h>.
7704 * sysdeps/s390/bits/atomic.h: Move to ...
7705 * sysdeps/s390/atomic-machine.h: ...here.
7706 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7707 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7708 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7709 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7710 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7711 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7712 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7713 * sysdeps/tile/bits/atomic.h: Move to ...
7714 * sysdeps/tile/atomic-machine.h: ...here.
7715 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7716 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
7717 <sysdeps/tile/atomic-machine.h> instead of
7718 <sysdeps/tile/bits/atomic.h>.
7719 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7720 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7721 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
7722 <sysdeps/tile/atomic-machine.h> instead of
7723 <sysdeps/tile/bits/atomic.h>.
7724 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7725 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7726 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
7727 <sysdeps/arm/atomic-machine.h> instead of
7728 <sysdeps/arm/bits/atomic.h>.
7729 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7730 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7731 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7732 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7733 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7734 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7735 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7736 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7737 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7738 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7739 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7740 * sysdeps/x86_64/bits/atomic.h: Move to ...
7741 * sysdeps/x86_64/atomic-machine.h: ...here.
7742 * include/atomic.h: Include <atomic-machine.h> instead of
7743 <bits/atomic.h>.
7744
7745 * sysdeps/mips/mips32/libm-test-ulps: Update.
7746 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7747
7748 [BZ #18952]
7749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7750 not convert non-integer negative arguments to int to determine the
7751 value of signgam.
7752 * math/auto-libm-test-in: Add more tests of lgamma.
7753 * math/auto-libm-test-out: Regenerated.
7754
7755 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7756 cosh, csqrt, erfc, expm1 and lgamma.
7757 * math/auto-libm-test-out: Regenerated.
7758 * sysdeps/i386/fpu/libm-test-ulps: Update.
7759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7760
7761 2015-09-10 Joseph Myers <joseph@codesourcery.com>
7762
7763 [BZ #2542]
7764 [BZ #2543]
7765 [BZ #2558]
7766 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7767 __lgamma_neg for arguments from -28.0 to -2.0.
7768 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7769 __lgamma_negf for arguments from -15.0 to -2.0.
7770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7771 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7772 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7773 Call __lgamma_negl for arguments from -33.0 to -2.0.
7774 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7775 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7776 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7777 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7784 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7785 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7786 (__lgamma_neg): Likewise.
7787 (__lgamma_negl): Likewise.
7788 (__lgamma_product): Likewise.
7789 (__lgamma_productl): Likewise.
7790 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7791 * math/auto-libm-test-in: Add more tests of lgamma.
7792 * math/auto-libm-test-out: Regenerated.
7793 * sysdeps/i386/fpu/libm-test-ulps: Update.
7794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7795
7796 2015-09-09 Justin Maggard <jmaggard@netgear.com>
7797
7798 [BZ #18675]
7799 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7800
7801 2015-09-08 Joseph Myers <joseph@codesourcery.com>
7802
7803 [BZ #14912]
7804 * bits/libc-lock.h: Move to ...
7805 * sysdeps/generic/libc-lock.h: ...here.
7806 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7807 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7808 * sysdeps/mach/hurd/libc-lock.h: ...here.
7809 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7810 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7811 * sysdeps/mach/bits/libc-lock.h: Move to ...
7812 * sysdeps/mach/libc-lock.h: ...here.
7813 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7814 * sysdeps/nptl/bits/libc-lock.h: Move to ...
7815 * sysdeps/nptl/libc-lock.h: ...here.
7816 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7817 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7818 * sysdeps/nptl/libc-lockP.h: ...here.
7819 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7820 * crypt/crypt_util.c: Include <libc-lock.h> instead of
7821 <bits/libc-lock.h>.
7822 * dirent/scandir-tail.c: Likewise.
7823 * dlfcn/dlerror.c: Likewise.
7824 * elf/dl-close.c: Likewise.
7825 * elf/dl-iteratephdr.c: Likewise.
7826 * elf/dl-lookup.c: Likewise.
7827 * elf/dl-open.c: Likewise.
7828 * elf/dl-support.c: Likewise.
7829 * elf/dl-writev.h: Likewise.
7830 * elf/rtld.c: Likewise.
7831 * grp/fgetgrent.c: Likewise.
7832 * gshadow/fgetsgent.c: Likewise.
7833 * gshadow/sgetsgent.c: Likewise.
7834 * iconv/gconv_conf.c: Likewise.
7835 * iconv/gconv_db.c: Likewise.
7836 * iconv/gconv_dl.c: Likewise.
7837 * iconv/gconv_int.h: Likewise.
7838 * iconv/gconv_trans.c: Likewise.
7839 * include/link.h: Likewise.
7840 * inet/getnameinfo.c: Likewise.
7841 * inet/getnetgrent.c: Likewise.
7842 * inet/getnetgrent_r.c: Likewise.
7843 * intl/bindtextdom.c: Likewise.
7844 * intl/dcigettext.c: Likewise.
7845 * intl/finddomain.c: Likewise.
7846 * intl/gettextP.h: Likewise.
7847 * intl/loadmsgcat.c: Likewise.
7848 * intl/localealias.c: Likewise.
7849 * intl/textdomain.c: Likewise.
7850 * libidn/idn-stub.c: Likewise.
7851 * libio/libioP.h: Likewise.
7852 * locale/duplocale.c: Likewise.
7853 * locale/freelocale.c: Likewise.
7854 * locale/newlocale.c: Likewise.
7855 * locale/setlocale.c: Likewise.
7856 * login/getutent_r.c: Likewise.
7857 * login/getutid_r.c: Likewise.
7858 * login/getutline_r.c: Likewise.
7859 * login/utmp-private.h: Likewise.
7860 * login/utmpname.c: Likewise.
7861 * malloc/mtrace.c: Likewise.
7862 * misc/efgcvt.c: Likewise.
7863 * misc/error.c: Likewise.
7864 * misc/fstab.c: Likewise.
7865 * misc/getpass.c: Likewise.
7866 * misc/mntent.c: Likewise.
7867 * misc/syslog.c: Likewise.
7868 * nis/nis_call.c: Likewise.
7869 * nis/nis_callback.c: Likewise.
7870 * nis/nss-default.c: Likewise.
7871 * nis/nss_compat/compat-grp.c: Likewise.
7872 * nis/nss_compat/compat-initgroups.c: Likewise.
7873 * nis/nss_compat/compat-pwd.c: Likewise.
7874 * nis/nss_compat/compat-spwd.c: Likewise.
7875 * nis/nss_nis/nis-alias.c: Likewise.
7876 * nis/nss_nis/nis-ethers.c: Likewise.
7877 * nis/nss_nis/nis-grp.c: Likewise.
7878 * nis/nss_nis/nis-hosts.c: Likewise.
7879 * nis/nss_nis/nis-network.c: Likewise.
7880 * nis/nss_nis/nis-proto.c: Likewise.
7881 * nis/nss_nis/nis-pwd.c: Likewise.
7882 * nis/nss_nis/nis-rpc.c: Likewise.
7883 * nis/nss_nis/nis-service.c: Likewise.
7884 * nis/nss_nis/nis-spwd.c: Likewise.
7885 * nis/nss_nisplus/nisplus-alias.c: Likewise.
7886 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7887 * nis/nss_nisplus/nisplus-grp.c: Likewise.
7888 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7889 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7890 * nis/nss_nisplus/nisplus-network.c: Likewise.
7891 * nis/nss_nisplus/nisplus-proto.c: Likewise.
7892 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7893 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7894 * nis/nss_nisplus/nisplus-service.c: Likewise.
7895 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7896 * nis/ypclnt.c: Likewise.
7897 * nptl/libc_pthread_init.c: Likewise.
7898 * nss/getXXbyYY.c: Likewise.
7899 * nss/getXXent.c: Likewise.
7900 * nss/getXXent_r.c: Likewise.
7901 * nss/nss_db/db-XXX.c: Likewise.
7902 * nss/nss_db/db-netgrp.c: Likewise.
7903 * nss/nss_db/nss_db.h: Likewise.
7904 * nss/nss_files/files-XXX.c: Likewise.
7905 * nss/nss_files/files-alias.c: Likewise.
7906 * nss/nsswitch.c: Likewise.
7907 * posix/regex_internal.h: Likewise.
7908 * posix/wordexp.c: Likewise.
7909 * pwd/fgetpwent.c: Likewise.
7910 * resolv/res_hconf.c: Likewise.
7911 * resolv/res_libc.c: Likewise.
7912 * shadow/fgetspent.c: Likewise.
7913 * shadow/lckpwdf.c: Likewise.
7914 * shadow/sgetspent.c: Likewise.
7915 * socket/opensock.c: Likewise.
7916 * stdio-common/reg-modifier.c: Likewise.
7917 * stdio-common/reg-printf.c: Likewise.
7918 * stdio-common/reg-type.c: Likewise.
7919 * stdio-common/vfprintf.c: Likewise.
7920 * stdio-common/vfscanf.c: Likewise.
7921 * stdlib/abort.c: Likewise.
7922 * stdlib/cxa_atexit.c: Likewise.
7923 * stdlib/fmtmsg.c: Likewise.
7924 * stdlib/random.c: Likewise.
7925 * stdlib/setenv.c: Likewise.
7926 * string/strsignal.c: Likewise.
7927 * sunrpc/auth_none.c: Likewise.
7928 * sunrpc/bindrsvprt.c: Likewise.
7929 * sunrpc/create_xid.c: Likewise.
7930 * sunrpc/key_call.c: Likewise.
7931 * sunrpc/rpc_thread.c: Likewise.
7932 * sysdeps/arm/backtrace.c: Likewise.
7933 * sysdeps/generic/ldsodefs.h: Likewise.
7934 * sysdeps/generic/stdio-lock.h: Likewise.
7935 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7936 * sysdeps/i386/backtrace.c: Likewise.
7937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7938 * sysdeps/m68k/backtrace.c: Likewise.
7939 * sysdeps/mach/hurd/cthreads.c: Likewise.
7940 * sysdeps/mach/hurd/dirstream.h: Likewise.
7941 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7942 * sysdeps/nptl/malloc-machine.h: Likewise.
7943 * sysdeps/nptl/stdio-lock.h: Likewise.
7944 * sysdeps/posix/dirstream.h: Likewise.
7945 * sysdeps/posix/getaddrinfo.c: Likewise.
7946 * sysdeps/posix/system.c: Likewise.
7947 * sysdeps/pthread/aio_suspend.c: Likewise.
7948 * sysdeps/s390/s390-32/backtrace.c: Likewise.
7949 * sysdeps/s390/s390-64/backtrace.c: Likewise.
7950 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7951 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7952 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7953 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7954 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7955 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7956 * sysdeps/unix/sysv/linux/system.c: Likewise.
7957 * sysdeps/x86_64/backtrace.c: Likewise.
7958 * time/alt_digit.c: Likewise.
7959 * time/era.c: Likewise.
7960 * time/tzset.c: Likewise.
7961 * wcsmbs/wcsmbsload.c: Likewise.
7962 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7963 instead of <bits/libc-lock.h> in comment.
7964
7965 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
7966
7967 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7968 Only use .set mips2 if the current ISA is below mips2.
7969 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7970 Likewise.
7971 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7972 mips32r2 if the current ISA is below mips32r2.
7973 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7974 (TLS_IE): Updated to use the TLD_RDHWR macro.
7975 (TLS_LE): Likewise.
7976 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7977 __ASSEMBLER__ condition.
7978
7979 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7980
7981 Fix parallel build of before-compile targets.
7982
7983 * sysdeps/mach/Makefile ($(patsubst
7984 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7985 mach-before-compile target.
7986 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7987 io fs process)): Move rule to dedicated hurd-before-compile target.
7988
7989 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7990
7991 Fix rules generating headers in hurd/ and mach/ when initial make call
7992 has subdir= explicitly set.
7993
7994 * sysdeps/mach/Makefile ($(patsubst
7995 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7996 calling $(MAKE).
7997 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7998 io fs process)): Force subdir to hurd when calling $(MAKE).
7999 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8000 subdir to mach when calling $(MAKE).
8001
8002 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
8003
8004 Check sysheaders when looking for Mach and Hurd headers
8005
8006 * sysdeps/mach/configure.ac: Add sysheaders check.
8007 * sysdeps/mach/configure: Regenerate.
8008 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8009 * sysdeps/mach/hurd/configure: Regenerate.
8010
8011 2015-09-04 Roland McGrath <roland@hack.frob.com>
8012
8013 [BZ #18921]
8014 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8015 Fix inverted sense of test of 'o_directory_works' value.
8016 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8017 Bernhard Voelker <mail@bernhard-voelker.de>.
8018
8019 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8020
8021 [BZ #14912]
8022 * bits/linkmap.h: Move to ...
8023 * sysdeps/generic/linkmap.h: ...here.
8024 * sysdeps/aarch64/bits/linkmap.h: Move to ...
8025 * sysdeps/aarch64/linkmap.h: ...here.
8026 * sysdeps/arm/bits/linkmap.h: Move to ...
8027 * sysdeps/arm/linkmap.h: ...here.
8028 * sysdeps/hppa/bits/linkmap.h: Move to ...
8029 * sysdeps/hppa/linkmap.h: ...here.
8030 * sysdeps/ia64/bits/linkmap.h: Move to ...
8031 * sysdeps/ia64/linkmap.h: ...here.
8032 * sysdeps/mips/bits/linkmap.h: Move to ...
8033 * sysdeps/mips/linkmap.h: ...here.
8034 * sysdeps/s390/bits/linkmap.h: Move to ...
8035 * sysdeps/s390/linkmap.h: ...here.
8036 * sysdeps/sh/bits/linkmap.h: Move to ...
8037 * sysdeps/sh/linkmap.h: ...here.
8038 * sysdeps/x86/bits/linkmap.h: Move to ...
8039 * sysdeps/x86/linkmap.h: ...here.
8040 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8041
8042 2015-09-04 Andreas Schwab <schwab@suse.de>
8043
8044 [BZ #18635]
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8046 (__makecontext): Terminate FDE before return label.
8047 (__novec_makecontext): Likewise.
8048
8049 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8050
8051 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8052 first member of struct sv in syscall macro.
8053
8054 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8055
8056 [BZ #14912]
8057 * bits/stdio-lock.h: Move to ...
8058 * sysdeps/generic/stdio-lock.h: ...here.
8059 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8060 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8061 * sysdeps/nptl/stdio-lock.h: ...here.
8062 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8063 * include/libio.h: Include <stdio-lock.h> instead of
8064 <bits/stdio-lock.h>.
8065 * sysdeps/nptl/fork.c: Likewise.
8066 * sysdeps/pthread/flockfile.c: Likewise.
8067 * sysdeps/pthread/ftrylockfile.c: Likewise.
8068 * sysdeps/pthread/funlockfile.c: Likewise.
8069
8070 [BZ #14912]
8071 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8072 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8073 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8074 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8075 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8076 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8077 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8078
8079 2015-09-03 Roland McGrath <roland@hack.frob.com>
8080
8081 * elf/Makefile (test-xfail-tst-protected1a): New variable.
8082 (test-xfail-tst-protected1b): New variable.
8083
8084 2015-09-03 Joseph Myers <joseph@codesourcery.com>
8085
8086 [BZ #14912]
8087 * bits/libc-tsd.h: Move to ...
8088 * sysdeps/generic/libc-tsd.h: ...here.
8089 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8090 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8091 * sysdeps/mach/hurd/libc-tsd.h: ...here.
8092 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8093 * include/ctype.h: Include <libc-tsd.h> instead of
8094 <bits/libc-tsd.h>.
8095 * include/rpc/rpc.h: Likewise.
8096 * locale/localeinfo.h: Likewise.
8097 * sunrpc/rpc_thread.c: Likewise.
8098 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8099 * sysdeps/nptl/malloc-machine.h: Likewise.
8100
8101 * Makefile (headers): Remove bits/libc-lock.h.
8102 * libio/Makefile (headers): Remove bits/stdio-lock.h.
8103
8104 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8105 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8106 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8107 <bits/stdio-lock.h>.
8108 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8109 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8110
8111 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8112
8113 [BZ #18757]
8114 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8115 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8116 BZ #18757.
8117
8118 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8119
8120 * malloc/mtrace.pl: Filter out NULL entries.
8121
8122 2015-09-01 Joseph Myers <joseph@codesourcery.com>
8123
8124 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8125 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8126 macro.
8127
8128 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8129 (TCP_CC_INFO): Likewise.
8130 (TCP_SAVE_SYN): Likewise.
8131 (TCP_SAVED_SYN): Likewise.
8132
8133 2015-08-31 Brett Neumeier <brett@neumeier.us>
8134
8135 [BZ #18870]
8136 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8137
8138 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8139
8140 [BZ #18873]
8141 Fix broken overflow check in posix_fallocate
8142 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8143 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8144 Fix parenthesization typo.
8145
8146 2015-08-28 Mike Frysinger <vapier@gentoo.org>
8147
8148 [BZ #18887]
8149 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8150 tst-mntent-blank-passno.
8151 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8152 * misc/tst-mntent-blank-corrupt.c: New test.
8153 * misc/tst-mntent-blank-passno.c: New test ripped from ...
8154 * misc/tst-mntent.c (do_test): ... here.
8155
8156 2015-08-29 Mike Frysinger <vapier@gentoo.org>
8157
8158 [BZ #4404]
8159 * po/de.po: Fix SIGALRM typo.
8160
8161 2015-08-28 James Perkins <james@loowit.net>
8162
8163 * time/tst-strptime2.c (tests): Replace short list of test
8164 strings for strptime %z specifier with code which exhaustively
8165 tests every combination of sign and 0 to 5 digits. Tests for
8166 rejection of invalid strings.
8167
8168 2015-08-28 James Perkins <james@loowit.net>
8169
8170 [BZ #16141]
8171 * time/strptime_l.c (__strptime_internal): Fix %z minutes
8172 calculation, removing incorrect decimal time rounding, so that
8173 all minute values result in a valid seconds value.
8174 * time/strptime_l.c (__strptime_internal): Extend %z time zone
8175 offset range limits to UTC-99:59 through UTC+99:59 to parse
8176 current and historical use cases.
8177 * time/tst-strptime2.c (tests): Modify and add tests for the
8178 strptime %z input field descriptor, specifically conversion of
8179 minutes to seconds and validating an offset range of -9959 to
8180 +9959.
8181
8182 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8183 Dmitry V. Levin <ldv@altlinux.org>
8184
8185 [BZ #18877]
8186 * posix/Makefile (tests): Add tst-mmap-offset.
8187 * posix/tst-mmap.c: New file.
8188 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8189 offset calculation for negative values.
8190
8191 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8192
8193 * sysdeps/i386/init-arch.h: New file.
8194 * sysdeps/i386/i586/init-arch.h: Likewise.
8195 * sysdeps/i386/i686/init-arch.h: Likewise.
8196 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8197 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
8198 * sysdeps/x86/cpu-features.h (bit_I586): New.
8199 (bit_I686): Likewise.
8200 (bit_CX8): Likewise.
8201 (bit_CMOV): Likewise.
8202 (index_CX8): Likewise.
8203 (index_CMOV): Likewise.
8204 (index_I586): Likewise.
8205 (index_I686): Likewise.
8206 (reg_CX8): Likewise.
8207 (reg_CMOV): Likewise.
8208 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8209 available at compile-time.
8210 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8211 available at compile-time.
8212 * sysdeps/x86/init-arch.h (USE_I586): New macro.
8213 (USE_I686): Likewise.
8214
8215 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8216
8217 * sysdeps/i386/bcopy.S: New file.
8218 * sysdeps/i386/bzero.S: Likewise.
8219 * sysdeps/i386/memcpy.S: Likewise.
8220 * sysdeps/i386/memmove.S: Likewise.
8221 * sysdeps/i386/mempcpy.S: Likewise.
8222 * sysdeps/i386/memset.S: Likewise.
8223 * sysdeps/i386/bzero.c: Removed.
8224 * sysdeps/i386/memset.c: Likewise.
8225 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8226 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8227 * sysdeps/i386/i586/memset_chk.S: Likewise.
8228 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8229 * sysdeps/i386/memcpy_chk.S: Here.
8230 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8231 * sysdeps/i386/memmove_chk.S: Here.
8232 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8233 * sysdeps/i386/mempcpy_chk.S: Likewise.
8234 * sysdeps/i386/i686/memset_chk.S: Moved to ...
8235 * sysdeps/i386/memset_chk.S: Likewise.
8236
8237 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
8238
8239 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8240 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8241 file, move DIAG_POP_NEEDS_COMMENT to end of file.
8242 * soft-fp/fmadf4.c: Ditto.
8243 * soft-fp/fmatf4.c: Ditto.
8244
8245 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8246
8247 * sysdeps/i386/i586/Implies: Removed.
8248 * sysdeps/i386/i686/Implies: Likewise.
8249
8250 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8251
8252 * sysdeps/i386/i486/strlen.S: Moved to ...
8253 * sysdeps/i386/strlen.S: Here.
8254
8255 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8256
8257 * sysdeps/i386/i486/strcat.S: Moved to ...
8258 * sysdeps/i386/strcat.S: Here.
8259
8260 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8261
8262 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8263 * sysdeps/i386/pthread_spin_trylock.S: Here.
8264 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8265 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8266
8267 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8268
8269 * sysdeps/i386/i486/string-inlines.c: Moved to ...
8270 * sysdeps/i386/string-inlines.c: Here.
8271
8272 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8273
8274 * sysdeps/i386/i486/htonl.S: Moved ...
8275 * sysdeps/i386/htonl.S: here.
8276
8277 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8278
8279 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8280 * sysdeps/i386/bits/atomic.h: Here.
8281
8282 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8283
8284 * sysdeps/i386/i486/Versions: Removed.
8285
8286 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
8287
8288 [BZ #2898]
8289 * misc/mktemp.c: Add mkdtemp to the link_warning message.
8290 Based on patch by Aurelien Jarno.
8291
8292 2015-08-26 Stan Shebs <stanshebs@google.com>
8293
8294 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8295 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8296
8297 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8298
8299 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8300 * sysdeps/powerpc/dl-procinfo.c:
8301 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8302 feature so it shows when LD_SHOW_AUXV=1.
8303
8304 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8305
8306 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8307 (__arch_compare_and_exchange_val_32_acq): Remove and use common
8308 definition. ISA 2.07B no longer requires full sync.
8309
8310 2015-08-26 Mike Frysinger <vapier@gentoo.org>
8311
8312 [BZ #18863]
8313 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8314 (si_call_addr): Define.
8315 (si_syscall): Define.
8316 (si_arch): Define.
8317
8318 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
8319
8320 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8321 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8322 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8323 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8324 (__memset_zero_constant_len_parameter): New.
8325 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8326 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8327 (__memset_zero_constant_len_parameter): Don't define if
8328 __memset_chk or USE_AS_BZERO are defined.
8329
8330 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8331 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8332 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8333
8334 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8335 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8336 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8337 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
8338 comments.
8339 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8340 -mno-mmx for $(all-rtld-routines).
8341 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8342 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
8343 i386.
8344
8345 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8346
8347 * sysdeps/generic/unwind.h
8348 (_Unwind_Word): Use __mode__(__unwind_word__)
8349 instead of __mode__(__word__).
8350 (_Unwind_Sword): Likewise.
8351
8352 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8353 (MAX_NEEDED_INPUT): New define.
8354 (MAX_NEEDED_OUTPUT): New define.
8355
8356 * NEWS: New item for IBM z13 string optimizations.
8357
8358 * sysdeps/s390/multiarch/memrchr-c.c: New File.
8359 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8360 * sysdeps/s390/multiarch/memrchr.c: Likewise.
8361 * sysdeps/s390/multiarch/Makefile
8362 (sysdep_routines): Add memrchr functions.
8363 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8364 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8365
8366 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8367 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8368 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8369 * sysdeps/s390/multiarch/Makefile
8370 (sysdep_routines): Add wmemcmp functions.
8371 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8372 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8373 * benchtests/bench-wmemcmp.c: New File.
8374 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8375
8376 * sysdeps/s390/multiarch/wmemset-c.c: New File.
8377 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8378 * sysdeps/s390/multiarch/wmemset.c: Likewise.
8379 * sysdeps/s390/multiarch/Makefile
8380 (sysdep_routines): Add wmemset functions.
8381 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8382 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8383 * wcsmbs/wmemset.c: Use WMEMSET if defined.
8384 * string/test-memset.c: Add wmemset support.
8385 * wcsmbs/test-wmemset.c: New File.
8386 * wcsmbs/Makefile (strop-tests): Add wmemset.
8387 * benchtests/bench-memset.c: Add wmemset support.
8388 * benchtests/bench-wmemset.c: New File.
8389 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8390
8391 * sysdeps/s390/multiarch/memccpy-c.c: New File.
8392 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8393 * sysdeps/s390/multiarch/memccpy.c: Likewise.
8394 * sysdeps/s390/multiarch/Makefile
8395 (sysdep_routines): Add memccpy functions.
8396 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8397 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8398 * string/memccpy.c: Use MEMCCPY if defined.
8399
8400 * sysdeps/s390/multiarch/memchr-vx.S: New File.
8401 * sysdeps/s390/multiarch/memchr.c: Likewise.
8402 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8403 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8404 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8405 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8406 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8407 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8408 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8409 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8410 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8411 and rawmemchr functions.
8412 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8413 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8414 and wmemchr.
8415 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8416 * string/test-memchr.c: Add wmemchr support.
8417 * wcsmbs/test-wmemchr.c: New File.
8418 * wcsmbs/Makefile (strop-tests): Add wmemchr.
8419 * benchtests/bench-memchr.c: Add wmemchr support.
8420 * benchtests/bench-wmemchr.c: New File.
8421 * benchtests/Makefile (wcsmbs-bench): wmemchr.
8422
8423 * sysdeps/s390/multiarch/strcspn-c.c: New File.
8424 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8425 * sysdeps/s390/multiarch/strcspn.c: Likewise.
8426 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8427 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8428 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8429 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8430 wcscspn functions.
8431 * sysdeps/s390/multiarch/ifunc-impl-list.c
8432 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8433 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8434 * string/test-strcspn.c: Add wcscspn support.
8435 * wcsmbs/test-wcscspn.c: New File.
8436 * wcsmbs/Makefile (strop-tests): Add wcscspn.
8437 * benchtests/bench-strcspn.c: Add wcscspn support.
8438 * benchtests/bench-wcscspn.c: New File.
8439 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8440
8441 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8442 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8443 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8444 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8445 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8446 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8447 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8448 wcspbrk functions.
8449 * sysdeps/s390/multiarch/ifunc-impl-list.c
8450 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8451 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8452 * string/test-strpbrk.c: Add wcspbrk support.
8453 * wcsmbs/test-wcspbrk.c: New File.
8454 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8455 * benchtests/bench-strpbrk.c: Add wcspbrk support.
8456 * benchtests/bench-wcspbrk.c: New File.
8457 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8458
8459 * sysdeps/s390/multiarch/strspn-c.c: New File.
8460 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8461 * sysdeps/s390/multiarch/strspn.c: Likewise.
8462 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8463 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8464 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8465 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8466 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8467 wcsspn functions.
8468 * sysdeps/s390/multiarch/ifunc-impl-list.c
8469 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8470 * string/test-strspn.c: Add wcsspn support.
8471 * wcsmbs/test-wcsspn.c: New File.
8472 * wcsmbs/Makefile (strop-tests): Add wcsspn.
8473 * benchtests/bench-strspn.c: Add wcsspn support.
8474 * benchtests/bench-wcsspn.c: New File.
8475 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8476
8477 * sysdeps/s390/multiarch/strrchr-c.c: New File.
8478 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8479 * sysdeps/s390/multiarch/strrchr.c: Likewise.
8480 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8481 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8482 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8483 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8484 wcsrchr functions.
8485 * sysdeps/s390/multiarch/ifunc-impl-list.c
8486 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8487 * benchtests/bench-wcsrchr.c: New File.
8488 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8489
8490 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8491 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8492 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8493 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8494 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8495 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8496 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8497 wcschrnul functions.
8498 * sysdeps/s390/multiarch/ifunc-impl-list.c
8499 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8500 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8501 * string/test-strchr.c: Add wcschrnul support.
8502 * wcsmbs/test-wcschrnul.c: New File.
8503 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8504 * benchtests/bench-strchr.c: Add wcschrnul support.
8505 * benchtests/bench-wcschrnul.c: New File.
8506 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8507
8508 * sysdeps/s390/multiarch/strchr-c.c: New File.
8509 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8510 * sysdeps/s390/multiarch/strchr.c: Likewise.
8511 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8512 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8513 * sysdeps/s390/multiarch/wcschr.c: Likewise.
8514 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8515 wcschr functions.
8516 * sysdeps/s390/multiarch/ifunc-impl-list.c
8517 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8518 * string/strchr.c (STRCHR): Define and use macro.
8519 * benchtests/bench-wcschr.c: New File.
8520 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8521
8522 * sysdeps/s390/multiarch/strncmp-c.c: New File.
8523 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8524 * sysdeps/s390/multiarch/strncmp.c: Likewise.
8525 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8526 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8527 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8528 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8529 wcsncmp functions.
8530 * sysdeps/s390/multiarch/ifunc-impl-list.c
8531 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8532 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8533 * benchtests/bench-strncmp.c: Add wcsncmp support.
8534 * benchtests/bench-wcsncmp.c: New File.
8535 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8536
8537 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8538 * sysdeps/s390/multiarch/strcmp.c: Likewise.
8539 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8540 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8541 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8542 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8543 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8544 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8545 wcscmp functions.
8546 * sysdeps/s390/multiarch/ifunc-impl-list.c
8547 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8548 * string/strcmp.c (STRCMP): Define and use macro.
8549 * benchtests/bench-wcscmp.c: New File.
8550 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8551 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8552 instead of _HAVE_STRING_ARCH_memchr.
8553
8554 * sysdeps/s390/multiarch/strncat-c.c: New File.
8555 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8556 * sysdeps/s390/multiarch/strncat.c: Likewise.
8557 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8558 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8559 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8560 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8561 wcsncat functions.
8562 * sysdeps/s390/multiarch/ifunc-impl-list.c
8563 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8564 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8565 * string/test-strncat.c: Add wcsncat support.
8566 * wcsmbs/test-wcsncat.c: New File.
8567 * wcsmbs/Makefile (strop-tests): Add wcsncat.
8568 * benchtests/bench-strncat.c: Add wcsncat support.
8569 * benchtests/bench-wcsncat.c: New File.
8570 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8571
8572 * sysdeps/s390/multiarch/strcat-c.c: New File.
8573 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8574 * sysdeps/s390/multiarch/strcat.c: Likewise.
8575 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8576 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8577 * sysdeps/s390/multiarch/wcscat.c: Likewise.
8578 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8579 wcscat functions.
8580 * sysdeps/s390/multiarch/ifunc-impl-list.c
8581 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8582 * string/strcat.c (STRCAT): Define and use macro.
8583 * wcsmbs/wcscat.c: Use WCSCAT if defined.
8584 * string/test-strcat.c: Add wcscat support.
8585 * wcsmbs/test-wcscat.c: New File.
8586 * wcsmbs/Makefile (strop-tests): Add wcscat.
8587 * benchtests/bench-strcat.c: Add wcscat support.
8588 * benchtests/bench-wcscat.c: New File.
8589 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8590
8591 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8592 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8593 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8594 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8595 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8596 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8597 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8598 wcpncpy functions.
8599 * sysdeps/s390/multiarch/ifunc-impl-list.c
8600 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8601 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8602 * string/test-stpncpy.c: Add wcpncpy support.
8603 * wcsmbs/test-wcpncpy.c: New File.
8604 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8605 * benchtests/bench-stpncpy.c: Add wcpncpy support.
8606 * benchtests/bench-wcpncpy.c: New File.
8607 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8608
8609 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8610 * sysdeps/s390/multiarch/strncpy.c: Likewise.
8611 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8612 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8613 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8614 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8615 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8616 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8617 wcsncpy functions.
8618 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8619 * sysdeps/s390/multiarch/ifunc-impl-list.c
8620 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8621 * string/test-strncpy.c: Add wcsncpy support.
8622 * wcsmbs/test-wcsncpy.c: New File.
8623 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8624 * benchtests/bench-strncpy.c: Add wcsncpy support.
8625 * benchtests/bench-wcsncpy.c: New File.
8626 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8627
8628 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8629 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8630 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8631 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8632 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8633 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8634 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8635 wcpcpy functions.
8636 * string/stpcpy.c: Use STPCPY if defined.
8637 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8638 * sysdeps/s390/multiarch/ifunc-impl-list.c
8639 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8640 * string/test-stpcpy.c: Add wcpcpy support.
8641 * wcsmbs/test-wcpcpy.c: New File.
8642 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8643 * benchtests/bench-stpcpy.c: Add wcpcpy support.
8644 * benchtests/bench-wcpcpy.c: New File.
8645 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8646
8647 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8648 * sysdeps/s390/multiarch/strcpy.c: Likewise.
8649 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8650 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8651 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8652 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8653 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8654 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8655 wcscpy functions.
8656 * sysdeps/s390/multiarch/ifunc-impl-list.c
8657 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8658 * benchtests/bench-wcscpy.c: New File.
8659 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8660
8661 * sysdeps/s390/multiarch/strnlen-c.c: New File.
8662 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8663 * sysdeps/s390/multiarch/strnlen.c: Likewise.
8664 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8665 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8666 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8667 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8668 wcsnlen functions.
8669 * sysdeps/s390/multiarch/ifunc-impl-list.c
8670 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8671 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8672 * string/test-strnlen.c: Add wcsnlen support.
8673 * wcsmbs/test-wcsnlen.c: New File.
8674 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8675 * benchtests/bench-strnlen.c: Add wcsnlen support.
8676 * benchtests/bench-wcsnlen.c: New File.
8677 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8678
8679 * sysdeps/s390/multiarch/Makefile: New File.
8680 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8681 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8682 * sysdeps/s390/multiarch/strlen.c: Likewise.
8683 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8684 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8685 * sysdeps/s390/multiarch/wcslen.c: Likewise.
8686 * string/strlen.c (STRLEN): Define and use macro.
8687 * sysdeps/s390/multiarch/ifunc-impl-list.c
8688 (IFUNC_VX_IMPL): New macro function.
8689 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8690 * benchtests/Makefile (wcsmbs-bench): New variable.
8691 (string-bench-all): Added wcsmbs-bench.
8692 * benchtests/bench-wcslen.c: New File.
8693
8694 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8695 s390_vx_libc_ifunc2): New macro function.
8696
8697 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8698 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8699 assembler support.
8700 * sysdeps/s390/configure: Regenerated.
8701
8702 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8703 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8704
8705 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8706 * sysdeps/s390/dl-procinfo.h: Add vector capability.
8707 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8708
8709 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8710 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8711 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8712 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8713 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8714 (memcmp, bcmp): Use __memcmp_default as alias source.
8715 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8716 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8717 Rename to __memcmp_default.
8718 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8719 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8720 (memcpy): Use __memcpy_default as alias source.
8721 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8722 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8723 Rename to __memcpy_default.
8724 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8725 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8726 (memset): Use __memset_default as alias source.
8727 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8728 * sysdeps/s390/s390-32/memset.S (__memset_g5):
8729 Rename to __memset_default.
8730 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8731 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8732 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8733 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8734 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8735 (memcmp, bcmp): Use __memcmp_default as alias source.
8736 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8737 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8738 Rename to __memcmp_default.
8739 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8740 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8741 (memcpy): Use __memcpy_default as alias source.
8742 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8743 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8744 Rename to __memcpy_default.
8745 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8746 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8747 (memset): Use __memset_default as alias source.
8748 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8749 * sysdeps/s390/s390-64/memset.S (__memset_z900):
8750 Rename to __memset_default.
8751 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8752 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8753
8754 [BZ #18610]
8755 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8756 __ieee_instruction_pointer to __unused.
8757 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8758 __ieee_instruction_pointer.
8759 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8760 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8761 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8762 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8763 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8764 Mark dxc-field as reserved.
8765
8766 2015-08-25 Roland McGrath <roland@hack.frob.com>
8767
8768 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8769 if the weak reference is not null.
8770
8771 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8772
8773 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8774
8775 [BZ #11214]
8776 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8777
8778 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8779
8780 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8781 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8782 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8783 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8784 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8785 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8786 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8787 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8788 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8789 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8790 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8791 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8792 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8793 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8794 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8795 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8796 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8797 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8798
8799 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8800
8801 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8802 register other than r0 for tabort, it has special meaning.
8803 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
8804 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8805 transaction before starting syscall.
8806
8807 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8808
8809 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8810
8811 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8812
8813 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8814
8815 * sysdeps/x86_64/rtld-memcmp.c: Removed.
8816 * sysdeps/x86_64/rtld-memset.S: Likewise.
8817 * sysdeps/x86_64/rtld-strchr.S: Likewise.
8818 * sysdeps/x86_64/rtld-strlen.S: Likewise.
8819 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8820 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8821
8822 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8823
8824 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
8825
8826 * debug/strcpy_chk.c: Improve performance.
8827 * debug/stpcpy_chk.c: Likewise.
8828 * sysdeps/x86_64/strcpy_chk.S: Remove.
8829 * sysdeps/x86_64/stpcpy_chk.S: Remove.
8830
8831 [BZ #18240]
8832 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8833
8834 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8835
8836 [BZ #15128]
8837 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8838 ifuncmain8.
8839 (modules-names): Add ifuncmod8.
8840 ($(objpfx)ifuncmain8): New rule.
8841 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8842 <cpuid.h>.
8843 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8844 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8845 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8846 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8847 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8848 * sysdeps/x86_64/dl-trampoline.h: Likewise.
8849 * sysdeps/x86_64/ifuncmain8.c: New file.
8850 * sysdeps/x86_64/ifuncmod8.c: Likewise.
8851 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8852 Removed.
8853 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8854 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8855 Change rtld_savespace_sse to __glibc_unused2.
8856 (RTLD_CHECK_FOREIGN_CALL): Removed.
8857 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8858 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8859 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8860
8861 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8862
8863 * sysdeps/aarch64/bzero.S (__bzero): Remove.
8864
8865 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8866
8867 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8868 Unconditionally set __fpcr to avoid uninialized warning.
8869 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8870
8871 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8872
8873 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8874 is corrupt.
8875
8876 * malloc/arena.c (arena_get2): Drop unused argument.
8877 (arena_lock): Adjust.
8878 (arena_get_retry): Likewise.
8879
8880 2015-08-24 Andreas Schwab <schwab@suse.de>
8881
8882 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8883 Don't define.
8884 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8885 (__ASSUME_IPC64): Don't undef.
8886 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8887 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8888 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8889 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8890 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8891 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8892 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8893 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8894 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8895 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8896 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8897 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8898 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8899 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8900 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8901 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8902 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8903 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8904 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8905 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8906 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8907
8908 2015-08-21 Mike Frysinger <vapier@gentoo.org>
8909
8910 * manual/Makefile (install): Only build manual when perl is available.
8911
8912 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8913
8914 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8915 '#undef memcpy' by '#undef memchr'.
8916
8917 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8918
8919 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8920 memchr not point to the internal __GI_memchr implementation.
8921
8922 2015-08-20 Joseph Myers <joseph@codesourcery.com>
8923
8924 * timezone/Makefile (CFLAGS-zdump.c): Remove
8925 -Wno-strict-prototypes.
8926 (CFLAGS-zic.c): Likewise.
8927 (CFLAGS-ialloc.c): Likewise.
8928 (CFLAGS-scheck.c): Likewise.
8929
8930 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8931 -Wno-error=undef.
8932
8933 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8934
8935 * i386/i686/multiarch/strcasestr-c.c: Removed.
8936 * x86_64/multiarch/strcasestr.c: Likewise.
8937 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8938 Remove strcasestr.
8939
8940 2015-08-20 Joseph Myers <joseph@codesourcery.com>
8941
8942 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8943
8944 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8945 variables for high and low parts before possibly modifying them.
8946
8947 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8948
8949 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8950 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8951 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8952 of "multiarch/init-arch.h".
8953 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8954 * sysdeps/x86/init-arch.h: This.
8955
8956 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8957
8958 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8959 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8960
8961 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
8962
8963 [BZ #17787]
8964 * manual/macros.texi: Add twoexp macro.
8965 * manual/filesys.texi: Fix exponents.
8966 * manual/llio.texi: Likewise.
8967 * manual/stdio.texi: Likewise.
8968
8969 2015-08-20 Florian Weimer <fweimer@redhat.com>
8970
8971 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8972 incorrect use.
8973
8974 2015-08-19 Joseph Myers <joseph@codesourcery.com>
8975
8976 [BZ #18370]
8977 * math/s_csqrt.c (__csqrt): Force underflow exception for results
8978 whose real or imaginary part has small absolute value.
8979 * math/s_csqrtf.c (__csqrtf): Likewise.
8980 * math/s_csqrtl.c (__csqrtl): Likewise.
8981 * math/auto-libm-test-in: Add more tests of csqrt.
8982 * math/auto-libm-test-out: Regenerated.
8983 * sysdeps/i386/fpu/libm-test-ulps: Update.
8984
8985 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8986
8987 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8988 __ppc_set_ppr_very_low): New functions.
8989 * manual/platform.texi: Add documentation about
8990 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8991
8992 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
8993
8994 * string/stpncpy.c (stpncpy): Improve performance using
8995 __strnlen/memcpy/memset.
8996
8997 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
8998
8999 [BZ #18796]
9000 * scripts/test-installation.pl: Don't add -lmvec to build options if
9001 libmvec wasn't built.
9002
9003 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9004
9005 [BZ #14341]
9006 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9007 case when there is a gap between DT_REL and DT_JMPREL sections.
9008 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9009 (LDFLAGS-tst-split-dynreloc): New.
9010 (tst-split-dynreloc-ENV): Likewise.
9011 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9012 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9013
9014 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9015
9016 [BZ #18822]
9017 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9018 attribute_hidden.
9019 (__xstat64_conv): Likewise.
9020 (__xstat32_conv): Likewise.
9021
9022 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9023
9024 [BZ #18822]
9025 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9026 Don't load %ebx when calling __setcontext. Call __setcontext
9027 with HIDDEN_JUMPTARGET.
9028 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9029 libc_hidden_def.
9030
9031 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9032
9033 * sysdeps/i386/i686/Makefile
9034 [$(subdir) == string] (sysdep_routines): Moved to ...
9035 * sysdeps/i386/Makefile: Here.
9036 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9037 * sysdeps/i386/cacheinfo.c: Here.
9038 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9039 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9040 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9041 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9042
9043 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9044
9045 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9046 __i586__ is defined.
9047 (HAS_I686): Defined to 1 if __i686__ is defined.
9048
9049 2015-08-19 Joseph Myers <joseph@codesourcery.com>
9050
9051 * elf/Makefile [$(have-z-execstack) = yes]
9052 (CPPFLAGS-tst-execstack.c): New variable.
9053
9054 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9055 conditional to [defined UTMPX || _HAVE_UT_TYPE].
9056 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9057 UTMPX || _HAVE_UT_TV].
9058 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9059 UTMPX || _HAVE_UT_TV - 0].
9060
9061 2015-08-18 Joseph Myers <joseph@codesourcery.com>
9062
9063 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9064 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9065 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9066
9067 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9068
9069 * sysdeps/powerpc/dl-procinfo.c:
9070 (_dl_powerpc_cap_flags): Added missing strings for some
9071 hwcap features.
9072 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9073
9074 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
9075
9076 Port the 0x7efe...feff pattern to GCC 6.
9077 See Steve Ellcey's bug report in:
9078 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9079 * string/memrchr.c (MEMRCHR):
9080 * string/rawmemchr.c (RAWMEMCHR):
9081 * string/strchr.c (strchr):
9082 * string/strchrnul.c (STRCHRNUL):
9083 Rewrite code to avoid issues with signed shift overflow.
9084
9085 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
9086
9087 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9088 whether cpuid is available only if HAS_CPUID is 0.
9089 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9090 (HAS_I586): Likewise.
9091 (HAS_I686): Likewise.
9092
9093 2015-08-18 Zack Weinberg <zackw@panix.com>
9094
9095 * misc/Versions (libc): Add GLIBC_2.23.
9096
9097 2015-08-18 Alan Modra <amodra@gmail.com>
9098
9099 [BZ #18421]
9100 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9101 .Lp__global.
9102 (_start): Load %dp via .Lp__global.
9103 [!SHARED]: Use .section .rodata.
9104
9105 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9106
9107 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9108 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9109
9110 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9111
9112 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9113 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9114
9115 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9116
9117 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9118 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9119
9120 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9121
9122 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9123 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9124
9125 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9126
9127 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9128 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9129
9130 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9131
9132 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9133 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9134
9135 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9136
9137 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9138
9139 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9140
9141 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9142 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
9143 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9144 (__ASSUME_LWS_CAS): Delete.
9145
9146 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9147
9148 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9149 * sysdeps/hppa/configure: Regenerated.
9150 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9151 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9152 * sysdeps/hppa/nptl/tls.h: Likewise.
9153
9154 2015-08-17 Joseph Myers <joseph@codesourcery.com>
9155
9156 [BZ #18823]
9157 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9158 for scaling up small arguments.
9159 * math/s_csqrtf.c (__csqrtf): Likewise.
9160 * math/s_csqrtl.c (__csqrtl): Likewise.
9161 * math/auto-libm-test-in: Add more tests of csqrt.
9162 * math/auto-libm-test-out: Regenerated.
9163
9164 2015-08-17 Andreas Schwab <schwab@suse.de>
9165
9166 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9167 version set GLIBC_2.19.
9168
9169 2015-08-16 Zack Weinberg <zackw@panix.com>
9170
9171 [BZ #18681]
9172 * misc/regexp.h: This interface is no longer supported.
9173 Remove all contents, leaving only an #error directive.
9174 * misc/regexp.c (loc1, loc2, locs, step, advance):
9175 Demote to compatibility symbols.
9176
9177 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9178
9179 [BZ #18084]
9180 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9181 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9182 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9183 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9184 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9185 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9186 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9187 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9188 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9189
9190 2015-08-15 Zack Weinberg <zackw@panix.com>
9191
9192 [BZ #18795]
9193 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9194 buffer length is known to be too large, not if it's known to be
9195 small enough.
9196 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9197 overflow at runtime, involving a length parameter, twice: once
9198 with a compile-time constant length parameter, once without.
9199
9200 2015-08-14 Joseph Myers <joseph@codesourcery.com>
9201
9202 [BZ #18824]
9203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9204 scaling x * y up instead of down.
9205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9207 * math/auto-libm-test-in: Add more tests of fma.
9208 * math/auto-libm-test-out: Regenerated.
9209
9210 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9211
9212 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9213
9214 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9215
9216 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9217 unnecessary movq.
9218 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9219 Likewise.
9220
9221 2015-08-13 Joseph Myers <joseph@codesourcery.com>
9222
9223 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9224 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9225 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9226 and tgamma.
9227 * math/auto-libm-test-out: Regenerated.
9228 * sysdeps/i386/fpu/libm-test-ulps: Update.
9229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9230
9231 [BZ #16520]
9232 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9233 (__tanh): Force underflow exception for arguments with small
9234 absolute value.
9235 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9236 (__tanhf): Force underflow exception for arguments with small
9237 absolute value.
9238 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9239 (__tanhl): Force underflow exception for arguments with small
9240 absolute value.
9241 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9242 (__tanhl): Force underflow exception for arguments with small
9243 absolute value.
9244 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9245 (__tanhl): Force underflow exception for arguments with small
9246 absolute value.
9247 * math/auto-libm-test-in: Add more tests of tanh.
9248 * math/auto-libm-test-out: Regenerated.
9249 * sysdeps/i386/fpu/libm-test-ulps: Update.
9250
9251 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9252
9253 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9254 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9255
9256 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9257
9258 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9259 <cpuid.h>.
9260
9261 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9262
9263 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9264 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9265
9266 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9269 Remove $(objpfx)init-arch.o.
9270 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9271 init-arch.
9272 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9273 (INIT_ARCH_EXT): Defined as empty.
9274 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9275 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9276 __init_cpu_features call. Replace HAS_XXX with
9277 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9278 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9279 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9280 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9281 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9282 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9283 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9284 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9285 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9286 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9287 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9288 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9289 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9290 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9291 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9292 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9293 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9294 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9295 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9296 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9297 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9298 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9299 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9300 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9301 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9302 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9303 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9304 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9305 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9306 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9307 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9308 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9309 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9310 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9311 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9312 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9313
9314 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9315
9316 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9317 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9318 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9319 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9320 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9321 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9322 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9323 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9324 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9325 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9326 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9327 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
9328 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9329 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9330 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9331 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9332 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9333 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9334 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9335 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9336 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9337 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9338 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9339 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9340 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9341 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9342 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9343 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9344 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9345 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9346 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9347 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9348 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9349 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9350 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9351 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9352 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9353 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9354 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9355 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9356 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9357 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9358 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9359
9360 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9361
9362 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9363 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9364 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9365 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9366 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9367 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9368 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9369 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9370 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9371 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9372 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9373 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9374 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9375 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9376 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9377 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9378 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9379 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9380 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9381 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9383 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9384 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9385 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9386 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9387 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9388 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9389 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
9390 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9391 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9392 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9393 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9394 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9395 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9396 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9397 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9398 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9399 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9400 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9401 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9402 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9403 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9404 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9405
9406 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9407
9408 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9409 (dl_platform_init): Call init_cpu_features.
9410 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9411 * sysdeps/i386/i686/cacheinfo.c
9412 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9413 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9414 * sysdeps/i386/i686/multiarch/Versions: Removed.
9415 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9416 Removed.
9417 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9418 * sysdeps/unix/sysv/linux/x86/Makefile
9419 (libpthread-sysdep_routines): Remove init-arch.
9420 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9421 <sysdeps/x86_64/dl-procinfo.c> instead of
9422 sysdeps/generic/dl-procinfo.c>.
9423 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9424 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9425 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9426 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9427 [$(subdir) == elf] (tests-static): Add
9428 tst-get-cpu-features-static.
9429 * sysdeps/x86/Versions: New file.
9430 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9431 * sysdeps/x86/cpu-features.c: Likewise.
9432 * sysdeps/x86/cpu-features.h: Likewise.
9433 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9434 * sysdeps/x86/libc-start.c: Likewise.
9435 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9436 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9437 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9438 * sysdeps/x86_64/dl-procinfo.c: Likewise.
9439 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9440 Assume USE_MULTIARCH is defined and don't check it.
9441 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9442 (is_amd): Likewise.
9443 (max_cpuid): Likewise.
9444 (intel_check_word): Likewise.
9445 (__cache_sysconf): Don't call __init_cpu_features.
9446 (__x86_preferred_memory_instruction): Removed.
9447 (init_cacheinfo): Don't call __init_cpu_features. Replace
9448 __cpu_features with GLRO(dl_x86_cpu_features).
9449 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9450 (dl_platform_init): Call init_cpu_features.
9451 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9452 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9453 * sysdeps/x86_64/multiarch/Versions: Removed.
9454 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9455 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9456 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9457 Removed.
9458 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9459
9460 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9461
9462 [BZ #18820]
9463 * libio/Makefile (test-fmemopen-mem): New test.
9464 * libio/test-fmemopen.c (do_bz18820): New test.
9465 * libio/fmemopen.c (__fmemopen): Fix memory leak.
9466 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9467
9468 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9469
9470 [BZ #16734]
9471 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9472 (FREE_BUF): Delete.
9473 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9474 * libio/genops.c (_IO_setb): Use malloc and free directly.
9475 (_IO_default_doallocate, _IO_default_finish): Likewise.
9476 ( _IO_unbuffer_all): Likewise.
9477 ( libc_freeres_fn): Likewise.
9478 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9479 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9480 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9481 (_IO_wdefault_doallocate): Likewise.
9482
9483 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9484
9485 [BZ #18086]
9486 * sysdeps/posix/nice.c (nice): Restore old errno.
9487 * posix/tst-nice.c (do_test): Add test for BZ #18086.
9488
9489 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
9490
9491 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9492
9493 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9494
9495 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9496 __bcopy and add a weak_alias to bcopy.
9497 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9498 for static build.
9499
9500 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9501 cleanup macro usage.
9502 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9503 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9504 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9505 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9506 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9507 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9508 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9509 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9510 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9511 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9512 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9513 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9514 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9515 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9516 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9517 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9518 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9519 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9520 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9521
9522 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9523 libc_hidden_def.
9524 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9525
9526 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9527 (sysdep_routines): Add strstr-ppc64.
9528 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9529
9530 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
9531
9532 [BZ #18778]
9533 * elf/Makefile (tests): Add Add tst-nodelete2.
9534 (modules-names): Add tst-nodelete2mod.
9535 (tst-nodelete2mod.so-no-z-defs): New.
9536 ($(objpfx)tst-nodelete2): Likewise.
9537 ($(objpfx)tst-nodelete2.out): Likewise.
9538 (LDFLAGS-tst-nodelete2): Likewise.
9539 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9540 out of loop through all loaded libraries.
9541 * elf/tst-nodelete2.c: New file.
9542 * elf/tst-nodelete2mod.c: Likewise.
9543 * elf/tst-znodelete-zlib.cc: Delete.
9544
9545 2015-08-11 Andreas Schwab <schwab@suse.de>
9546
9547 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9548 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9549 (__openat64_nocancel): Likewise.
9550
9551 2015-08-11 Joseph Myers <joseph@codesourcery.com>
9552
9553 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9554 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9555 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9556 * math/auto-libm-test-out: Regenerated.
9557 * sysdeps/i386/fpu/libm-test-ulps: Update.
9558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9559
9560 2015-08-10 Joseph Myers <joseph@codesourcery.com>
9561
9562 [BZ #18790]
9563 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9564 threshold for returning +/- 1.
9565 * math/auto-libm-test-in: Add more tests of tanh.
9566 * math/auto-libm-test-out: Regenerated.
9567 * sysdeps/i386/fpu/libm-test-ulps: Update.
9568
9569 2015-08-10 Andreas Schwab <schwab@suse.de>
9570
9571 [BZ #18781]
9572 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9573 MORE_OFLAGS to oflag.
9574 * io/test-lfs.c (do_test): Test openat64.
9575
9576 2015-08-10 Joseph Myers <joseph@codesourcery.com>
9577
9578 [BZ #18789]
9579 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9580 smaller threshold for returning the argument.
9581 * math/auto-libm-test-in: Add more tests of sinh.
9582 * math/auto-libm-test-out: Regenerated.
9583 * sysdeps/i386/fpu/libm-test-ulps: Update.
9584
9585 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
9586
9587 [BZ #18674]
9588 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9589 break.
9590
9591 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
9592
9593 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9594 (generated): Don't add $(addprefix z.,$(tzfiles)).
9595
9596 2015-08-09 Mike Frysinger <vapier@gentoo.org>
9597
9598 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9599 * scripts/sysd-rules.awk: Likewise.
9600
9601 2015-08-09 Mike Frysinger <vapier@gentoo.org>
9602
9603 * iconvdata/tst-tables.sh: Change echo -n to printf.
9604 * nss/db-Makefile: Likewise.
9605 * posix/tst-getconf.sh: Likewise.
9606 * stdio-common/tst-unbputc.sh: Likewise.
9607
9608 2015-08-09 Mike Frysinger <vapier@gentoo.org>
9609
9610 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9611 MADV_*_PAGES defines behind this feature check.
9612
9613 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
9614
9615 [BZ #18480]
9616 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9617 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9618 Define.
9619 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9620 LOAD_REGS_5, LOAD_REGS_6): Update.
9621 (INTERNAL_SYSCALL): Update using new LOAD defines.
9622 (INTERNAL_SYSCALL_NCS): Likewise.
9623 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9624
9625 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9626
9627 [BZ #16734]
9628 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9629
9630 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9631
9632 [BZ #17905]
9633 * catgets/Makefile (tst-catgets-mem): New test.
9634 * catgets/catgets.c (catopen): Don't use unbounded alloca.
9635 * catgets/open_catalog.c (__open_catalog): Likewise.
9636 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9637
9638 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
9639
9640 [BZ #18787]
9641 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9642 clobber registers.
9643 (atomic_compare_and_exchange_val_acq): Use register asms to assign
9644 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
9645 Cast return to __typeof (oldval).
9646
9647 2015-08-08 Mike Frysinger <vapier@gentoo.org>
9648
9649 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9650 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
9651 and delete sys/syscall.h include.
9652
9653 2015-08-07 Joseph Myers <joseph@codesourcery.com>
9654
9655 [BZ #16517]
9656 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9657 (tan): Force underflow exception for arguments with small absolute
9658 value.
9659 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9660 (__kernel_tanf): Force underflow exception for arguments with
9661 small absolute value.
9662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9663 (__kernel_tanl): Force underflow exception for arguments with
9664 small absolute value.
9665 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9666 (__kernel_tanl): Force underflow exception for arguments with
9667 small absolute value.
9668 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9669 (__kernel_tanl): Force underflow exception for arguments with
9670 small absolute value.
9671 * math/auto-libm-test-in: Add more tests of tan.
9672 * math/auto-libm-test-out: Regenerated.
9673
9674 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9675
9676 Fix sysdeps/i386/fpu/s_scalbn.S build
9677
9678 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9679
9680 2015-08-07 Mike Frysinger <vapier@gentoo.org>
9681
9682 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9683
9684 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9685
9686 Fix gcrt0.o compilation
9687
9688 When static-start-installed-name is different from
9689 start-installed-name, we must not use the shared objects.
9690
9691 * csu/Makefile
9692 (extra-objs): Add gmon-start.o when building shared library and
9693 $(static-start-installed-name) is different from
9694 $(start-installed-name).
9695 $(objpfx)g$(static-start-installed-name): When building shared
9696 library and $(static-start-installed-name) is different from
9697 $(static-start-installed-name), revert to non-shared rule,
9698 i.e. using $(objpfx)% and gmon-start.o.
9699
9700 2015-08-06 Joseph Myers <joseph@codesourcery.com>
9701
9702 [BZ #16519]
9703 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9704 (__ieee754_sinh): Force underflow exception for arguments with
9705 small absolute value.
9706 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9707 (__ieee754_sinhf): Force underflow exception for arguments with
9708 small absolute value.
9709 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9710 (__ieee754_sinhl): Force underflow exception for arguments with
9711 small absolute value.
9712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9713 (__ieee754_sinhl): Force underflow exception for arguments with
9714 small absolute value.
9715 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9716 (__ieee754_sinhl): Force underflow exception for arguments with
9717 small absolute value.
9718 * math/auto-libm-test-in: Add more tests of sinh.
9719 * math/auto-libm-test-out: Regenerated.
9720 * sysdeps/i386/fpu/libm-test-ulps: Update.
9721
9722 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9723
9724 * libio/oldfileops.c: Include unistd.h.
9725
9726 2015-08-06 Mike Frysinger <vapier@gentoo.org>
9727
9728 * stdlib/isomac.c: Include ctype.h.
9729
9730 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
9731
9732 * dirent/tst-seekdir.c (main): Converted to ...
9733 (do_test): ... this.
9734 (TEST_FUNCTION): New macro.
9735 Include test-skeleton.c.
9736 * elf/tst-dlmodcount.c (main): Converted to ...
9737 (do_test): ... this.
9738 (TEST_FUNCTION): New macro.
9739 Include test-skeleton.c.
9740 * elf/tst-order-main.c (main): Converted to ...
9741 (do_test): ... this.
9742 (TEST_FUNCTION): New macro.
9743 Include test-skeleton.c.
9744 * elf/tst-pie2.c (main): Converted to ...
9745 (do_test): ... this.
9746 (TEST_FUNCTION): New macro.
9747 Include test-skeleton.c.
9748 * inet/tst-ether_aton.c (main): Converted to ...
9749 (do_test): ... this.
9750 (TEST_FUNCTION): New macro.
9751 Include test-skeleton.c.
9752 * misc/tst-mntent.c (main): Converted to ...
9753 (do_test): ... this.
9754 (TEST_FUNCTION): New macro.
9755 Include test-skeleton.c.
9756 * misc/tst-tsearch.c (main): Converted to ...
9757 (do_test): ... this.
9758 (TEST_FUNCTION): New macro.
9759 Include test-skeleton.c.
9760 * posix/tst-regexloc.c (main): Converted to ...
9761 (do_test): ... this.
9762 (TEST_FUNCTION): New macro.
9763 Include test-skeleton.c.
9764 * resolv/tst-aton.c (main): Converted to ...
9765 (do_test): ... this.
9766 (TEST_FUNCTION): New macro.
9767 Include test-skeleton.c.
9768 * stdio-common/test-fwrite.c (main): Converted to ...
9769 (do_test): ... this.
9770 (TEST_FUNCTION): New macro.
9771 Include test-skeleton.c.
9772 * stdio-common/tst-ferror.c (main): Converted to ...
9773 (do_test): ... this.
9774 (TEST_FUNCTION): New macro.
9775 Include test-skeleton.c.
9776 * stdio-common/tst-printf.c (main): Converted to ...
9777 (do_test): ... this.
9778 (TEST_FUNCTION): New macro.
9779 Include test-skeleton.c.
9780 * stdio-common/tst-printfsz.c (main): Converted to ...
9781 (do_test): ... this.
9782 (TEST_FUNCTION): New macro.
9783 Include test-skeleton.c.
9784 * stdlib/tst-strtod.c (main): Converted to ...
9785 (do_test): ... this.
9786 (TEST_FUNCTION): New macro.
9787 Include test-skeleton.c.
9788 * string/tst-strlen.c (main): Converted to ...
9789 (do_test): ... this.
9790 (TEST_FUNCTION): New macro.
9791 Include test-skeleton.c.
9792 * string/tst-svc.c (main): Converted to ...
9793 (do_test): ... this.
9794 (TEST_FUNCTION): New macro.
9795 Include test-skeleton.c.
9796 * time/tst-strptime.c (main): Converted to ...
9797 (do_test): ... this.
9798 (TEST_FUNCTION): New macro.
9799 Include test-skeleton.c.
9800 * timezone/tst-timezone.c (main): Converted to ...
9801 (do_test): ... this.
9802 (TEST_FUNCTION): New macro.
9803 Include test-skeleton.c.
9804
9805 2015-08-05 Zack Weinberg <zackw@panix.com>
9806
9807 * misc/regexp.h: Update comments.
9808
9809 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
9810
9811 [BZ #18635]
9812 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9813 before return label.
9814
9815 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9816
9817 [BZ #18661]
9818 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9819 when calling __errno_location.
9820 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9821 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9822
9823 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9824
9825 [BZ #18661]
9826 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9827 (__lll_timedwait_tid): Align stack to 16 bytes when calling
9828 __gettimeofday.
9829
9830 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9831
9832 [BZ #18661]
9833 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9834 (__start_context): Don't use pop to restore %rdi so that stack
9835 is aligned to 16 bytes when calling __setcontext.
9836
9837 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9838
9839 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9840 only for libc.
9841 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9842
9843 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9844
9845 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9846 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
9847 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9848
9849 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9850
9851 * string/memccpy.c (memccpy):
9852 Improve performance by using memchr/memcpy/__mempcpy.
9853
9854 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9855
9856 * string/strncpy.c (strncpy):
9857 Improve performance by using __strnlen/memcpy.
9858
9859 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9860
9861 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9862 Optimize to avoid an unnecessary FPCR read.
9863
9864 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9865
9866 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9867 Optimize to reduce FPCR/FPSR accesses.
9868
9869 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9870
9871 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9872 dead->data[category] != NULL.
9873
9874 2015-08-05 Joseph Myers <joseph@codesourcery.com>
9875
9876 [BZ #18647]
9877 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9878 and |x| close to 1, use absolute value of x when computing log.
9879 * math/auto-libm-test-in: Add more tests of pow.
9880 * math/auto-libm-test-out: Regenerated.
9881
9882 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9883
9884 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9885 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9886 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9887
9888 2015-08-05 Marko Myllynen <myllynen@redhat.com>
9889
9890 [BZ #18525]
9891 * locales/km_KH: Remove timezone definition.
9892 * locales/lo_LA: Likewise.
9893 * locales/my_MM: Likewise.
9894 * locales/nan_TW@latin: Likewise.
9895 * locales/th_TH: Likewise.
9896 * locales/uk_UA: Likewise.
9897
9898 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
9899
9900 [BZ #18265]
9901 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9902 (wcsncat): Likewise.
9903 (wcscmp): Likewise.
9904 (wcsncmp): Likewise.
9905
9906 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9907
9908 * test-skeleton.c (usage): New function.
9909 (main): Call usage when opt is '?'.
9910
9911 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9912
9913 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9914 before first use.
9915
9916 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9917
9918 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9919 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
9920 in there too.
9921
9922 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
9923
9924 * version.h (RELEASE): Set to "development".
9925 (VERSION): Set to "2.22.90"
9926
9927 * version.h (RELEASE): Set to "stable".
9928 (VERSION): Set to "2.22"
9929 * include/features.h (__GLIBC_MINOR__): Set to 22.
9930
9931 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
9932
9933 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9934 Restructure macro to avoid "value computed is not used" warning.
9935 (atomic_compare_and_exchange_val_acq): Likewise.
9936
9937 2015-08-04 Andreas Schwab <schwab@suse.de>
9938
9939 [BZ #18635]
9940 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9941 ret.
9942 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9943
9944 2015-08-01 Carlos O'Donell <carlos@redhat.com>
9945
9946 * po/pl.po: Updated translation.
9947 * po/uk.po: Likewise.
9948 * po/fi.po: Likewise.
9949 * po/ko.po: Likewise.
9950 * po/ru.po: Likewise.
9951 * po/vi.po: Likewise.
9952
9953 2015-07-31 Zack Weinberg <zackw@panix.com>
9954
9955 [BZ #18681]
9956 * regexp.h: Add unconditional #warning stating that this header
9957 will be removed soon. Revise banner comment to match.
9958 (compile): Consistently use ERROR instead of RETURN to report
9959 errors (partial fix for bz#18681).
9960 * regexp.c: Don't include regexp.h. Remove some unnecessary
9961 declarations.
9962
9963 2015-07-31 Carlos O'Donell <carlos@redhat.com>
9964
9965 * po/libc.pot: Regenerated.
9966
9967 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
9968
9969 [BZ #18740]
9970 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9971 float-vlen4-arch-ext-cflags): Removed.
9972 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9973 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9974
9975 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9976
9977 [BZ #14113]
9978 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9979 aligned to __aligned__.
9980 (pthread_cond_t, pthread_rwlock_t): Likewise.
9981
9982 2015-07-30 Torvald Riegel <triegel@redhat.com>
9983
9984 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9985
9986 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9987
9988 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9989 (struct sigaction): Change sa_flags from a long to an int, and add
9990 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9991
9992 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9993
9994 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9995 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9996 sysdeps/generic/sysdep.h include.
9997 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9998 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
9999 sysdeps/hppa/sysdep.h.
10000 (ENTRY, PSEUDO): Undefine before defining.
10001
10002 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10003
10004 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10005 from scratch to use INTERNAL_SYSCALL.
10006
10007 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
10008
10009 [BZ #18078]
10010 * scripts/check-localplt.awk: Support alternate relocations.
10011 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10012 sections.
10013 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10014 malloc entries with + REL R_386_GLOB_DAT.
10015 * sysdeps/x86_64/localplt.data: New file.
10016
10017 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
10018
10019 [BZ #18731]
10020 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10021 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10022 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10023
10024 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10025
10026 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10027
10028 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10029
10030 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10031 directly in terms of __sync_fetch_and_add and delete (int) cast.
10032
10033 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10034
10035 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10036 the -D_ASM_IA64_CURRENT_H flag.
10037
10038 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10039
10040 [BZ #18641]
10041 * pwd/pwd.h (putpwent): Delete __nonnull markings.
10042
10043 2015-07-27 Andreas Schwab <schwab@suse.de>
10044
10045 * conform/conformtest.pl (checknamespace): Filter out string
10046 literals while tokenizing.
10047
10048 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10049
10050 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10051 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10052 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10053
10054 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10055
10056 * nptl/tst-join7mod.c: Add #include <string.h>.
10057
10058 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10059
10060 * sysdeps/nios2/libm-test-ulps: Update.
10061
10062 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10063
10064 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10065 Fix order of arguments to the rt_sigprocmask syscall.
10066 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10067 Likewise.
10068
10069 2015-07-24 Roland McGrath <roland@hack.frob.com>
10070
10071 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10072
10073 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10074
10075 [BZ #18457]
10076 * nptl/Makefile (tests): New test case tst-join7.
10077 (modules-names): New test case module tst-join7mod.
10078 * nptl/tst-join7.c: New file.
10079 * nptl/tst-join7mod.c: New file.
10080 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10081 all translation units in libc.so, libpthread.so and rtld.
10082
10083 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10084
10085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10086
10087 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
10088
10089 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10090 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10091 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10092 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10093 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10094 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10095 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10096 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10097 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10098 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10099 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10100 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10101 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10102 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10103 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10104 implementation.
10105
10106 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
10107
10108 [BZ #17711]
10109 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10110 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10111 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10112 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10113 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10114 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10115
10116 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10117
10118 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10119 instead of just saying load lock in the comments.
10120
10121 2015-07-23 Roland McGrath <roland@hack.frob.com>
10122
10123 * sysdeps/unix/Subdirs: Moved ...
10124 * sysdeps/posix/Subdirs: ... here.
10125 * login/pty.h (struct termios, struct winsize): Add forward decls.
10126 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10127 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10128 * sysdeps/arm/nacl/libc.abilist: Updated.
10129 * sysdeps/nacl/libutil.abilist: New file.
10130
10131 * bits/signum.h: Update comments to mention 1003.1-2013 too.
10132 (SIGWINCH): New macro.
10133
10134 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10135 * sysdeps/arm/nacl/libc.abilist: Add it.
10136
10137 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10138
10139 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10140
10141 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10142
10143 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10144 Swap __glibc_reserved0 and sa_flags order.
10145
10146 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10147
10148 [BZ #18657]
10149 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10150 are pending TLS destructor calls.
10151 * include/link.h (struct link_map): Add concurrency note for
10152 L_TLS_DTOR_COUNT.
10153 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10154 Don't touch the link map flag. Atomically increment
10155 l_tls_dtor_count.
10156 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10157 Avoid taking the load lock and don't touch the link map flag.
10158 * stdlib/tst-tls-atexit-nodelete.c: New test case.
10159 * stdlib/Makefile (tests): Use it.
10160 * stdlib/tst-tls-atexit.c (do_test): dlopen
10161 tst-tls-atexit-lib.so again before dlclose. Add conditionals
10162 to allow tst-tls-atexit-nodelete test case to use it.
10163
10164 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10165
10166 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10167 to bits/types.h.
10168 (msgqnum_t): New typedef.
10169 (msglen_t): Likewise.
10170 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
10171 and msg_qbytes type to msglen_t.
10172
10173 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10174
10175 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10176 pad0 to __glibc_reserved0.
10177 (struct stat64): Likewise.
10178
10179 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10180
10181 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10182 Change sa_flags from a long to an int and add __glibc_reserved0 before
10183 it for padding.
10184
10185 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10186
10187 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10188 anonymous by deleting "siginfo" name.
10189
10190 2015-07-21 Roland McGrath <roland@hack.frob.com>
10191
10192 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10193 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10194 rather than __nacl_irt_filename.
10195 * sysdeps/nacl/xstat.c (__xstat): Likewise.
10196
10197 * NEWS: New item for arm-nacl port.
10198 * sysdeps/arm/nacl/libc.abilist: New file.
10199 * sysdeps/nacl/ld.abilist: New file.
10200 * sysdeps/nacl/libBrokenLocale.abilist: New file.
10201 * sysdeps/nacl/libanl.abilist: New file.
10202 * sysdeps/nacl/libcrypt.abilist: New file.
10203 * sysdeps/nacl/libdl.abilist: New file.
10204 * sysdeps/nacl/libm.abilist: New file.
10205 * sysdeps/nacl/libpthread.abilist: New file.
10206 * sysdeps/nacl/libresolv.abilist: New file.
10207 * sysdeps/nacl/librt.abilist: New file.
10208
10209 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
10210
10211 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10212 __startcontext to initialize the new context.
10213 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10214 up CFI directive to forbid further backtracing.
10215
10216 2015-07-21 Marko Myllynen <myllynen@redhat.com>
10217
10218 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10219 reference.
10220 * charmaps/ANSI_X3.4-1968: Likewise.
10221 * charmaps/BS_4730: Likewise.
10222 * charmaps/BS_VIEWDATA: Likewise.
10223 * charmaps/CP1250: Likewise.
10224 * charmaps/CP1251: Likewise.
10225 * charmaps/CP1252: Likewise.
10226 * charmaps/CP1253: Likewise.
10227 * charmaps/CP1254: Likewise.
10228 * charmaps/CP1255: Likewise.
10229 * charmaps/CP1256: Likewise.
10230 * charmaps/CSN_369103: Likewise.
10231 * charmaps/EBCDIC-DK-NO: Likewise.
10232 * charmaps/GB_1988-80: Likewise.
10233 * charmaps/GREEK-CCITT: Likewise.
10234 * charmaps/GREEK7: Likewise.
10235 * charmaps/INIS-8: Likewise.
10236 * charmaps/ISIRI-3342: Likewise.
10237 * charmaps/ISO_2033-1983: Likewise.
10238 * charmaps/ISO_5427-EXT: Likewise.
10239 * locales/POSIX: Likewise.
10240 * locales/ar_SA: Likewise.
10241 * locales/be_BY: Likewise.
10242 * locales/be_BY@latin: Likewise.
10243 * locales/ca_ES: Likewise.
10244 * locales/cs_CZ: Likewise.
10245 * locales/da_DK: Likewise.
10246 * locales/de_BE: Likewise.
10247 * locales/de_CH: Likewise.
10248 * locales/de_LU: Likewise.
10249 * locales/en_AU: Likewise.
10250 * locales/en_BW: Likewise.
10251 * locales/en_CA: Likewise.
10252 * locales/en_DK: Likewise.
10253 * locales/en_GB: Likewise.
10254 * locales/en_IE: Likewise.
10255 * locales/en_NZ: Likewise.
10256 * locales/en_ZA: Likewise.
10257 * locales/en_ZW: Likewise.
10258 * locales/es_AR: Likewise.
10259 * locales/es_BO: Likewise.
10260 * locales/es_CL: Likewise.
10261 * locales/es_CO: Likewise.
10262 * locales/es_DO: Likewise.
10263 * locales/es_EC: Likewise.
10264 * locales/es_ES: Likewise.
10265 * locales/es_HN: Likewise.
10266 * locales/es_MX: Likewise.
10267 * locales/es_PA: Likewise.
10268 * locales/es_PE: Likewise.
10269 * locales/es_PY: Likewise.
10270 * locales/es_SV: Likewise.
10271 * locales/es_US: Likewise.
10272 * locales/es_UY: Likewise.
10273 * locales/es_VE: Likewise.
10274 * locales/et_EE: Likewise.
10275 * locales/fa_IR: Likewise.
10276 * locales/fo_FO: Likewise.
10277 * locales/fr_CA: Likewise.
10278 * locales/fr_CH: Likewise.
10279 * locales/gv_GB: Likewise.
10280 * locales/he_IL: Likewise.
10281 * locales/hr_HR: Likewise.
10282 * locales/id_ID: Likewise.
10283 * locales/is_IS: Likewise.
10284 * locales/it_CH: Likewise.
10285 * locales/iw_IL: Likewise.
10286 * locales/kl_GL: Likewise.
10287 * locales/ko_KR: Likewise.
10288 * locales/kw_GB: Likewise.
10289 * locales/lg_UG: Likewise.
10290 * locales/lt_LT: Likewise.
10291 * locales/lv_LV: Likewise.
10292 * locales/mi_NZ: Likewise.
10293 * locales/nhn_MX: Likewise.
10294 * locales/nl_BE: Likewise.
10295 * locales/pl_PL: Likewise.
10296 * locales/sk_SK: Likewise.
10297 * locales/sl_SI: Likewise.
10298 * locales/sv_FI: Likewise.
10299 * locales/tl_PH: Likewise.
10300 * locales/tr_TR: Likewise.
10301 * locales/vi_VN: Likewise.
10302
10303 2015-07-21 Khem Raj <raj.khem@gmail.com>
10304
10305 [BZ #17475]
10306 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10307 of tu_IN and bh_IN.
10308
10309 2015-07-21 Mike Frysinger <vapier@gentoo.org>
10310
10311 [BZ #18694]
10312 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10313 bits/wordsize.h.
10314 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10315
10316 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10317
10318 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10319 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10320 (spawn_thread): New function.
10321 (load): Rename to reg_dtor_and_close. Move dlopen to...
10322 (do_test): ... here. Use IS_LOADED to test for its
10323 availability.
10324
10325 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
10326
10327 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10328
10329 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
10330
10331 [BZ #18696]
10332 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10333 si_addr_bnd.
10334 (si_lower): New.
10335 (si_upper): Likewise.
10336
10337 2015-07-16 David S. Miller <davem@davemloft.net>
10338
10339 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10340
10341 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10342
10343 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10344 buffer.
10345 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10346 fail output information.
10347
10348 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10349
10350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10351 and strstr-ppc64..
10352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10353 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10354 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10355 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10356 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10357
10358 2015-07-16 Mike Frysinger <vapier@gentoo.org>
10359
10360 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10361 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10362 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10363 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10364
10365 2015-07-16 Mike Frysinger <vapier@gentoo.org>
10366
10367 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10368 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10369 rtld_hidden_proto.
10370 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10371
10372 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10373
10374 * tst-nodelete-opened.c (do_test): Add comment to clarify how
10375 the test can fail.
10376
10377 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10378
10379 [BZ #18676]
10380 * elf/tst-nodelete-opened.c: New test case.
10381 * elf/tst-nodelete-opened-lib.c: New test case module.
10382 * elf/Makefile (tests, modules-names): Use them.
10383 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10384 early.
10385
10386 2015-07-15 David S. Miller <davem@davemloft.net>
10387
10388 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10389 futex-intenal.h
10390 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10391 * sysdeps/sparc/sparc64/Makefile: Likewise.
10392 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10393 Remove space from macro define.
10394 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10395
10396 2015-07-15 Pravin Satpute <psatpute@redhat.com>
10397
10398 [BZ #17475]
10399 * locale/iso-639.def: Update Bhili and Tulu language codes as
10400 per iso639-3.
10401
10402 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
10403
10404 * elf/tst-leaks1.c (main): Converted to ...
10405 (do_test): ... this.
10406 (TEST_FUNCTION): New macro.
10407 Include test-skeleton.c.
10408 * localedata/tst-langinfo.c (main): Converted to ...
10409 (do_test): ... this.
10410 (TEST_FUNCTION): New macro.
10411 Include test-skeleton.c.
10412 * math/test-fpucw.c (main): Converted to ...
10413 (do_test): ... this.
10414 (TEST_FUNCTION): New macro.
10415 Include test-skeleton.c.
10416 * math/test-tgmath.c (main): Converted to ...
10417 (do_test): ... this.
10418 (TEST_FUNCTION): New macro.
10419 Include test-skeleton.c.
10420 * math/test-tgmath2.c (main): Converted to ...
10421 (do_test): ... this.
10422 (TEST_FUNCTION): New macro.
10423 Include test-skeleton.c.
10424 * setjmp/tst-setjmp.c (main): Converted to ...
10425 (do_test): ... this.
10426 (TEST_FUNCTION): New macro.
10427 Include test-skeleton.c.
10428 * stdio-common/tst-sscanf.c (main): Converted to ...
10429 (do_test): ... this.
10430 (TEST_FUNCTION): New macro.
10431 Include test-skeleton.c.
10432 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10433 (do_test): ... this.
10434 (TEST_FUNCTION): New macro.
10435 Include test-skeleton.c.
10436
10437 * elf/tst-audit9.c (main): Converted to ...
10438 (do_test): ... this.
10439 (TEST_FUNCTION): New macro.
10440 Include test-skeleton.c.
10441
10442 2015-07-15 Mike Frysinger <vapier@gentoo.org>
10443
10444 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10445
10446 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
10447
10448 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10449 New variable.
10450
10451 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
10452
10453 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10454
10455 2015-07-14 Roland McGrath <roland@hack.frob.com>
10456
10457 * sysdeps/generic/dl-fileid.h: New file.
10458 * sysdeps/posix/dl-fileid.h: New file.
10459 * sysdeps/nacl/dl-fileid.h: New file.
10460 * include/link.h: Include <dl-fileid.h>.
10461 (struct link_map): Replace l_dev and l_ino with l_file_id.
10462 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10463 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
10464 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
10465
10466 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10467
10468 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10469
10470 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10471
10472 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10473 Add iff $CXX is set.
10474 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10475 Likewise.
10476 (tst-nodelete-zmodiff): Likewise.
10477 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10478
10479 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10480
10481 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10482
10483 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
10484
10485 * sysdeps/aarch64/fpu/math_private.h
10486 (define math_opt_barrier): Add AArch64 version.
10487 (math_force_eval): Likewise.
10488
10489 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
10490
10491 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10492
10493 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
10494
10495 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10496 %ld with %jd and cast to intmax_t.
10497 (do_test_length_zero): Likewise.
10498
10499 2015-07-10 Roland McGrath <roland@hack.frob.com>
10500
10501 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10502
10503 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
10504
10505 * sysdeps/tile/libm-test-ulps: Regenerated.
10506
10507 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10508 Comment out the whole function, not just its body.
10509
10510 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10511
10512 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10513 locks.
10514
10515 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10516
10517 2015-07-10 Torvald Riegel <triegel@redhat.com>
10518
10519 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10520 (sem_assume_only_signals_cause_futex_EINTR): Remove.
10521
10522 2015-07-10 Torvald Riegel <triegel@redhat.com>
10523
10524 * sysdeps/nptl/futex-internal.h: New file.
10525 * sysdeps/nacl/futex-internal.h: New file.
10526 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10527 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10528 error checking.
10529 (setxid_unmark_thread): Likewise.
10530 (__nptl_setxid): Likewise.
10531 (__wait_lookup_done): Likewise.
10532 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10533 * nptl/nptl-init.c (sighandler_setxid): Likewise.
10534 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10535 * nptl/pthread_once.c (clear_once_control): Likewise.
10536 (__pthread_once_slow): Likewise.
10537 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10538 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10539 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10540 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10541 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10542 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10543 Likewise.
10544 (__pthread_rwlock_rdlock): Likewise.
10545 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10546 Likewise.
10547 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10548 Likewise.
10549 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10550 Likewise.
10551 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10552 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10553 Likewise.
10554 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10555 __ASSUME_PRIVATE_FUTEX check.
10556 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10557 Check that shared futexes are supported.
10558 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10559 wrappers with error checking.
10560 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10561 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10562 * nptl/pthread_barrierattr_setpshared.c
10563 (pthread_barrierattr_setpshared): Check that shared futexes are
10564 supported.
10565 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10566 Likewise.
10567 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10568 Likewise.
10569 * nptl/sem_init.c (futex_private_if_supported): Remove.
10570 (__new_sem_init): Adapt and check that shared futexes are supported.
10571 * nptl/sem_open.c (sem_open): Likewise.
10572 * nptl/sem_post.c (futex_wake): Remove.
10573 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10574 (do_futex_wait): Use futex wrappers with error checking.
10575 * nptl/sem_wait.c: Include lowlevellock.h.
10576 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10577 Use futex_supports_pshared.
10578 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10579 Use futex wrappers with error checking.
10580 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10581 Likewise.
10582 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10583 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10584 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10585 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10586 (futex_wake): Likewise.
10587 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10588 (do_futex_wait): Use futex wrappers with error checking.
10589 (__new_sem_wait_slow): Update EINTR handling.
10590 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10591
10592 2015-07-09 Martin Sebor <msebor@redhat.com>
10593
10594 [BZ #18435]
10595 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10596 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10597 * nptl/Makefile (test-xfail-tst-once5): Define.
10598
10599 2015-07-09 Roland McGrath <roland@hack.frob.com>
10600
10601 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10602 * elf/dl-minimal.c: For readability, reorder some definitions and
10603 introduce more page breaks. Include <stdio.h>.
10604 (__libc_fatal): New function.
10605
10606 * include/unistd.h: Add rtld_hidden_proto for _exit.
10607 * posix/_exit.c: Add rtld_hidden_def.
10608 * sysdeps/mach/hurd/_exit.c: Likewise.
10609 * sysdeps/nacl/_exit.c: Likewise.
10610 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10611 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10612
10613 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
10614
10615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10616 bndmov encoding with zero displacement.
10617
10618 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
10619 H.J. Lu <hongjiu.lu@intel.com>
10620
10621 [BZ #18134]
10622 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10623 * sysdeps/i386/configure: Regenerated.
10624 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10625 (_dl_runtime_profile): Save and restore Intel MPX return bound
10626 registers when calling _dl_call_pltexit. Add
10627 PRESERVE_BND_REGS_PREFIX before return.
10628 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10629 (LRV_BND1_OFFSET): Likewise.
10630 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10631 lrv_bnd1.
10632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10633 typo in bndmov encoding.
10634 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10635 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
10636 branch instructions to preserve bounds.
10637
10638 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10639
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10641 [GLIBC_2.22]: Add fmemopen.
10642
10643 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
10644
10645 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10646 returns an error, also try to use host port from __mach_host_self for
10647 the __vm_wire call.
10648 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10649
10650 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10651
10652 [BZ #18400]
10653 [BZ #18648]
10654 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10655 Fix pr_uid and pr_gid members.
10656 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10657 definition to elf_greg_t.
10658
10659 2015-07-08 Roland McGrath <roland@hack.frob.com>
10660
10661 [BZ #18383]
10662 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10663 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10664 * sysdeps/arm/configure: Regenerated.
10665 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10666 (test-xfail-tst-tlsalign-static): Variable removed.
10667
10668 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10669 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10670 rather than explicit 'ln -s'.
10671
10672 * resolv/rpc/netdb.h: New file.
10673 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10674
10675 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10676
10677 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10678 length buffers.
10679 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10680 test-skeleton.c.
10681
10682 [BZ #6544]
10683 [BZ #11216]
10684 [BZ #12836]
10685 [BZ #13151]
10686 [BZ #13152]
10687 [BZ #14292]
10688 * include/stdio.h (fmemopen): Remove hidden prototype.
10689 (__fmemopen): Add new hidden prototype.
10690 * libio/Makefile: Add oldfmemopen object.
10691 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10692 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10693 compliance.
10694 * libio/oldfmemopen.c: New file: old fmemopen implementation for
10695 symbol compatibility.
10696 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10697 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10698 fmemopen.
10699 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10700 on append and read mode.
10701 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10702 fmemopen.
10703 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10704 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10705 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10706 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10707 Likewise.
10708 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10709 [GLIBC_2.22]: Likewise.
10710 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10711 Likewise.
10712 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10713 Likewise.
10714 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10715 [GLIBC_2.22]: Likewise.
10716 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10717 [GLIBC_2.22]: Likewise.
10718 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10719 [GLIBC_2.22]: Likewise.
10720 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10721 [GLIBC_2.22]: Likewise.
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10723 [GLIBC_2.22]: Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10725 [GLIBC_2.22]: Likewise.
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10727 [GLIBC_2.22]: Likewise.
10728 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10729 Likewise.
10730 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10731 Likewise.
10732 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10733 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10734 [GLIBC_2.22]: Likewise.
10735 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10736 [GLIBC_2.22]: Likewise.
10737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10738 [GLIBC_2.22]: Likewise.
10739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10740 [GLIBC_2.22]: Likewise.
10741 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10742 Likewise.
10743 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10744 Likewise.
10745 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10746 Likewise.
10747 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10748 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10749
10750 2015-07-08 Carlos O'Donell <carlos@redhat.com>
10751
10752 [BZ #18643]
10753 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10754 IPV6_PATHMTU, and IPV6_DONTFRAG.
10755
10756 2015-07-08 Feng Gao <gfree.wind@gmail.com>
10757
10758 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10759 and _IO_UNBUFFERED.
10760 * libio/oldfileops.c: Likewise.
10761 * libio/wfileops.c: Likewise.
10762
10763 2015-07-08 Mike Frysinger <vapier@gentoo.org>
10764
10765 * nscd/selinux.c: Delete selinux/flask.h include.
10766
10767 2015-07-08 Mike Frysinger <vapier@gentoo.org>
10768
10769 [BZ #18641]
10770 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10771 (putpwent): Likewise.
10772 (getpwnam): Likewise.
10773 (getpwent_r): Likewise.
10774 (getpwuid_r): Likewise.
10775 (getpwnam_r): Likewise.
10776 (fgetpwent_r): Likewise.
10777
10778 2015-07-08 Carlos O'Donell <carlos@redhat.com>
10779
10780 [BZ #18557]
10781 * inet/rcmd.c (__validuser2_sa): Check user first to
10782 short-circuit host check.
10783
10784 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
10785 Mikhail Ilin <m.ilin@samsung.com>
10786
10787 [BZ #17833]
10788 * elf/Makefile (tests): Add tst-nodelete.
10789 (modules-names): Add tst-nodelete-uniquemod.
10790 (tst-nodelete-uniquemod.so-no-z-defs): New.
10791 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10792 (tst-nodelete-zmod.so-no-z-defs): Likewise.
10793 ($(objpfx)tst-nodelete): Likewise.
10794 ($(objpfx)tst-nodelete.out): Likewise.
10795 (LDFLAGS-tst-nodelete): Likewise.
10796 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10797 * elf/dl-close.c (_dl_close_worker): Add a parameter to
10798 implement forced object deletion.
10799 (_dl_close): Pass false to _dl_close_worker.
10800 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10801 * elf/tst-nodelete.cc: New file.
10802 * elf/tst-nodeletelib.cc: Likewise.
10803 * elf/tst-znodeletelib.cc: Likewise.
10804 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10805
10806 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10807
10808 [BZ #18508]
10809 * stdlib/Makefile ($(objpfx)tst-makecontext3):
10810 Depend on $(libdl).
10811 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10812 is not called infinitely times.
10813 (backtrace_helper): New function.
10814 (trace_arg): New struct.
10815 (st1): Enlarge stack size.
10816 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10817 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10818 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10819 Likewise.
10820
10821 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10822
10823 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10824
10825 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10826
10827 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10828 Include sys/types.h instead of bits/types.h.
10829 Remove inclusion of bits/wordsize.h.
10830
10831 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10832
10833 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10834 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10835 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10836 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10837 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10838 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10839
10840 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10841
10842 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10843 link-defines.sym.
10844 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10845 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10846 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10847 and LR_SIZE.
10848 * sysdeps/i386/link-defines.sym: New file.
10849
10850 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10851
10852 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10853 (modules-names): Add tst-auditmod3a tst-auditmod3b.
10854 ($(objpfx)tst-audit3): New rule.
10855 ($(objpfx)tst-audit3.out): Likewise.
10856 * sysdeps/i386/tst-audit3.c: New file.
10857 * sysdeps/i386/tst-audit3.h: Likewise.
10858 * sysdeps/i386/tst-auditmod3a.c: Likewise.
10859 * sysdeps/i386/tst-auditmod3b.c: Likewise.
10860
10861 2015-07-07 Torvald Riegel <triegel@redhat.com>
10862
10863 [BZ #18633]
10864 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10865 pointer in C code.
10866 (__strcat_c): Likewise.
10867 (__strcat_g): Likewise.
10868
10869 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
10870
10871 [BZ #18592]
10872 * misc/sbrk.c: Set errno to ENOMEM on overflow.
10873
10874 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
10875
10876 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10877 New function. (__ieee754_sqrtf): New function.
10878 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10879 New function.
10880 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10881 New function.
10882
10883 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
10884
10885 * sysdeps/ieee754/support.c: Remove unused file.
10886
10887 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10888
10889 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10890 registers instead of d ones so the layout is kernel abi compatible.
10891 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10892 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10893 Likewise.
10894
10895 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10896
10897 * sysdeps/aarch64/libm-test-ulps: Regenerated.
10898
10899 2015-07-01 Joseph Myers <joseph@codesourcery.com>
10900
10901 [BZ #18619]
10902 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10903 and return argument in case of subnormal argument.
10904
10905 2015-07-01 Martin Sebor <msebor@redhat.com>
10906
10907 [BZ #18435]
10908 * nptl/Makefile: Add tst-once5.cc.
10909 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10910 Remove macro redefinitions.
10911 * nptl/tst-once5.cc: New test.
10912
10913 2015-07-01 Joseph Myers <joseph@codesourcery.com>
10914
10915 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10916
10917 * sysdeps/arm/libm-test-ulps: Regenerated.
10918
10919 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10920 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10921
10922 2015-06-30 Torvald Riegel <triegel@redhat.com>
10923
10924 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10925 lll_lock_wait_private and lll_futex_wake probes.
10926
10927 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10928 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10929 Likewise.
10930 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10931 atomic_spin_nop.
10932 * sysdeps/x86_64/bits/atomic.h: Likewise.
10933 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10934 to atomic_spin_nop and move ...
10935 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10936 ... here and ...
10937 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10938 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10939 atomic_spin_nop instead of BUSY_WAIT_NOP.
10940 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10941 Likewise.
10942 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10943 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10944 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10945 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10946 instead of atomic_delay.
10947
10948 2015-06-29 Joseph Myers <joseph@codesourcery.com>
10949
10950 [BZ #18613]
10951 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10952 X_ADJ not X when adjusting exponent.
10953 (__ieee754_gamma_r): Do intermediate computations in
10954 round-to-nearest then adjust overflowing and underflowing results
10955 as needed.
10956 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10957 of X_ADJ not X when adjusting exponent.
10958 (__ieee754_gammaf_r): Do intermediate computations in
10959 round-to-nearest then adjust overflowing and underflowing results
10960 as needed.
10961 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10962 log of X_ADJ not X when adjusting exponent.
10963 (__ieee754_gammal_r): Do intermediate computations in
10964 round-to-nearest then adjust overflowing and underflowing results
10965 as needed. Use 1.0L not 1.0f as numerator of division.
10966 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10967 log of X_ADJ not X when adjusting exponent.
10968 (__ieee754_gammal_r): Do intermediate computations in
10969 round-to-nearest then adjust overflowing and underflowing results
10970 as needed. Use 1.0L not 1.0f as numerator of division.
10971 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10972 of X_ADJ not X when adjusting exponent.
10973 (__ieee754_gammal_r): Do intermediate computations in
10974 round-to-nearest then adjust overflowing and underflowing results
10975 as needed. Use 1.0L not 1.0f as numerator of division.
10976 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
10977 to auto-libm-test-in.
10978 (tgamma_test): Use ALL_RM_TEST.
10979 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
10980 tests of tgamma with spurious-overflow.
10981 * math/auto-libm-test-out: Regenerated.
10982 * math/gen-libm-have-vector-test.sh: Do not check for START.
10983 * sysdeps/i386/fpu/libm-test-ulps: Update.
10984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985
10986 [BZ #18612]
10987 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10988 arguments, just return 0.5 times the argument, with underflow
10989 forced as needed.
10990 * math/auto-libm-test-in: Add more tests of j1.
10991 * math/auto-libm-test-out: Regenerated.
10992
10993 [BZ #16559]
10994 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10995 (__ieee754_j1): Force underflow exception for small results.
10996 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10997 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10998 (__ieee754_j1f): Force underflow exception for small results.
10999 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11000 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11002 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11003 (__ieee754_j1l): Force underflow exception for small results.
11004 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11005 * math/auto-libm-test-in: Add more tests of j1 and jn.
11006 * math/auto-libm-test-out: Regenerated.
11007
11008 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11009 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11010 (PF_MPLS): Likewise.
11011 (AF_IB): Likewise.
11012 (AF_MPLS): Likewise.
11013 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11014 value and macro.
11015 (MS_RMT_MASK): Include MS_LAZYTIME.
11016
11017 2015-06-26 Mel Gorman <mgorman@suse.de>
11018
11019 [BZ #18502]
11020 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11021 already minimal.
11022
11023 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
11024
11025 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11026 (DT_MIPS_NUM): Update.
11027 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11028 DT_MIPS_RLD_MAP_REL.
11029
11030 2015-06-25 Joseph Myers <joseph@codesourcery.com>
11031
11032 [BZ #16559]
11033 [BZ #18602]
11034 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11035 round-to-nearest internally then recompute results that
11036 underflowed to zero in the original rounding mode.
11037 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11038 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11040 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11041 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11042 * sysdeps/i386/fpu/libm-test-ulps: Update.
11043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11044
11045 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
11046
11047 * NEWS: Fixed description of link with vector math library.
11048
11049 2015-06-25 Andreas Schwab <schwab@suse.de>
11050
11051 [BZ #18549]
11052 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11053 * libio/test-fmemopen.c (do_test): Add test for it.
11054
11055 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
11056
11057 [BZ #17841]
11058 * Makeconfig (no-pie-ldflag): New.
11059 (+link): Set to $(+link-pie) if default to PIE.
11060 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11061 * config.make.in (build-pie-default): New.
11062 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
11063 is default. AC_SUBST.
11064 * configure: Regenerated.
11065 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11066
11067 2015-06-24 Roland McGrath <roland@hack.frob.com>
11068
11069 * nptl/descr.h (struct pthread): Change type of field setxid_futex
11070 to 'unsigned int'.
11071
11072 * resolv/gai_misc.h (struct waitlist): Change type of field
11073 counterp to 'volatile unsigned int *'.
11074 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11075 FUTEXADDR and OLDVAL.
11076 * resolv/getaddrinfo_a.c (getaddrinfo_a):
11077 Give local variable TOTAL type 'volatile unsigned int'.
11078 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11079 * resolv/gai_suspend.c (gai_suspend):
11080 Give local variable CNTR type 'unsigned int'.
11081
11082 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11083 counterp to 'volatile unsigned int *'.
11084 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11085 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11086 (aio_suspend): Give local variable CNTR type 'unsigned int'.
11087 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11088 Give local variable TOTAL type 'volatile unsigned int'.
11089 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11090
11091 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 [BZ #18383]
11094 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11095 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
11096 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11097 comment for i386/x86-64.
11098 (test-xfail-tst-tlsalign-extern-static): Removed.
11099
11100 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11101
11102 * math/test-double.h: New file.
11103 * math/test-float.h: Likewise.
11104 * math/test-ldouble.h: Likewise.
11105 * math/test-math-inline.h: Likewise.
11106 * math/test-math-no-inline.h: Likewise.
11107 * math/test-math-scalar.h: Likewise.
11108 * math/test-math-vector.h: Likewise.
11109 * math/test-vec-loop.h: Remove file. Contents moved into
11110 test-math-vector.h.
11111 * math/libm-test.inc (MATHCONST): Do not document macro.
11112 * math/test-double.c: Include test-double.h, test-math-no-inline.h
11113 and test-math-scalar.h.
11114 (FUNC): Remove macro.
11115 (FUNC_TEST): Likewise.
11116 (FLOAT): Likewise.
11117 (MATHCONST): Likewise.
11118 (PRINTF_EXPR): Likewise.
11119 (PRINTF_XEXPR): Likewise.
11120 (PRINTF_NEXPR): Likewise.
11121 (TEST_DOUBLE): Likewise.
11122 (TEST_MATHVEC): Likewise.
11123 (__NO_MATH_INLINES): Likewise.
11124 * math/test-float.c: Include test-float.h, test-math-no-inline.h
11125 and test-math-scalar.h.
11126 (FUNC): Remove macro.
11127 (FUNC_TEST): Likewise.
11128 (FLOAT): Likewise.
11129 (MATHCONST): Likewise.
11130 (PRINTF_EXPR): Likewise.
11131 (PRINTF_XEXPR): Likewise.
11132 (PRINTF_NEXPR): Likewise.
11133 (TEST_FLOAT): Likewise.
11134 (TEST_MATHVEC): Likewise.
11135 (__NO_MATH_INLINES): Likewise.
11136 * math/test-idouble.c: Include test-double.h, test-math-inline.h
11137 and test-math-scalar.h.
11138 (FUNC): Remove macro.
11139 (FUNC_TEST): Likewise.
11140 (FLOAT): Likewise.
11141 (MATHCONST): Likewise.
11142 (PRINTF_EXPR): Likewise.
11143 (PRINTF_XEXPR): Likewise.
11144 (PRINTF_NEXPR): Likewise.
11145 (TEST_DOUBLE): Likewise.
11146 (TEST_MATHVEC): Likewise.
11147 (TEST_INLINE): Likewise.
11148 (__NO_MATH_INLINES): Likewise.
11149 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11150 test-math-scalar.h.
11151 (FUNC): Remove macro.
11152 (FUNC_TEST): Likewise.
11153 (FLOAT): Likewise.
11154 (MATHCONST): Likewise.
11155 (PRINTF_EXPR): Likewise.
11156 (PRINTF_XEXPR): Likewise.
11157 (PRINTF_NEXPR): Likewise.
11158 (TEST_FLOAT): Likewise.
11159 (TEST_MATHVEC): Likewise.
11160 (TEST_INLINE): Likewise.
11161 (__NO_MATH_INLINES): Likewise.
11162 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11163 and test-math-scalar.h.
11164 (FUNC): Remove macro.
11165 (FUNC_TEST): Likewise.
11166 (FLOAT): Likewise.
11167 (MATHCONST): Likewise.
11168 (PRINTF_EXPR): Likewise.
11169 (PRINTF_XEXPR): Likewise.
11170 (PRINTF_NEXPR): Likewise.
11171 (TEST_LDOUBLE): Likewise.
11172 (TEST_MATHVEC): Likewise.
11173 (TEST_INLINE): Likewise.
11174 (__NO_MATH_INLINES): Likewise.
11175 * math/test-ldouble.c: Include test-ldouble.h,
11176 test-math-no-inline.h and test-math-scalar.h.
11177 (FUNC): Remove macro.
11178 (FUNC_TEST): Likewise.
11179 (FLOAT): Likewise.
11180 (MATHCONST): Likewise.
11181 (PRINTF_EXPR): Likewise.
11182 (PRINTF_XEXPR): Likewise.
11183 (PRINTF_NEXPR): Likewise.
11184 (TEST_LDOUBLE): Likewise.
11185 (TEST_MATHVEC): Likewise.
11186 (__NO_MATH_INLINES): Likewise.
11187 * math/test-double-vlen2.h: Include test-double.h,
11188 test-math-no-inline.h and test-math-vector.h.
11189 (FLOAT): Remove macro.
11190 (FUNC): Likewise.
11191 (MATHCONST): Likewise.
11192 (PRINTF_EXPR): Likewise.
11193 (PRINTF_XEXPR): Likewise.
11194 (PRINTF_NEXPR): Likewise.
11195 (TEST_DOUBLE): Likewise.
11196 (TEST_MATHVEC): Likewise.
11197 (__NO_MATH_INLINES): Likewise.
11198 (CNCT): Likewise.
11199 (CONCAT): Likewise.
11200 (WRAPPER_NAME): Likewise.
11201 (WRAPPER_DECL): Likewise.
11202 (WRAPPER_DECL_ff): Likewise.
11203 (WRAPPER_DECL_fFF): Likewise.
11204 (VECTOR_WRAPPER): Likewise.
11205 (VECTOR_WRAPPER_ff): Likewise.
11206 (VECTOR_WRAPPER_fFF): Likewise.
11207 (VEC_LEN): New macro.
11208 * math/test-double-vlen4.h: Include test-double.h,
11209 test-math-no-inline.h and test-math-vector.h.
11210 (FLOAT): Remove macro.
11211 (FUNC): Likewise.
11212 (MATHCONST): Likewise.
11213 (PRINTF_EXPR): Likewise.
11214 (PRINTF_XEXPR): Likewise.
11215 (PRINTF_NEXPR): Likewise.
11216 (TEST_DOUBLE): Likewise.
11217 (TEST_MATHVEC): Likewise.
11218 (__NO_MATH_INLINES): Likewise.
11219 (CNCT): Likewise.
11220 (CONCAT): Likewise.
11221 (WRAPPER_NAME): Likewise.
11222 (WRAPPER_DECL): Likewise.
11223 (WRAPPER_DECL_ff): Likewise.
11224 (WRAPPER_DECL_fFF): Likewise.
11225 (VECTOR_WRAPPER): Likewise.
11226 (VECTOR_WRAPPER_ff): Likewise.
11227 (VECTOR_WRAPPER_fFF): Likewise.
11228 (VEC_LEN): New macro.
11229 * math/test-double-vlen8.h: Include test-double.h,
11230 test-math-no-inline.h and test-math-vector.h.
11231 (FLOAT): Remove macro.
11232 (FUNC): Likewise.
11233 (MATHCONST): Likewise.
11234 (PRINTF_EXPR): Likewise.
11235 (PRINTF_XEXPR): Likewise.
11236 (PRINTF_NEXPR): Likewise.
11237 (TEST_DOUBLE): Likewise.
11238 (TEST_MATHVEC): Likewise.
11239 (__NO_MATH_INLINES): Likewise.
11240 (CNCT): Likewise.
11241 (CONCAT): Likewise.
11242 (WRAPPER_NAME): Likewise.
11243 (WRAPPER_DECL): Likewise.
11244 (WRAPPER_DECL_ff): Likewise.
11245 (WRAPPER_DECL_fFF): Likewise.
11246 (VECTOR_WRAPPER): Likewise.
11247 (VECTOR_WRAPPER_ff): Likewise.
11248 (VECTOR_WRAPPER_fFF): Likewise.
11249 (VEC_LEN): New macro.
11250 * math/test-float-vlen4.h: Include test-float.h,
11251 test-math-no-inline.h and test-math-vector.h.
11252 (FLOAT): Remove macro.
11253 (FUNC): Likewise.
11254 (MATHCONST): Likewise.
11255 (PRINTF_EXPR): Likewise.
11256 (PRINTF_XEXPR): Likewise.
11257 (PRINTF_NEXPR): Likewise.
11258 (TEST_FLOAT): Likewise.
11259 (TEST_MATHVEC): Likewise.
11260 (__NO_MATH_INLINES): Likewise.
11261 (CNCT): Likewise.
11262 (CONCAT): Likewise.
11263 (WRAPPER_NAME): Likewise.
11264 (WRAPPER_DECL): Likewise.
11265 (WRAPPER_DECL_ff): Likewise.
11266 (WRAPPER_DECL_fFF): Likewise.
11267 (VECTOR_WRAPPER): Likewise.
11268 (VECTOR_WRAPPER_ff): Likewise.
11269 (VECTOR_WRAPPER_fFF): Likewise.
11270 (VEC_LEN): New macro.
11271 * math/test-float-vlen8.h: Include test-float.h,
11272 test-math-no-inline.h and test-math-vector.h.
11273 (FLOAT): Remove macro.
11274 (FUNC): Likewise.
11275 (MATHCONST): Likewise.
11276 (PRINTF_EXPR): Likewise.
11277 (PRINTF_XEXPR): Likewise.
11278 (PRINTF_NEXPR): Likewise.
11279 (TEST_FLOAT): Likewise.
11280 (TEST_MATHVEC): Likewise.
11281 (__NO_MATH_INLINES): Likewise.
11282 (CNCT): Likewise.
11283 (CONCAT): Likewise.
11284 (WRAPPER_NAME): Likewise.
11285 (WRAPPER_DECL): Likewise.
11286 (WRAPPER_DECL_ff): Likewise.
11287 (WRAPPER_DECL_fFF): Likewise.
11288 (VECTOR_WRAPPER): Likewise.
11289 (VECTOR_WRAPPER_ff): Likewise.
11290 (VECTOR_WRAPPER_fFF): Likewise.
11291 (VEC_LEN): New macro.
11292 * math/test-float-vlen16.h: Include test-float.h,
11293 test-math-no-inline.h and test-math-vector.h.
11294 (FLOAT): Remove macro.
11295 (FUNC): Likewise.
11296 (MATHCONST): Likewise.
11297 (PRINTF_EXPR): Likewise.
11298 (PRINTF_XEXPR): Likewise.
11299 (PRINTF_NEXPR): Likewise.
11300 (TEST_FLOAT): Likewise.
11301 (TEST_MATHVEC): Likewise.
11302 (__NO_MATH_INLINES): Likewise.
11303 (CNCT): Likewise.
11304 (CONCAT): Likewise.
11305 (WRAPPER_NAME): Likewise.
11306 (WRAPPER_DECL): Likewise.
11307 (WRAPPER_DECL_ff): Likewise.
11308 (WRAPPER_DECL_fFF): Likewise.
11309 (VECTOR_WRAPPER): Likewise.
11310 (VECTOR_WRAPPER_ff): Likewise.
11311 (VECTOR_WRAPPER_fFF): Likewise.
11312 (VEC_LEN): New macro.
11313 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11314 test-vec-loop.h.
11315 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11316 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11317 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11318 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11319 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11320 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11321 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11322
11323 2015-06-24 Roland McGrath <roland@hack.frob.com>
11324
11325 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11326 (__getlogin_r): ... this.
11327
11328 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11329
11330 [BZ #18594]
11331 * math/s_ccosh.c (__ccosh): Compare with least normal value
11332 instead of comparing class with FP_SUBNORMAL.
11333 * math/s_ccoshf.c (__ccoshf): Likewise.
11334 * math/s_ccoshl.c (__ccoshl): Likewise.
11335 * math/s_cexp.c (__cexp): Likewise.
11336 * math/s_cexpf.c (__cexpf): Likewise.
11337 * math/s_cexpl.c (__cexpl): Likewise.
11338 * math/s_csin.c (__csin): Likewise.
11339 * math/s_csinf.c (__csinf): Likewise.
11340 * math/s_csinh.c (__csinh): Likewise.
11341 * math/s_csinhf.c (__csinhf): Likewise.
11342 * math/s_csinhl.c (__csinhl): Likewise.
11343 * math/s_csinl.c (__csinl): Likewise.
11344 * math/s_ctan.c (__ctan): Likewise.
11345 * math/s_ctanf.c (__ctanf): Likewise.
11346 * math/s_ctanh.c (__ctanh): Likewise.
11347 * math/s_ctanhf.c (__ctanhf): Likewise.
11348 * math/s_ctanhl.c (__ctanhl): Likewise.
11349 * math/s_ctanl.c (__ctanl): Likewise.
11350 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11351 csin, csinh, ctan and ctanh.
11352 * math/auto-libm-test-out: Regenerated.
11353 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11354 * sysdeps/i386/fpu/libm-test-ulps: Update.
11355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11356
11357 2015-06-24 Roland McGrath <roland@hack.frob.com>
11358
11359 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11360 return value is wrong, print the expected value too.
11361
11362 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
11363
11364 [BZ #18585]
11365 * elf/readlib.c (is_gdb_python_file): New.
11366 (process_file): Don't issue errors on filenames with -gdb.py
11367 suffix.
11368
11369 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11370
11371 * math/auto-libm-test-in: Add more tests of csin and csinh.
11372 * math/auto-libm-test-out: Regenerated.
11373 * math/libm-test.inc (csin_test_data): Remove tests moved to
11374 auto-libm-test-in.
11375 (csinh_test_data): Likewise.
11376
11377 [BZ #18593]
11378 * math/s_csin.c (__csin): Negate before rather than after possibly
11379 overflowing multiplication.
11380 * math/s_csinf.c (__csinf): Likewise.
11381 * math/s_csinh.c (__csinh): Likewise.
11382 * math/s_csinhf.c (__csinhf): Likewise.
11383 * math/s_csinhl.c (__csinhl): Likewise.
11384 * math/s_csinl.c (__csinl): Likewise.
11385 * math/auto-libm-test-in: Add some tests of csin and csinh.
11386 * math/auto-libm-test-out: Regenerated.
11387 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11388 (csinh_test_data): Likewise.
11389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11390
11391 [BZ #18586]
11392 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11393 underflow exception for small results.
11394
11395 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
11396
11397 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11398 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11399 variable and included header.
11400 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11401 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11402 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11403 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11404 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11405 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11406 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11407 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11408 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11409 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11410 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11411 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11412 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11413 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11414 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11415 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11416
11417 2015-06-23 Joseph Myers <joseph@codesourcery.com>
11418
11419 [BZ #16526]
11420 [BZ #16538]
11421 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11422 (__sin): Force underflow exception for arguments with small
11423 absolute value.
11424 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11425 (__kernel_sinf): Force underflow exception for arguments with
11426 small absolute value.
11427 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11428 (__kernel_sincosl): Force underflow exception for arguments with
11429 small absolute value.
11430 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11431 (__kernel_sinl): Force underflow exception for arguments with
11432 small absolute value.
11433 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11434 (__kernel_sincosl): Force underflow exception for arguments with
11435 small absolute value.
11436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11437 (__kernel_sinl): Force underflow exception for arguments with
11438 small absolute value.
11439 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11440 (__kernel_sinl): Force underflow exception for arguments with
11441 small absolute value.
11442 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11443 (__kernel_sinf): Force underflow exception for arguments with
11444 small absolute value.
11445 * math/auto-libm-test-in: Add more tests of sin and sincos.
11446 * math/auto-libm-test-out: Regenerated.
11447
11448 [BZ #18245]
11449 [BZ #18583]
11450 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11451 (__kernel_standard_l): Use feholdexcept and fesetenv around
11452 conversion to double instead of special-casing overflow and
11453 underflow.
11454 * math/libm-test.inc (fmod_test_data): Add more tests.
11455 (remainder_test_data): Likewise.
11456 (sqrt_test_data): Likewise.
11457
11458 2015-06-23 Torvald Riegel <triegel@redhat.com>
11459
11460 [BZ #17403]
11461 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11462 atomic_read_barrier, atomic_write_barrier): Define.
11463 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11464 atomic_read_barrier, atomic_write_barrier): Define.
11465
11466 2015-06-23 Joseph Myers <joseph@codesourcery.com>
11467
11468 * math/Makefile [$(PERL) != no]
11469 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11470 dependency on libm-test.stmp below the inclusion of Rules.
11471
11472 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
11473
11474 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11475 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11476 and included header.
11477 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11478 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11479 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11480 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11481 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11482 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11483 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11484 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11485 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11486 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11487 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11488 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11489 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11490 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11491 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11492 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11493 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11494 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11495 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11496
11497 2015-06-23 Joseph Myers <joseph@codesourcery.com>
11498
11499 [BZ #18371]
11500 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11501 intermediate but not final result might underflow.
11502 * math/s_csqrtf.c (__csqrtf): Likewise.
11503 * math/s_csqrtl.c (__csqrtl): Likewise.
11504 * math/auto-libm-test-in: Add more tests of csqrt.
11505 * math/auto-libm-test-out: Regenerated.
11506 * sysdeps/i386/fpu/libm-test-ulps: Update.
11507
11508 [BZ #18219]
11509 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11510 threshold on absolute value of exponent for which scaling is used.
11511 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11512 * math/auto-libm-test-in: Add more tests of exp2.
11513 * math/auto-libm-test-out: Regenerated.
11514
11515 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
11516
11517 [BZ #17977]
11518 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11519 when initializing interface list, based on the bug analysis
11520 and the patch proposed by Eric Newton.
11521 * resolv/tst-res_hconf_reorder.c: New test.
11522 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11523 tst-res_hconf_reorder.
11524 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11525 and $(shared-thread-library).
11526 (tst-res_hconf_reorder-ENV): New variable.
11527
11528 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11529 in comment.
11530
11531 2015-06-22 Joseph Myers <joseph@codesourcery.com>
11532
11533 [BZ #16353]
11534 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11535 (__expm1): Force underflow exception for arguments with small
11536 absolute value.
11537 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11538 (__expm1f): Force underflow exception for arguments with small
11539 absolute value.
11540 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11541 (__expm1): Force underflow exception for arguments with small
11542 absolute value.
11543 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11544 (__expm1f): Force underflow exception for arguments with small
11545 absolute value.
11546 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11547 Check for small arguments before calling __expm1.
11548 * math/auto-libm-test-in: Do not mark underflow exceptions as
11549 possibly missing for bug 16353.
11550 * math/auto-libm-test-out: Regenerated.
11551
11552 2015-06-22 Andreas Schwab <schwab@suse.de>
11553
11554 [BZ #18513]
11555 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11556 PTR queries.
11557
11558 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
11559
11560 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11561
11562 * string/strcoll_l.c: Remove unused struct element idxnow.
11563
11564 2015-06-21 Joseph Myers <joseph@codesourcery.com>
11565
11566 [BZ #18569]
11567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11568 underflow and return argument in case of subnormal argument.
11569 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11570 Likewise.
11571 * math/auto-libm-test-in: Add more tests of expm1.
11572 * math/auto-libm-test-out: Regenerated.
11573
11574 [BZ #16361]
11575 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11576 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11577 tiny results.
11578 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11579 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11580 tiny results.
11581 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
11582 mark underflow exceptions as possibly missing for bug 16361.
11583 * math/auto-libm-test-out: Regenerated.
11584
11585 2015-06-19 Joseph Myers <joseph@codesourcery.com>
11586
11587 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11588 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11589 Remove variable.
11590 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11591 (test-xfail-XOPEN2K8/utmpx.h/conform).
11592
11593 * conform/conformtest.pl ($xerrors): New variable.
11594 (note_error): New function.
11595 (compiletest): New argument $xfail. Use not_error.
11596 (runtest): Likewise.
11597 (top level): Handle xfail- lines. Update calls to compiletest and
11598 runtest. Handle xfail- and optional- in headers listed with
11599 allow-header.
11600 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11601 (O_EXEC): Likewise.
11602 (O_SEARCH): Likewise.
11603 * conform/data/stropts.h-data (ioctl): Likewise.
11604 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11605 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11606 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11607 (msghdr.msg_controllen): Likewise.
11608 (cmsghdr.cmsg_len): Likewise.
11609 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11610 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11611 variable.
11612 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11613 (test-xfail-XPG4/stropts.h/conform): Likewise.
11614 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11615 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11616 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11617 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11618 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11619 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11620 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11621 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11622 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11623 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11624 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11625 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11626 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11627 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11628 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11629 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11630 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11631 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11632 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11633
11634 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
11635
11636 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11637 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11638 definitions for proper unfolding of __MATHDECL_VEC.
11639
11640 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11641
11642 * benchtests/bench-strcoll.c:
11643 Include string.h.
11644 (main): Remove unused variable res.
11645
11646 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11647
11648 * timezone/Makefile (%/UTC %/Universal):
11649 Generate test-result files for UTC and Universal.
11650
11651 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11652
11653 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11654
11655 2015-06-18 Joseph Myers <joseph@codesourcery.com>
11656
11657 [BZ #16350]
11658 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11659 for arguments with small absolute value.
11660 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11661 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11662 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11663 (__asinh): Force underflow exception for arguments with small
11664 absolute value.
11665 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11666 (__asinhf): Force underflow exception for arguments with small
11667 absolute value.
11668 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11669 (__asinhl): Force underflow exception for arguments with small
11670 absolute value.
11671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11672 (__asinhl): Force underflow exception for arguments with small
11673 absolute value.
11674 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11675 (__asinhl): Force underflow exception for arguments with small
11676 absolute value.
11677 * math/auto-libm-test-in: Do not mark underflow exceptions as
11678 possibly missing for bug 16350.
11679 * math/auto-libm-test-out: Regenerated.
11680
11681 * include/bits/ipc.h: Remove file.
11682 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11683 variable.
11684 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11685 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11686 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11687 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11688 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11689 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11690 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11691 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11692 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11693
11694 * math/auto-libm-test-in: Remove spurious underflow allowance for
11695 tests of cexp.
11696 * math/auto-libm-test-out: Regenerated.
11697
11698 [BZ #18558]
11699 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11700 unconditional definition.
11701 (MCAST_BLOCK_SOURCE): Likewise.
11702 (MCAST_UNBLOCK_SOURCE): Likewise.
11703 (MCAST_LEAVE_GROUP): Likewise.
11704 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11705 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11706 (MCAST_MSFILTER): Likewise.
11707 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11708 Remove variable.
11709 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11710 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11711 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11712 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11713 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11714
11715 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
11716
11717 * NEWS: Mention addition of x86_64 vector sincosf.
11718 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11719 * math/test-float-vlen4.h: Likewise.
11720 * math/test-float-vlen8.h: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11722 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11723 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11724 * sysdeps/x86_64/fpu/Versions: New versions added.
11725 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11726 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11727 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11728 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11729 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11730 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11731 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11732 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11733 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11734 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11735 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11736 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11737 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11738 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11739 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11740 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11741 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11742 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11743 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11744 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11745 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11746 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11747 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11748 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11749
11750 * NEWS: Mention addition of x86_64 vector sincos.
11751 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11752 * math/math.h (__MATHDECL_VEC): New macro.
11753 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11754 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11755 declaration under condition.
11756 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11757 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11758 TEST_VEC_LOOP change.
11759 * math/test-double-vlen4.h: Likewise.
11760 * math/test-double-vlen8.h: Likewise.
11761 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11762 * math/test-float-vlen4.h: Likewise.
11763 * math/test-float-vlen8.h: Likewise.
11764 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11765 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11766 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11767 * sysdeps/x86_64/fpu/Versions: New versions added.
11768 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11769 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11770 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11771 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11772 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11773 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11774 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11775 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11776 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11777 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11778 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11779 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11780 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11781 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11782 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11783 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11784 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11785 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11786 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11787 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11788 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11789 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11790 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11791 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11792
11793 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11794 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11795 redirections for powf.
11796 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11797 * sysdeps/x86_64/fpu/Versions: New versions added.
11798 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11799 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11800 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11801 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11802 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11803 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11804 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11805 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11806 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11807 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11808 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11809 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11810 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11811 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11812 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11813 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11814 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11815 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11816 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11817 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11818 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11819 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11820 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11821 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11822 * math/test-float-vlen16.h: Fixed 2 argument macro.
11823 * math/test-float-vlen4.h: Likewise.
11824 * math/test-float-vlen8.h: Likewise.
11825 * NEWS: Mention addition of x86_64 vector powf.
11826
11827 2015-06-17 Joseph Myers <joseph@codesourcery.com>
11828
11829 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11830 and redefine.
11831 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11832 and redefine.
11833 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11834 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11835 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11836
11837 [BZ #18553]
11838 * resource/getpriority.c (getpriority): Rename to __getpriority
11839 and define as weak alias of __getpriority.
11840 * resource/setpriority.c (setpriority): Rename to __setpriority
11841 and define as weak alias of __setpriority.
11842 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11843 __getpriority and define as weak alias of __getpriority.
11844 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11845 __setpriority and define as weak alias of __setpriority.
11846 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11847 strong name.
11848 (setpriority): Use __setpriority as strong name.
11849 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11850 __getpriority and define as weak alias of __getpriority.
11851 * include/sys/resource.h (__getpriority): Declare. Use
11852 libc_hidden_proto.
11853 (__setpriority): Likewise.
11854 (getpriority): Don't use libc_hidden_proto.
11855 (setpriority): Likewise.
11856 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11857 getpriority. Call __setpriority instead of setpriority.
11858 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11859 Remove variable.
11860
11861 [BZ #18547]
11862 * misc/getttyent.c (getttynam): Rename to __getttynam and define
11863 as weak alias of __getttynam. Use prototype function definition.
11864 Call __setttyent, __getttyent and __endttyent instead of
11865 setttyent, getttyent and endttyent.
11866 (getttyent): Rename to __getttyent and define as weak alias of
11867 __getttyent. Call __setttyent instead of setttyent. Call
11868 __fgets_unlocked instead of fgets_unlocked.
11869 (setttyent): Rename to __setttyent and define as weak alias of
11870 __setttyent.
11871 (endttyent): Rename to __endttyent and define as weak alias of
11872 __endttyent.
11873 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
11874 (__setttyent): Likewise.
11875 (__endttyent): Likewise.
11876 (getttyent): Don't use libc_hidden_proto.
11877 (setttyent): Likewise.
11878 (endttyent): Likewise.
11879 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11880 __endttyent instead of setttyent, getttyent and endttyent.
11881 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11882 Remove variable.
11883
11884 [BZ #18546]
11885 * socket/recv.c (__recv): Use libc_hidden_def.
11886 * socket/socket.c (__socket): Likewise.
11887 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11888 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11889 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11890 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11891 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11892 libc_hidden_def.
11893 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11894 libc_hidden_weak.
11895 * include/sys/socket.h (__socket): Do not use attribute_hidden.
11896 Use libc_hidden_proto.
11897 (__recv): Likewise.
11898 * socket/Versions (libc): Export __recv and __socket at version
11899 GLIBC_PRIVATE.
11900 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11901 instead of recv.
11902 (init_mq_netlink): Call __socket instead of socket.
11903 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11904 Remove variable.
11905
11906 [BZ #18545]
11907 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11908 __mq_timedreceive and define as alias of __mq_timedreceive. Use
11909 hidden_weak.
11910 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11911 define as alias of __mq_timedsend. Use hidden_weak.
11912 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11913 __mq_timedsend as strong name.
11914 (mq_timedreceive): Use __mq_timedreceive as strong name.
11915 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
11916 (__mq_timedreceive): Likewise.
11917 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11918 __mq_timedreceive instead of mq_timedreceive.
11919 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11920 instead of mq_timedsend.
11921 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11922 Remove variable.
11923
11924 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11925 hidden_def and hidden_weak instead of libc_hidden_def and
11926 libc_hidden_weak.
11927 (top level): Refer to hidden_def in comment.
11928 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11929 macro. Use it instead of libc_hidden_def.
11930 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11931 specify __GI_* name explicitly.
11932 (mq_timedreceive): Likewise.
11933 (mq_setattr): Likewise.
11934
11935 [BZ #18544]
11936 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11937 __pthread_barrier_init and define as weak alias of
11938 __pthread_barrier_init.
11939 * sysdeps/sparc/nptl/pthread_barrier_init.c
11940 (pthread_barrier_init): Likewise.
11941 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11942 __pthread_barrier_wait and define as weak alias of
11943 __pthread_barrier_wait.
11944 * sysdeps/sparc/nptl/pthread_barrier_wait.c
11945 (pthread_barrier_wait): Likewise.
11946 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11947 (pthread_barrier_wait): Likewise.
11948 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11949 (pthread_barrier_wait): Likewise.
11950 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11951 (pthread_barrier_wait): Likewise.
11952 * nptl/Versions (libpthread): Export __pthread_barrier_init and
11953 __pthread_barrier_wait at version GLIBC_PRIVATE.
11954 * include/pthread.h (__pthread_barrier_init): Declare.
11955 (__pthread_barrier_wait): Likewise.
11956 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11957 Call __pthread_barrier_wait instead of pthread_barrier_wait.
11958 (helper_thread): Likewise.
11959 (init_mq_netlink): Call __pthread_barrier_init instead of
11960 pthread_barrier_init.
11961
11962 [BZ #18542]
11963 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11964 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11965 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
11966 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11967 vswscanf.
11968 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11969 Remove variable.
11970
11971 [BZ #18540]
11972 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11973 strong alias of _IO_fflush. Use libc_hidden_def.
11974 * libio/iofflush_u.c (fflush_unlocked): Rename to
11975 __fflush_unlocked and define as weak alias of __fflush_unlocked.
11976 Use libc_hidden_weak.
11977 * include/stdio.h (__fflush_unlocked): Declare. Use
11978 libc_hidden_proto.
11979 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11980 fflush_unlocked.
11981 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11982 Remove variable.
11983
11984 [BZ #18539]
11985 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11986 define as weak alias of __addseverity.
11987 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11988 Remove variable.
11989 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11990 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11991 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11992
11993 [BZ #18536]
11994 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11995 (__tfind): Likewise.
11996 (__tdelete): Likewise.
11997 (__twalk): Likewise.
11998 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11999 __twalk to GLIBC_PRIVATE.
12000 * include/search.h (__tsearch): Use libc_hidden_proto.
12001 (__tfind): Likewise.
12002 (__tdelete): Likewise.
12003 (__twalk): Likewise.
12004 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12005 Call __tdelete instead of tdelete.
12006 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12007 tfind. Call __tsearch instead of tsearch.
12008 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12009 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12010 Remove variable.
12011 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12012
12013 [BZ #18534]
12014 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12015 (dprintf): Define as a weak alias of __dprintf, not a strong
12016 alias.
12017 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
12018 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12019 dprintf.
12020 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12021 Remove variable.
12022 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12023 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12024
12025 [BZ #18533]
12026 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12027 not a strong alias.
12028 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12029 Remove variable.
12030
12031 [BZ #18532]
12032 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12033 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
12034 (in6addr_loopback): Rename to __in6addr_loopback and define as
12035 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
12036 * include/netinet/in.h (__in6addr_loopback): Declare. Use
12037 libc_hidden_proto.
12038 (__in6addr_any): Likewise.
12039 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12040 in6addr_any.
12041 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12042 variable.
12043 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12044
12045 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
12046
12047 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12048 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12049 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12050 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12051 redirections for pow.
12052 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12053 * sysdeps/x86_64/fpu/Versions: New versions added.
12054 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12055 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12056 build of SSE, AVX2 and AVX512 IFUNC versions.
12057 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12058 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12059 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12060 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12061 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12062 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12063 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12064 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12065 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12066 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12067 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12068 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12069 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12070 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12071 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12072 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12073 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12074 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12075 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12076 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12077 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12078 * NEWS: Mention addition of x86_64 vector pow.
12079
12080 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12081 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12082 redirections for expf.
12083 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12084 * sysdeps/x86_64/fpu/Versions: New versions added.
12085 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12086 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12087 build of SSE, AVX2 and AVX512 IFUNC versions.
12088 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12089 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12090 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12091 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12092 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12093 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12094 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12095 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12096 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12097 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12098 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12099 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12100 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12101 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12102 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12103 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12104 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12105 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12106 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12107 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12108 * NEWS: Mention addition of x86_64 vector expf.
12109
12110 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12111 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12112 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12113 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12114 redirections for exp.
12115 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12116 * sysdeps/x86_64/fpu/Versions: New versions added.
12117 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12118 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12119 build of SSE, AVX2 and AVX512 IFUNC versions.
12120 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12121 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12122 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12123 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12124 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12125 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12126 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12127 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12128 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12129 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12130 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12131 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12132 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12133 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12134 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12135 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12136 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12137 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12138 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12139 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12140 * NEWS: Mention addition of x86_64 vector exp.
12141
12142 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12143 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12144 redirections for logf.
12145 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12146 * sysdeps/x86_64/fpu/Versions: New versions added.
12147 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12148 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12149 build of SSE, AVX2 and AVX512 IFUNC versions.
12150 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12151 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12152 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12153 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12154 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12155 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12156 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12157 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12158 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12159 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12160 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12161 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12162 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12163 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12164 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12165 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12166 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12167 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12168 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12169 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12170 * NEWS: Mention addition of x86_64 vector logf.
12171
12172 * bits/libm-simd-decl-stubs.h: Added stubs for log.
12173 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12174 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12175 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12176 redirections for log.
12177 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12178 * sysdeps/x86_64/fpu/Versions: New versions added.
12179 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12180 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12181 build of SSE, AVX2 and AVX512 IFUNC versions.
12182 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12183 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12184 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12185 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12186 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12187 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12188 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12189 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12190 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12191 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12192 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12193 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12194 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12195 test.
12196 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12197 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12198 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12199 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12200 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12201 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12202 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12203 * NEWS: Mention addition of x86_64 vector log.
12204
12205 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
12206
12207 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12208 cfi_adjust_cfa_offset argument.
12209 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12210 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12211
12212 [BZ #18034]
12213 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12214 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12215 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12216 ordering using ldar.
12217 (_dl_tlsdesc_dynamic): Likewise.
12218 (_dl_tlsdesc_return_lazy): Likewise.
12219 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12220 relaxed atomics instead of volatile and synchronize with release store.
12221 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12222 volatile.
12223 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12224
12225 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
12226
12227 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12228 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12229 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12230 * sysdeps/x86_64/fpu/Versions: New versions added.
12231 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12232 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12233 build of SSE, AVX2 and AVX512 IFUNC versions.
12234 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12235 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12236 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12237 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12238 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12239 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12240 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12241 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12242 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12243 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12244 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12245 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12246 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12247 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12248 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12249 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12250 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12251 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12252 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12253 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12254 * NEWS: Mention addition of x86_64 vector sinf.
12255
12256 2015-06-14 Joseph Myers <joseph@codesourcery.com>
12257
12258 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12259 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12260 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12261 Remove variable.
12262 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12263 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12264
12265 2015-06-12 Joseph Myers <joseph@codesourcery.com>
12266
12267 [BZ #18530]
12268 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12269 strong alias of _IO_fputs. Use libc_hidden_def.
12270 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12271 and define as weak alias of __fputs_unlocked. Use
12272 libc_hidden_weak.
12273 * include/stdio.h (__fputs_unlocked): Declare. Use
12274 libc_hidden_proto.
12275 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12276 fputs_unlocked.
12277
12278 [BZ #18529]
12279 * resolv/netdb.h [__USE_POSIX]: Change condition to
12280 [__USE_XOPEN2K].
12281 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12282 not expect.
12283 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12284 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12285 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12286 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12287 [XPG4 || UNIX98] (AI_ALL): Likewise.
12288 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12289 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12290 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12291 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12292 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12293 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12294 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12295 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12296 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12297 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12298 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12299 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12300 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12301 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12302 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12303 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12304 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12305 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12306 [XPG4 || UNIX98] (gai_strerror): Likewise.
12307 [XPG4 || UNIX98] (getaddrinfo): Likewise.
12308 [XPG4 || UNIX98] (getnameinfo): Likewise.
12309
12310 [BZ #18528]
12311 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12312 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12313 __USE_XOPEN2K8].
12314 (getgrent): Likewise.
12315 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12316 expect.
12317 [XPG3 || POSIX2008] (endgrent): Likewise.
12318 [XPG3] (setgrent): Likewise.
12319 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12320 variable.
12321 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12322
12323 [BZ #18527]
12324 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12325 define as weak alias of __getlogin_r. Use libc_hidden_weak.
12326 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12327 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12328 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12329 * include/unistd.h (__getlogin_r): Declare. Use
12330 libc_hidden_proto.
12331 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12332 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12333 variable.
12334 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12335 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12336 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12337
12338 2015-06-12 Martin Sebor <msebor@redhat.com>
12339
12340 [BZ #18512]
12341 * Makerules (check-install-supported): New target.
12342 (install): Add check-install-supported as a dependency.
12343 * manual/install.texi (Installing the C Library): Document
12344 that overriding prefix and exec_prefix is not supported.
12345 Mention DESTDIR.
12346 * INSTALL: Regenerate from the above.
12347
12348 2015-06-12 Joseph Myers <joseph@codesourcery.com>
12349
12350 [BZ #18519]
12351 * posix/Versions (libc): Export __libc_pread at version
12352 GLIBC_PRIVATE.
12353 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12354 instead of pread.
12355 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12356 variable.
12357
12358 [BZ #18522]
12359 * misc/efgcvt_r.c
12360 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12361 (cvt_symbol): Use weak_alias instead of strong_alias.
12362 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12363 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12364 Remove variable.
12365 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12366 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12367
12368 [BZ #18520]
12369 * inet/herrno.c (h_errno): Rename to __h_errno.
12370 (__libc_h_errno): Define as alias of __h_errno not h_errno.
12371 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12372 to __h_errno instead of h_errno.
12373 * nptl/herrno.c (h_errno): Rename to __h_errno.
12374 (__h_errno_location): Refer to __h_errno not h_errno.
12375 * resolv/Versions (h_errno): Rename to __h_errno.
12376 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12377 Remove variable.
12378 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12379
12380 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
12381
12382 * configure.ac: More strict check for AVX512 assembler support.
12383 * configure: Regenerated.
12384
12385 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12386 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12387 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12388 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12389 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12390 * sysdeps/x86_64/fpu/Versions: New versions added.
12391 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12392 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12393 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12394 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12395 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12396 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12397 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12398 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12399 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12400 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12401 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12402 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12403 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12404 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12405 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12406 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12407 test.
12408 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12409 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12410 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12411 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12412 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12413 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12414 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12415 * NEWS: Mention addition of x86_64 vector sin.
12416
12417 2015-06-11 Florian Weimer <fweimer@redhat.com>
12418
12419 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12420 comment.
12421
12422 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
12423
12424 [BZ #18479]
12425 * nptl/pt-interp.c: New file.
12426 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12427 Add pt-interp.
12428 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12429 $(common-objpfx)runtime-linker.h.
12430
12431 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
12432
12433 * Makeconfig (+interp): Remove unused variable.
12434 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12435 only. Depend on $(common-objpfx)runtime-linker.h instead of
12436 $(elf-objpfx)runtime-linker.h.
12437 ($(elf-objpfx)runtime-linker.h): Rename to
12438 $(common-objpfx)runtime-linker.h and move ...
12439 * Makerules [$(build-shared) = yes]: ... here.
12440 * elf/interp.c: Include <runtime-linker.h> instead of
12441 <elf/runtime-linker.h>.
12442
12443 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12444
12445 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12446 (__gettimeofday_syscall): Remove vsyscall fallback.
12447 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12448 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12449 Add syscall fallback function.
12450 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12451 if vDSO is not present.
12452 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12453 fallback function.
12454 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12455 present.
12456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12457 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12458
12459 2015-06-09 Joseph Myers <joseph@codesourcery.com>
12460
12461 [BZ #18497]
12462 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12463 of wcscmp.
12464 (wcscmp): Define as weak alias of WCSCMP.
12465 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12466 wcscoll.
12467 (USE_HIDDEN_DEF): Define.
12468 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12469 __wcscoll. Don't use libc_hidden_weak.
12470 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12471 wcscmp.
12472 * sysdeps/i386/i686/multiarch/wcscmp-c.c
12473 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12474 __GI_wcscmp.
12475 (weak_alias): Undefine and redefine.
12476 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12477 __wcscmp and define as weak alias of __wcscmp.
12478 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12479 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
12480 (__wcscoll): Likewise.
12481 (wcscmp): Don't use libc_hidden_proto.
12482 (wcscoll): Likewise.
12483 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12484 wcscoll.
12485 * posix/regexec.c (check_node_accept_bytes): Likewise.
12486 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12487 variable.
12488 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12489 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12490
12491 [BZ #18507]
12492 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12493 __fstatvfs and define as weak alias of __fstatvfs. Use
12494 libc_hidden_weak.
12495 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12496 and define as weak alias of __statvfs. Use libc_hidden_weak.
12497 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12498 Define as alias of __fstatvfs, not fstatvfs.
12499 (fstatvfs64): Likewise.
12500 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12501 Define as alias of __statvfs, not statvfs.
12502 (statvfs64): Likewise.
12503 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12504 Remove variable.
12505
12506 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12507
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12509 (HAVE_GETCPU_VSYSCALL): Define.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12511 (HAVE_GETCPU_VSYSCALL): Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12513 * sysdeps/unix/sysv/linux/sched_getcpu.c
12514 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12515 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12516 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12517 prototype.
12518 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12519 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12520 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12522 Define.
12523 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12525 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12527
12528 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
12529
12530 * sysdeps/x86_64/fpu/Makefile: New file.
12531 * sysdeps/x86_64/fpu/Versions: New file.
12532 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12533 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12534 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12535 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12536 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12537 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12538 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12539 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12540 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12541 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12542 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12543 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12544 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12545 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12546 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12547 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12548 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12549 * sysdeps/x86_64/configure.ac: Options for libmvec build.
12550 * sysdeps/x86_64/configure: Regenerated.
12551 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12552 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12553 * manual/install.texi (Configuring and compiling): Document
12554 --disable-mathvec.
12555 * INSTALL: Regenerated.
12556 * NEWS: Mention addition of libmvec and x86_64 vector cos.
12557
12558 * math/Makefile: Added rules for vector tests.
12559 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12560 declaration under condition.
12561 * math/test-double-vlen2.h: New file.
12562 * math/test-double-vlen4.h: New file.
12563 * math/test-double-vlen8.h: New file.
12564 * math/test-vec-loop.h: Added initialization macro.
12565 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12566 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12567 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12568 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12569 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12570 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12571 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12572 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12573 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12574 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12575 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12576
12577 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12578 * sysdeps/x86_64/fpu/Versions: New versions added.
12579 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12580 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12581 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12582 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12583 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12584 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12585 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12586 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12587 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12588 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12589 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12590 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12591 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12592 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12593 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12594 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12595 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12596 * NEWS: Mention addition of x86_64 vector cosf.
12597
12598 * math/Makefile: Added CFLAGS for new tests.
12599 * math/test-float-vlen16.h: New file.
12600 * math/test-float-vlen4.h: New file.
12601 * math/test-float-vlen8.h: New file.
12602 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12603 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12604 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12605 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12606 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12607 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12608 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12609 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12610 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12611 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12612 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12613
12614 2015-06-09 Marko Myllynen <myllynen@redhat.com>
12615
12616 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12617 * locale/programs/ld-ctype.c: Likewise.
12618
12619 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
12620
12621 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12622 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12623 bit_ZMM16_31_state): New macro.
12624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12625 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12626
12627 2015-06-08 Joseph Myers <joseph@codesourcery.com>
12628
12629 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12630
12631 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
12632
12633 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12634
12635 2015-06-05 Joseph Myers <joseph@codesourcery.com>
12636
12637 [BZ #18498]
12638 * libio/memstream.c (open_memstream): Rename to __open_memstream
12639 and define as weak alias of __open_memstream.
12640 * include/stdio.h (__open_memstream): Declare. Use
12641 libc_hidden_proto.
12642 (open_memstream): Don't use libc_hidden_proto.
12643 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12644 open_memstream.
12645 * posix/getopt.c (_getopt_internal_r): Likewise.
12646 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12647 variable.
12648 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12649 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12650 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12651
12652 [BZ #18496]
12653 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12654 instead of wcrtomb.
12655
12656 [BZ #18483]
12657 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12658 [__USE_XOPEN2K8]. Remove redundant #endif.
12659 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12660 Remove redundant #if.
12661 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12662 Remove variable.
12663 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12664 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12665
12666 [BZ #18495]
12667 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12668 (__iswlower): Likewise.
12669 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
12670 (__iswlower): Likewise.
12671 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12672 instead of towlower.
12673 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12674 instead of iswlower. Call __towupper instead of towupper.
12675 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12676 instead of iswalnum.
12677
12678 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12679
12680 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12681 errors to stderr.
12682
12683 2015-06-05 Florian Weimer <fweimer@redhat.com>
12684
12685 [BZ #15661]
12686 [BZ #17322]
12687 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12688 Check for overflow properly. Check for O_APPEND. Ignore large
12689 file system block sizes. Add comments about problems.
12690 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12691 * manual/filesys.texi (Storage Allocation): New node.
12692
12693 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12694
12695 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12696 cancellable syscalls.
12697 (SYS_ify): Add guard to no redefine it.
12698 (INLINE_SYSCALL): Likewise.
12699 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12700 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12701 SYSCALL_CANCEL instead.
12702 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12703 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12704 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12705 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12706 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12707 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12708 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12709 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12710 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12711 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12712 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12713 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12714 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12715 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12716 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12717 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12718 Likewise.
12719 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12720 (__libc_pread64): Likewise.
12721 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12722 (__libc_preadv): Likewise.
12723 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12724 (__libc_readv64): Likewise.
12725 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12726 (__libc_pwrite): Likewise.
12727 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12728 (__libc_pwrite64): Likewise.
12729 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12730 (__libc_pwritev): Likewise.
12731 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12732 (__libc_pwritev64): Likewise.
12733 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12734 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12735 (sync_file_range): Likewise.
12736 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12737 Likewise.
12738 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12739 Likewise.
12740 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12741 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12742 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12743 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12744 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12745 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12746 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12747 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12749 Likewise.
12750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12751 (__libc_read64): Likewise.
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12753 Likewise.
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12755 Likewise.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12757 Likewise.
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12759 Likewise.
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12761 (__libc_pread64): Likewise.
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12763 Likewise.
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12765 (__libc_pwrite64): Likewise.
12766 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12767 (sync_file_range): Likewise.
12768 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12769 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12770 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12771 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12772 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12773 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12774 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12775 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12776 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12777 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12778 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12779 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12780 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12781 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12782 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12783 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12784 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12785 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12786 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12787 Likewise.
12788 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12789 Likewise.
12790 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12791 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12792 Likewise.
12793 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12794 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12795 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12796 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12797 Likewise.
12798 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12799 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12800 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12801 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12802 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12803
12804 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
12805
12806 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12807 Include dl-vdso.
12808 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12809 Use VDSO routines for gettimeofday, clock_gettime if
12810 available.
12811 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12812 Declare VDSO symbols.
12813 * sysdeps/unix/sysv/linux/arm/sysdep.h:
12814 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12815 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12816 * sysdeps/unix/sysv/linux/arm/Versions: Add
12817 __vdso_clock_gettime.
12818
12819 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12820
12821 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12822 be an inline implementation regardless of library is built within.
12823 (open_not_cancel_2): Likewise.
12824 (__read_nocancel): Likewise.
12825 (__write_nocancel): Likewise.
12826 (openat_not_cancel): Likewise.
12827 (openat_not_cancel_3): Likewise.
12828 (openat64_not_cancel): Likewise.
12829 (openat64_not_cancel_3): Likewise.
12830 (__close_nocancel): Likewise.
12831 (pause_not_cancel): Likewise.
12832 (nanosleep_not_cancel): Likewise.
12833 (sigsuspend_not_cancel): Likewise.
12834
12835 2015-06-04 Torvald Riegel <triegel@redhat.com>
12836
12837 [BZ #14958]
12838 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12839 wake-up.
12840 (__pthread_rwlock_rdlock_slow): Likewise.
12841 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12842 Likewise.
12843 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12844 Likewise.
12845 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12846 * nptl/tst-rwlock16.c: New file.
12847 * nptl/Makefile (tests): Add new test.
12848
12849 2015-06-04 Torvald Riegel <triegel@redhat.com>
12850
12851 [BZ #18324]
12852 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12853 missing wake-up of readers.
12854 * nptl/tst-rwlock15.c: New file.
12855 * nptl/Makefile (tests): Add new test.
12856
12857 2015-06-03 Roland McGrath <roland@hack.frob.com>
12858
12859 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12860 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12861 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12862 and __nacl_supply_interface_rtld.
12863 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12864 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12865 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12866 Add __nacl_supply_interface_rtld.
12867 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12868
12869 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
12870
12871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12872 isfinite.
12873 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12874 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12875
12876 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
12877
12878 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12879 __signbit* with standard C99 macros.
12880 * math/e_exp10l.c: Likewise.
12881 * math/e_exp2l.c: Likewise.
12882 * math/e_scalb.c: Likewise.
12883 * math/e_scalbf.c: Likewise.
12884 * math/e_scalbl.c: Likewise.
12885 * math/s_ldexp.c: Likewise.
12886 * math/s_ldexpf.c: Likewise.
12887 * math/s_ldexpl.c: Likewise.
12888 * math/w_atan2.c: Likewise.
12889 * math/w_atan2f.c: Likewise.
12890 * math/w_atan2l.c: Likewise.
12891 * math/w_cosh.c: Likewise.
12892 * math/w_coshf.c: Likewise.
12893 * math/w_coshl.c: Likewise.
12894 * math/w_exp10.c: Likewise.
12895 * math/w_exp10f.c: Likewise.
12896 * math/w_exp10l.c: Likewise.
12897 * math/w_exp2.c: Likewise.
12898 * math/w_exp2f.c: Likewise.
12899 * math/w_exp2l.c: Likewise.
12900 * math/w_fmod.c: Likewise.
12901 * math/w_fmodf.c: Likewise.
12902 * math/w_fmodl.c: Likewise.
12903 * math/w_hypot.c: Likewise.
12904 * math/w_hypotf.c: Likewise.
12905 * math/w_hypotl.c: Likewise.
12906 * math/w_jnl.c: Likewise.
12907 * math/w_lgamma.c: Likewise.
12908 * math/w_lgamma_r.c: Likewise.
12909 * math/w_lgammaf.c: Likewise.
12910 * math/w_lgammaf_r.c: Likewise.
12911 * math/w_lgammal.c: Likewise.
12912 * math/w_lgammal_r.c: Likewise.
12913 * math/w_pow.c: Likewise.
12914 * math/w_powf.c: Likewise.
12915 * math/w_powl.c: Likewise.
12916 * math/w_remainder.c: Likewise.
12917 * math/w_remainderf.c: Likewise.
12918 * math/w_remainderl.c: Likewise.
12919 * math/w_scalb.c: Likewise.
12920 * math/w_scalbf.c: Likewise.
12921 * math/w_scalbl.c: Likewise.
12922 * math/w_scalbln.c: Likewise.
12923 * math/w_scalblnf.c: Likewise.
12924 * math/w_scalblnl.c: Likewise.
12925 * math/w_sinh.c: Likewise.
12926 * math/w_sinhf.c: Likewise.
12927 * math/w_sinhl.c: Likewise.
12928 * math/w_tgamma.c: Likewise.
12929 * math/w_tgammaf.c: Likewise.
12930 * math/w_tgammal.c: Likewise.
12931 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12932 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12933 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12934 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12935 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12937 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12938 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12939 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12940 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12941 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12959 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12962 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12963 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12964 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12965 * stdio-common/printf_fp.c: Likewise.
12966 * stdio-common/printf_fphex.c: Likewise.
12967 * stdio-common/printf_size.c: Likewise.
12968
12969 2015-06-03 Joseph Myers <joseph@codesourcery.com>
12970
12971 [BZ #18470]
12972 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12973 strnlen.
12974 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12975 Remove variable.
12976 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12977 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12978 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12979 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12980 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12981 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12982 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12983 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12984 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12985 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12986
12987 [BZ #18468]
12988 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12989 weak alias of __wmemchr. Use libc_hidden_weak.
12990 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
12991 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12992 instead of wmemchr.
12993
12994 2015-06-02 Roland McGrath <roland@hack.frob.com>
12995
12996 [BZ #18383]
12997 * elf/tst-tlsalign-extern.c: New file.
12998 * elf/tst-tlsalign-extern-static.c: New file.
12999 * elf/tst-tlsalign-vars.c: New file.
13000 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13001 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13002 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13003 ($(objpfx)tst-tlsalign-extern-static): Likewise.
13004 (test-xfail-tst-tlsalign-extern-static): New variable.
13005
13006 2015-06-02 Joseph Myers <joseph@codesourcery.com>
13007
13008 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13009 Use variable name _sc_err instead of err.
13010 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13011 instead of ret.
13012 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13013 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13014 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13015 (INLINE_SYSCALL): Likewise.
13016
13017 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13018 * include/string.h (__strnlen): Use libc_hidden_proto.
13019 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13020 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13021 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13022 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13023 (libc_hidden_def): Undefine and redefine.
13024 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13025 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13026 __GI_strnlen.
13027 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13028 libc_hidden_def.
13029 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13030
13031 [BZ #18469]
13032 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13033 weak alias of __towlower. Use libc_hidden_weak.
13034 (towupper): Rename to __towupper and define as weak alias of
13035 __towupper. Use libc_hidden_weak.
13036 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
13037 (__towupper): Likewise.
13038 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13039 __towlower instead of towlower.
13040
13041 2015-06-02 Roland McGrath <roland@hack.frob.com>
13042
13043 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13044 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13045
13046 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13047
13048 * sysdeps/aarch64/libm-test-ulps: Update.
13049
13050 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13051
13052 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13053 Define.
13054 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13056 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13057 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13058 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13059 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13060 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13061
13062 2015-06-01 Martin Sebor <msebor@redhat.com>
13063
13064 [BZ #18116]
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13066 (__setcontext): Use extended four-operand version of mtsf whenever
13067 possible.
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13069 (__novec_swapcontext): Likewise.
13070
13071 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13072
13073 * benchtests/scripts/compare_bench.py: New file.
13074 * benchtests/scripts/import_bench.py (mean): New function.
13075 (split_list): Likewise.
13076 (do_for_all_timings): Likewise.
13077 (compress_timings): Likewise.
13078
13079 * benchtests/scripts/import_bench.py: New file.
13080 * benchtests/scripts/validate_benchout.py: Import import_bench
13081 instead of jsonschema.
13082 (validate_bench): Remove function.
13083 (main): Use import_bench.
13084
13085 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
13086
13087 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13088 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13089
13090 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13091
13092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13093
13094 2015-05-28 Roland McGrath <roland@hack.frob.com>
13095
13096 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13097 set THREAD_SELF->tid to a magic value and futex-wake it.
13098 Pass its address to the thread_exit system call.
13099 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13100 bit is clear.
13101 * sysdeps/nacl/lowlevellock.h: New file.
13102 * sysdeps/nacl/lll_timedwait_tid.c: New file.
13103
13104 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13105 Add TIMEOUT to current time, don't subtract it.
13106
13107 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
13108
13109 [BZ #2981]
13110 [BZ #18422]
13111 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13112 ($(objpfx)tst-audit2.out): Also depend on
13113 $(objpfx)tst-auditmod9b.so.
13114 * elf/tst-audit2.c: Include <dlfcn.h>.
13115 (calloc_called): New.
13116 (calloc): Allow to be called more than once.
13117 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13118
13119 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
13120
13121 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13122 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13123
13124 2015-05-27 Marko Myllynen <myllynen@redhat.com>
13125
13126 * stdlib/monetary.h: Fix comment.
13127
13128 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
13129
13130 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13131 Avoid using variables in #defines that might cause shadowing.
13132 (INTERNAL_VSYSCALL_CALL): Likewise.
13133
13134 2015-05-26 Roland McGrath <roland@hack.frob.com>
13135
13136 * sysdeps/nacl/lll_timedlock_wait.c: New file.
13137
13138 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13139 * nptl/lll_timedlock_wait.c: ... to this new file.
13140 * nptl/Makefile (libpthread-routines): Add it.
13141 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13142 * nptl/lll_timedwait_tid.c: ... to this new file.
13143 * nptl/Makefile (libpthread-routines): Add it.
13144 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13145 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13146 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13147 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13148 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13149 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13150 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13151 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13152 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13153 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13154
13155 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13156
13157 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13158 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13159 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13161 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13163 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13165 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13166 * sysdeps/unix/sysv/linux/tile/sysdep.h
13167 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13168 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13169 using vDSO syscall macro.
13170
13171 2015-05-26 Andriy Rysin <arysin@gmail.com>
13172
13173 [BZ #17293]
13174 * uk_UA: Fix sorting order for Ukrainian locale
13175
13176 2015-05-26 Marko Myllynen <myllynen@redhat.com>
13177
13178 * stdlib/monetary.h: Fix comment.
13179
13180 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
13181
13182 [BZ #18234]
13183 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13184 st_mtim and st_ctim members.
13185 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13186 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13187 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13188 (struct stat64): Likewise.
13189 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13190 (struct stat64): Likewise.
13191 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13192 (struct stat64): Likewise.
13193
13194 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13195
13196 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13197 Define and include sysdep-vdso.h.
13198 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13199 Likewise.
13200 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13203 Define with VDSO_SYMBOL and use PTR_MANGLE.
13204 (__vdso_clock_gettime): Likewise.
13205 (__vdso_clock_getres): Likewise.
13206 (_libc_vdso_platform_setup): Likewise.
13207 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13208 Likewise.
13209 (_libc_vdso_platform_setup): Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13211 Likewise.
13212 (__vdso_clock_gettime): Likewise.
13213 (__vdso_clock_getres): Likewise.
13214 (__vdso_get_tbfreq): Likewise.
13215 (__vdso_getcpu): Likewise.
13216 (__vdso_time): Likewise.
13217 (__vdso_sigtramp_rt64): Likewise.
13218 (__vdso_signtramp32): Likewise.
13219 (__vdso_sigtramp_rt32): Likewise.
13220 (_libc_vdso_platform_setup): Likewise.
13221 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13222 Likewise.
13223 (__vdso_clock_gettime): Likewise.
13224 (__vdso_clock_getres): Likewise.
13225 (_libc_vdso_platform_setup): Likewise.
13226 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13227 Likewise.
13228 (__vdso_clock_gettime): Likewise.
13229 (_libc_vdso_platform_setup): Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13231 Likewise.
13232 (__vdso_getcpu): Likewise.
13233 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13234 Use VDSO_SYMBOL macro to define.
13235 (__vdso_clock_gettime): Likewise.
13236 (__vdso_clock_getres): Likewise.
13237 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13238 Likewise.
13239 (__vdso_clock_gettime): Likewise.
13240 (__vdso_clock_getres): Likewise.
13241 (__vdso_get_tbfreq): Likewise.
13242 (__vdso_getcpu): Likewise.
13243 (__vdso_time): Likewise.
13244 (__vdso_sigtramp_rt64): Likewise.
13245 (__vdso_signtramp32): Likewise.
13246 (__vdso_sigtramp_rt32): Likewise.
13247 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13248 Likewise.
13249 (__vdso_clock_gettime): Likewise.
13250 (__vdso_clock_getres): Likewise.
13251 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13252 Likewise.
13253 (__vdso_clock_gettime): Likewise.
13254 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13255 Likewise.
13256 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
13257 macro.
13258 (INTERNAL_VSYSCALL): Likewise.
13259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13260 Remove macro.
13261 (INTERNAL_VSYSCALL): Likewise.
13262 (INTERNAL_VSYSCALL_NCS): Likewise.
13263 (INTERNAL_VSYSCALL_CALL): New macro.
13264 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13265 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13266 Likewise.
13267 (INTERNAL_VSYSCALL): Likewise.
13268 (INTERNAL_VSYSCALL_NCS): Likewise.
13269 (INTERNAL_VSYSCALL_CALL): New macro.
13270 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13272 (INLINE_VSYSCALL): Remove macro.
13273 (INTERNAL_VSYSCALL): Remove macro.
13274 (INTERNAL_VSYSCALL_NCS): Remove macro.
13275 (INTERNAL_VSYSCALL_CALL): New macro.
13276 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13277 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13278 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13279 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13280 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13282 (INLINE_VSYSCALL): Remove macro.
13283 (INTERNAL_VSYSCALL): Likewise.
13284 (INTERNAL_VSYSCALL_NCS): Likewise.
13285 (INTERNAL_VSYSCALL_CALL): New macro.
13286 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13287 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13288 PTR_DEMANGLE on vDSO pointer.
13289 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13290 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13291 macro.
13292 (INTERNAL_SYSCALL): Likewise.
13293 (INTERNAL_VSYSCALL_NCS): Remove macro.
13294 (INTERNAL_VSYSCALL_CALL): New macro.
13295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13296 Remove macro.
13297 (INTERNAL_VSYSCALL): Likewise.
13298 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13299 sysdep-vdso.h instead of libc-vdso.h.
13300 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13301 definition.
13302 (INLINE_VSYSCALL): Likewise.
13303 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13304 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13305 definition.
13306 (INLINE_VSYSCALL): Likewise.
13307 (INTERNAL_VSYSCALL): Likewise.
13308 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13309 * sysdeps/unix/sysv/linux/timespec_get.c
13310 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13311 (timespec_get): Use ANSI prototype.
13312 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13313 and definition for Linux.
13314
13315 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
13316
13317 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13318 * include/libc-symbols.h: libmvec_hidden_* macro series added.
13319
13320 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
13321
13322 [BZ #2981]
13323 [BZ #18410]
13324 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13325 for missing DT_PLTRELSZ.
13326
13327 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
13328
13329 Remove obsolete aliases that broke 'locale -a'
13330 [BZ #18412]
13331 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13332 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13333 breaking some applications that use 'locale -a' output.
13334 Change the encoding of this file from Latin-1 to ASCII to avoid
13335 other potential problems with people grepping this file.
13336
13337 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13338
13339 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13340 -fasynchronous-unwind-tables.
13341 (CFLAGS-sendto.c): Likewise.
13342 (CFLAGS-sendmsg.c): Likewise.
13343 (CFLAGS-connect.c): Likewise.
13344 (CFLAGS-recvmsg.c): Likewise.
13345 (CFLAGS-recvfrom.c): Likewise.
13346 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13347 (SOCKETCALL): New macro: non-cancellable socketcall.
13348 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13349 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13350 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13351 * sysdeps/unix/sysv/linux/accept.c: New file.
13352 * sysdeps/unix/sysv/linux/bind.c: Likewise.
13353 * sysdeps/unix/sysv/linux/connect.c: Likewise.
13354 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13355 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13356 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13357 * sysdeps/unix/sysv/linux/listen.c: Likewise.
13358 * sysdeps/unix/sysv/linux/recv.c: Likewise.
13359 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13360 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13361 * sysdeps/unix/sysv/linux/send.c: Likewise.
13362 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13363 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13364 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13365 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13366 * sysdeps/unix/sysv/linux/socket.c: Likewise.
13367 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13368 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13369 prototype.
13370 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13371 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13372 instead of __internal_xxx function.
13373 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13374 prototype.
13375 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13376 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13377 instead of __internal_xxx function.
13378 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13379 prototype.
13380 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13381 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13382 instead of __internal_xxx function.
13383 * sysdeps/unix/sysv/linux/accept.S: Remove file.
13384 * sysdeps/unix/sysv/linux/bind.S: Likewise.
13385 * sysdeps/unix/sysv/linux/connect.S: Likewise.
13386 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13387 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13388 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13389 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13390 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13391 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13392 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13393 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13394 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13395 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13396 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13397 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13398 * sysdeps/unix/sysv/linux/listen.S: Likewise.
13399 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13400 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13401 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13402 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13405 * sysdeps/unix/sysv/linux/recv.S: Likewise.
13406 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13407 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13408 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13409 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13410 * sysdeps/unix/sysv/linux/send.S: Likewise.
13411 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13412 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13413 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13414 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13415 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13416 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13417 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13418 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13419 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13420 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13421 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13422 socketcall is implemented in GLIBC.
13423
13424 2015-05-22 Joseph Myers <joseph@codesourcery.com>
13425
13426 * soft-fp/fmadf4.c: Include <libc-internal.h>.
13427 (__fma): Ignore uninitialized warnings around packing.
13428 * soft-fp/fmasf4.c: Include <libc-internal.h>.
13429 (__fmaf): Ignore uninitialized warnings around packing.
13430 * soft-fp/fmatf4.c: Include <libc-internal.h>.
13431 (__fmal): Ignore uninitialized warnings around packing.
13432
13433 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13434 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13435 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13436 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13437
13438 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13439 switch statement into default case.
13440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13441
13442 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13443 a conditional in forcing "inexact".
13444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13445 Likewise.
13446
13447 2015-05-22 Roland McGrath <roland@hack.frob.com>
13448
13449 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13450 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13451 for each INTERNAL_SYSCALL use.
13452
13453 2015-05-22 Joseph Myers <joseph@codesourcery.com>
13454
13455 [BZ #438]
13456 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13457 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13458 variable.
13459
13460 [BZ #18444]
13461 * string/basename.c (basename): Rename to __basename and define as
13462 weak alias of __basename. Use libc_hidden_weak.
13463 * include/string.h (__basename): Declare. Use libc_hidden_proto.
13464 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13465 __basename instead of basename.
13466 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13467 Remove variable.
13468 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13469
13470 2015-05-18 Florian Weimer <fweimer@redhat.com>
13471
13472 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13473 (_IO_JUMPS_FILE_plus): New.
13474 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13475 _IO_CAST_FIELD_ACCESS.
13476 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13477 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13478 * libio/freopen.c (freopen): Likewise.
13479 * libio/freopen64.c (freopen64): Likewise.
13480 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13481 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13482 * libio/iofwide.c (_IO_fwide): Likewise.
13483 * libio/memstream.c (open_memstream): Likewise.
13484 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13485 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13486 * libio/oldiopopen.c (_IO_old_popen): Likewise.
13487
13488 2015-05-21 Joseph Myers <joseph@codesourcery.com>
13489
13490 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13491 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13492 NADJ.
13493 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13494 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13495 NADJ.
13496 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13497 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13498 NADJ.
13499
13500 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13501 (p == 4) case.
13502
13503 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13504 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13505 Remove variable.
13506 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13507 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13508 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13509
13510 2015-05-21 Florian Weimer <fweimer@redhat.com>
13511
13512 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13513 Adjust jump table label generation macros.
13514
13515 2015-05-21 Florian Weimer <fweimer@redhat.com>
13516
13517 * stdio-common/vfprintf.c (vfprintf): Move local variables
13518 args_malloced, specs, specs_malloced, and the code after
13519 do_positional to the printf_positional function.
13520 (printf_positional): New function.
13521
13522 2015-05-21 Florian Weimer <fweimer@redhat.com>
13523
13524 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13525 function.
13526 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13527 STEP4_TABLE, process_arg): Move macro definitions
13528 out of the vfprintf function. (Cosmetic change only.)
13529
13530 2015-05-21 Carlos O'Donell <carlos@redhat.com>
13531
13532 * benchtests/Makefile (stdio-common-bench): Define.
13533 (benchset): Add stdio-common-bench.
13534 * sprintf-inputs: New file.
13535 * sprintf-source.c: New file.
13536
13537 2015-05-21 Andreas Schwab <schwab@suse.de>
13538
13539 [BZ #13028]
13540 [BZ #17053]
13541 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13542 of struct __res_state.
13543 * resolv/res_send.c (__libc_res_nsend): Likewise.
13544 (get_nsaddr): New function.
13545 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13546 statp directly.
13547
13548 2015-05-20 Joseph Myers <joseph@codesourcery.com>
13549
13550 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13551 -D_POSIX_C_SOURCE=199506L.
13552
13553 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13554
13555 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13556 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13557 Do not mention otherwise.
13558 [POSIX] (_XOPEN_VERSION): Do not expect.
13559 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13560 [POSIX] (_POSIX2_C_BIND): Likewise.
13561 [POSIX] (_POSIX2_VERSION): Likewise.
13562 [POSIX] (_XOPEN_XPG2): Likewise.
13563 [POSIX] (_XOPEN_XPG3): Likewise.
13564 [POSIX] (_XOPEN_XPG4): Likewise.
13565 [POSIX] (_XOPEN_UNIX): Likewise.
13566 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13567 [POSIX] (_POSIX_BARRIERS): Likewise.
13568 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13569 [POSIX] (_POSIX_CPUTIME): Likewise.
13570 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13571 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13572 [POSIX] (_POSIX_SHELL): Likewise.
13573 [POSIX] (_POSIX_SPAWN): Likewise.
13574 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13575 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13576 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13577 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13578 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13579 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13580 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13581 [POSIX] (_XBS5_LP64_OFF64): Likewise.
13582 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13583 [POSIX] (_POSIX_TIMEOUTS): Likewise.
13584 [POSIX] (_POSIX2_PBS): Likewise.
13585 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13586 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13587 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13588 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13589 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13590 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13591 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13592 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13593 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13594 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13595 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13596 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13597 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13598 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13599 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13600 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13601 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13602 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13603 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13604 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13605 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13606 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13607 [POSIX] (_SC_2_C_BIND): Likewise.
13608 [POSIX] (_SC_2_C_VERSION): Likewise.
13609 [POSIX] (_SC_2_PBS): Likewise.
13610 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13611 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13612 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13613 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13614 [POSIX] (_SC_2_PBS_TRACK): Likewise.
13615 [POSIX] (_SC_ATEXIT_MAX): Likewise.
13616 [POSIX] (_SC_BARRIERS): Likewise.
13617 [POSIX] (_SC_BASE): Likewise.
13618 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13619 [POSIX] (_SC_DEVICE_IO): Likewise.
13620 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13621 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13622 [POSIX] (_SC_FD_MGMT): Likewise.
13623 [POSIX] (_SC_FIFO): Likewise.
13624 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13625 [POSIX] (_SC_FILE_LOCKING): Likewise.
13626 [POSIX] (_SC_FILE_SYSTEM): Likewise.
13627 [POSIX] (_SC_IOV_MAX): Likewise.
13628 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13629 [POSIX] (_SC_NETWORKING): Likewise.
13630 [POSIX] (_SC_PAGE_SIZE): Likewise.
13631 [POSIX] (_SC_PASS_MAX): Likewise.
13632 [POSIX] (_SC_PIPE): Likewise.
13633 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13634 [POSIX] (_SC_REGEXP): Likewise.
13635 [POSIX] (_SC_SHELL): Likewise.
13636 [POSIX] (_SC_SIGNALS): Likewise.
13637 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13638 [POSIX] (_SC_SPIN_LOCKS): Likewise.
13639 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13640 [POSIX] (_SC_USER_GROUPS): Likewise.
13641 [POSIX] (_SC_USER_GROUPS_R): Likewise.
13642 [POSIX] (_SC_STREAMS): Likewise.
13643 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13644 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13645 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13646 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13647 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13648 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13649 [POSIX] (_PC_FILESIZEBITS): Likewise.
13650 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13651 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13652 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13653 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13654 [POSIX] (uid_t): Likewise.
13655 [POSIX] (gid_t): Likewise.
13656 [POSIX] (off_t): Likewise.
13657 [POSIX] (pid_t): Likewise.
13658 [POSIX] (cuserid): Allow.
13659 (_SC_2_CHAR_TERM): Require constant.
13660 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13661 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13662 variable.
13663
13664 2015-05-20 Roland McGrath <roland@hack.frob.com>
13665
13666 * sysdeps/nacl/pthread-pids.h: New file.
13667 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13668 (create_thread): Use __nacl_get_tid to initialize PD->tid.
13669
13670 * nptl/pthread-pids.h: New file.
13671 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13672 * nptl/nptl-init.c: Include <pthread-pids.h>.
13673 (__pthread_initialize_minimal_internal):
13674 Call __pthread_initialize_pids instead of set_tid_address syscall.
13675
13676 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13677 * sysdeps/posix/usleep.c: ... here.
13678
13679 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13680
13681 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13682 call_pselect6 object.
13683 [$(subdir) = io]: Remove call_sync_file_range object.
13684 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13685 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13686 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13687 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13688
13689 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
13690
13691 * math/s_cproj.c: Add include "math_private.h".
13692 * math/s_cprojf.c: Likewise.
13693 * math/s_cprojl.c: Likewise.
13694
13695 2015-05-19 Joseph Myers <joseph@codesourcery.com>
13696
13697 [BZ #18244]
13698 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13699 high mantissa bit when testing whether P is a NaN.
13700 * math/libm-test.inc (remainder_test_data): Add more tests.
13701 (remquo_test_data): Likewise.
13702
13703 [BZ #18049]
13704 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13705 below -32, return the argument, with underflow if subnormal.
13706 * math/auto-libm-test-in: Add more tests of atanh.
13707 * math/auto-libm-test-out: Regenerated.
13708
13709 2015-05-19 Roland McGrath <roland@hack.frob.com>
13710
13711 [BZ #18434]
13712 * nptl/tst-sem15.c: New file.
13713 * nptl/Makefile (tests): Add it.
13714 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13715 s/<</>>/ to fix typo in EOVERFLOW check.
13716 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13717
13718 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13719
13720 * manual/strings.texi (envz_remove): Fix typo in safety
13721 annotations.
13722
13723 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
13724 Steve Ellcey <sellcey@imgtec.com>
13725
13726 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13727 in order to avoid strict alias warnings.
13728 (iruserok_af): Ditto for ra.
13729
13730 2015-05-19 James Lemke <jwlemke@codesourcery.com>
13731
13732 [BZ #17581]
13733 * malloc/hooks.c
13734 (magicbyte): Convert to a function and avoid returning 0x01.
13735 (mem2mem_check): Avoid using a length byte equal to the magic byte.
13736 (mem2chunk_check): Fix unsigned comparisons to zero.
13737 Hoist defs of sz and magic.
13738
13739 2015-05-19 Richard Henderson <rth@redhat.com>
13740
13741 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13742
13743 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13744
13745 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13746
13747 [BZ #16159]
13748 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13749 * malloc/arena.c (arena_lock): Check if arena is corrupt.
13750 (reused_arena): Find a non-corrupt arena.
13751 (heap_trim): Pass arena to unlink.
13752 * malloc/hooks.c (malloc_check_get_size): Pass arena to
13753 malloc_printerr.
13754 (top_check): Likewise.
13755 (free_check): Likewise.
13756 (realloc_check): Likewise.
13757 * malloc/malloc.c (malloc_printerr): Add arena argument.
13758 (unlink): Likewise.
13759 (munmap_chunk): Adjust.
13760 (ARENA_CORRUPTION_BIT): New macro.
13761 (arena_is_corrupt): Likewise.
13762 (set_arena_corrupt): Likewise.
13763 (sysmalloc): Use mmap if there are no usable arenas.
13764 (_int_malloc): Likewise.
13765 (__libc_malloc): Don't fail if arena_get returns NULL.
13766 (_mid_memalign): Likewise.
13767 (__libc_calloc): Likewise.
13768 (__libc_realloc): Adjust for additional argument to
13769 malloc_printerr.
13770 (_int_free): Likewise.
13771 (malloc_consolidate): Likewise.
13772 (_int_realloc): Likewise.
13773 (_int_memalign): Don't touch corrupt arenas.
13774 * malloc/tst-malloc-backtrace.c: New test case.
13775
13776 * Makefile (summarize-tests): Fix return value on success.
13777
13778 * manual/string.texi (Envz Functions): Add envz_remove.
13779
13780 2015-05-18 Roland McGrath <roland@hack.frob.com>
13781
13782 * sysdeps/posix/opendir.c: Include <stdbool.h>.
13783 (invalid_name): New function, broken out of ...
13784 (__opendirat): ... here. Call it.
13785 (need_isdir_precheck): New function, broken out of ...
13786 (__opendirat): ... here. Call it.
13787 Use __fxstatat64, not __xstatat64.
13788 (opendir_oflags): New function, broken out of ...
13789 (__opendirat): ... here. Call it.
13790 (opendir_tail): New function, broken out of ...
13791 (__opendirat): ... here. Call it.
13792 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13793 opendir_tail, rather than punting to __opendirat.
13794 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13795
13796 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13797
13798 * .gitignore: Ignore generated *.pyc.
13799
13800 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
13801
13802 * include/stdio.h: Define __need_wint_t.
13803 * test-skeleton.c: Avoid `for' loop initial declaration.
13804 * nptl/tst-initializers1.c: Use test-skeleton.c.
13805
13806 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13807
13808 [BZ #18418]
13809 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13810
13811 2015-05-15 Joseph Myers <joseph@codesourcery.com>
13812
13813 [BZ #16352]
13814 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13815 (__ieee754_atanh): Force underflow exception for results with
13816 small absolute value.
13817 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13818 (__ieee754_atanhf): Force underflow exception for results with
13819 small absolute value.
13820 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13821 (__ieee754_atanh): Force underflow exception for results with
13822 small absolute value.
13823 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13824 (__ieee754_atanhf): Force underflow exception for results with
13825 small absolute value.
13826 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13827 (__ieee754_atanhl): Force underflow exception for results with
13828 small absolute value.
13829 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13830 (__ieee754_atanhl): Force underflow exception for results with
13831 small absolute value.
13832 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13833 (__ieee754_atanhl): Force underflow exception for results with
13834 small absolute value.
13835 * math/auto-libm-test-in: Do not allow missing underflow
13836 exceptions from atanh.
13837 * math/auto-libm-test-out: Regenerated.
13838
13839 [BZ #18221]
13840 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13841 2**-28 as threshold for returning x or +/- 1/x.
13842 * math/auto-libm-test-in: Add more tests of tan.
13843 * math/auto-libm-test-out: Regenerated.
13844
13845 [BZ #18220]
13846 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13847 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13848 * math/auto-libm-test-in: Add another test of lgamma.
13849 * math/auto-libm-test-out: Regenerated.
13850
13851 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
13852
13853 * stdio-common/printf_fp.c (___printf_fp): Use abs.
13854 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
13855 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13856 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13857 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
13858 (ADD2A): Use fabs. (SUB2A): Use fabs.
13859 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13860 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13862 (log1): Use fabs. (my_log2): Use fabs.
13863 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13864 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13865 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13866 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13868 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
13869 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
13870 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
13871 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
13872 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13873 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13874
13875 2015-05-15 Joseph Myers <joseph@codesourcery.com>
13876
13877 [BZ #18217]
13878 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13879 as threshold for returning 1 - x.
13880 * math/auto-libm-test-in: Add more tests of erfc.
13881 * math/auto-libm-test-out: Regenerated.
13882
13883 2015-05-14 Joseph Myers <joseph@codesourcery.com>
13884
13885 [BZ #18196]
13886 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13887 threshold for large arguments.
13888 * math/auto-libm-test-in: Add another test of atan.
13889 * math/auto-libm-test-out: Regenerated.
13890
13891 [BZ #16339]
13892 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13893 (__log1p): Force underflow exception for results with small
13894 absolute value.
13895 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13896 (__log1pf): Force underflow exception for results with small
13897 absolute value.
13898 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13899 (__log1p): Force underflow exception for results with small
13900 absolute value.
13901 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13902 (__log1pf): Force underflow exception for results with small
13903 absolute value.
13904 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13905 (__log1pl): Force underflow exception for results with small
13906 absolute value.
13907 * math/auto-libm-test-in: Do not allow missing underflow
13908 exceptions from log1p.
13909 * math/auto-libm-test-out: Regenerated.
13910
13911 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
13912 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13913
13914 [BZ #16704]
13915 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13916
13917 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
13918
13919 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13920 (libmvec): New variable.
13921 * configure.ac: Added option for mathvec build.
13922 * configure: Regenerated.
13923 * mathvec/Depend: New file.
13924 * mathvec/Makefile: New file.
13925 * shlib-versions: Added libmvec.
13926 * math/Makefile: Added rule for libm.so installation.
13927
13928 * bits/math-vector.h: New file.
13929 * bits/libm-simd-decl-stubs.h: New header.
13930 * math/Makefile (headers): Added new header
13931 libm-simd-decl-stubs.h.
13932 * math/math.h (__MATHCALL_VEC): New macro.
13933
13934 * math/gen-libm-have-vector-test.sh: Script generates series of macros
13935 for conditions in testing functions.
13936 * math/Makefile: Added call of libm-have-vector-test.sh.
13937 * math/libm-test.inc (HAVE_VECTOR): New macros.
13938
13939 * math/libm-test.inc: START refactored.
13940 * math/test-double.c (TEST_MATHVEC): Add define.
13941 * math/test-float.c: Likewise.
13942 * math/test-idouble.c: Likewise.
13943 * math/test-ifloat.c: Likewise.
13944 * math/test-ildoubl.c: Likewise.
13945 * math/test-ldouble.c: Likewise.
13946 * sysdeps/generic/math-tests-arch.h
13947 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13948 architecture check.
13949
13950 * math/test-double.c (FUNC_TEST): New macro.
13951 * math/test-float.c: Likewise.
13952 * math/test-idouble.c: Likewise.
13953 * math/test-ifloat.c: Likewise.
13954 * math/test-ildoubl.c: Likewise.
13955 * math/test-ldouble.c: Likewise.
13956 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13957
13958 2015-05-13 Roland McGrath <roland@hack.frob.com>
13959
13960 * sysdeps/nacl/fdopendir.c: New file.
13961
13962 * dirent/scandir-tail.c: New file.
13963 * dirent/scandir64-tail.c: New file.
13964 * dirent/Makefile (routines): Add them.
13965 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13966 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13967 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13968 [!SCANDIR] (SCANDIR_TAIL): New macro.
13969 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13970 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13971 (SCANDIRAT): Macro removed.
13972 (SCANDIR_TAIL): New macro.
13973 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13974 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13975 (SCANDIRAT): Just call __opendirat and __scandir_tail.
13976 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13977 (READDIR): Macro removed.
13978 (SCANDIR_TAIL): New macro.
13979 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13980 (SCANDIR_TAIL): New macro.
13981
13982 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13983 * dirent/scandir-cancel.c: ... to this new file.
13984 * dirent/Makefile (routines): Add it.
13985 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13986 * sysdeps/unix/sysv/linux/i386/scandir64.c
13987 (SKIP_SCANDIR_CANCEL): Macro removed.
13988 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13989
13990 * dirent/tst-scandir.c: New file.
13991 * dirent/tst-scandir64.c: New file.
13992 * dirent/Makefile (tests): Add them.
13993
13994 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
13995
13996 [BZ #18409]
13997 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13998
13999 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
14000
14001 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14002 list.
14003
14004 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
14005
14006 * benchtests/bench-strcoll.c: New benchmark.
14007 * benchtests/Makefile: Generate locales and run benchmark.
14008 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14009 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14010 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14011 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14012 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14013 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14014 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14015 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14016 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14017 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14018 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14019 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14020 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14021 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14022 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14023 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14024 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14025 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14026 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14027 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14028 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14029 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14030 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14031 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14032
14033 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
14034
14035 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14036 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14037
14038 2015-05-12 Roland McGrath <roland@hack.frob.com>
14039
14040 * posix/uname-values.h: New file.
14041 * posix/uname.c: Include that instead of <config-name.h>.
14042 * sysdeps/nacl/uname-values.h: New file.
14043 * sysdeps/arm/nacl/uname-values.h: New file.
14044
14045 2015-05-12 Joseph Myers <joseph@codesourcery.com>
14046
14047 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14048 splitting into fields.
14049
14050 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
14051
14052 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14053 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14054 * locale/localeinfo.h: Add enum collation_encoding_type.
14055 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14056 * programs/ld-collate.c (collate_output): Add encoding type info.
14057 * string/strcoll_l.c (STRDIFF): New function.
14058 * (STRCOLL): Use STRDIFF to skip over equal prefix.
14059 * wcsmbs/wcscoll_l.c: Define STRDIFF.
14060
14061 2015-05-11 Joseph Myers <joseph@codesourcery.com>
14062
14063 [BZ #18397]
14064 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14065 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
14066 <fpu_control.h> instead of <math/fpu_control.c>.
14067 * sysdeps/mips/mips32/fpu/Makefile: New file.
14068
14069 2015-05-11 Andreas Schwab <schwab@suse.de>
14070
14071 [BZ #18007]
14072 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14073 nss_endgrent.
14074 (_nss_compat_endgrent): Call nss_endgrent.
14075 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14076 nss_endpwent.
14077 (_nss_compat_endpwent): Call nss_endpwent.
14078 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14079 needent, call nss_setspent only if non-zero.
14080 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14081 (internal_endspent): Don't call nss_endspent.
14082 (_nss_compat_endspent): Call nss_endspent.
14083 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14084 Remove. All uses removed.
14085 (internal_setent): Remove parameter stayopen, add parameter
14086 stream. Use it instead of global variable.
14087 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14088 (internal_endent, internal_getent): Add parameter stream. Use it
14089 instead of global variable.
14090 (CONCAT(_nss_files_end,ENTNAME))
14091 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14092 (_nss_files_get##name##_r): Pass local stream. Remove locking.
14093 * nss/nss_files/files-alias.c (position, last_use): Remove. All
14094 uses removed.
14095 (internal_setent, internal_endent): Add parameter stream. Use it
14096 instead of global variable.
14097 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14098 stream.
14099 (get_next_alias): Add parameter stream.
14100 (_nss_files_getaliasent_r): Pass global stream.
14101 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
14102 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14103 (_nss_files_gethostbyname4_r): Pass local stream to
14104 internal_setent, internal_getent and internal_endent. Remove
14105 locking.
14106
14107 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14108
14109 * tst-strfmon1.c (tests): Update expected currency symbol.
14110
14111 2015-05-08 Roland McGrath <roland@hack.frob.com>
14112
14113 * sysdeps/nacl/gethostname.c: New file.
14114
14115 2015-05-08 Joseph Myers <joseph@codesourcery.com>
14116
14117 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14118 and sinh.
14119 * math/auto-libm-test-out: Regenerated.
14120 * sysdeps/i386/fpu/libm-test-ulps: Update.
14121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14122
14123 2015-05-08 Carlos O'Donell <carlos@redhat.com>
14124
14125 [BZ #18125]
14126 * stdlib/tst-setcontext3.c: New file.
14127 * stdlib/tst-setcontext3.sh: New file.
14128 * stdlib/Makefile (tests): Add tst-setcontext3.
14129 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14130 to verify test program created output file.
14131 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14132 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14133 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14134 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14135
14136 2015-05-06 Roland McGrath <roland@hack.frob.com>
14137
14138 [BZ #18383]
14139 * elf/tst-tlsalign.c: New file.
14140 * elf/tst-tlsalign-static.c: New file.
14141 * elf/tst-tlsalign-lib.c: New file.
14142 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14143 (tests-static): Add tst-tlsalign-static.
14144 (modules-names): Add tst-tlsalign-lib.
14145 (test-xfail-tst-tlsalign): New variable.
14146 (test-xfail-tst-tlsalign-static): New variable.
14147
14148 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14149 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14150
14151 2015-05-06 Joseph Myers <joseph@codesourcery.com>
14152
14153 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14154 csqrt, erfc, sin and sincos.
14155 * math/auto-libm-test-out: Regenerated.
14156 * sysdeps/i386/fpu/libm-test-ulps: Update.
14157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14158
14159 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14160
14161 * sysdeps/aarch64/libm-test-ulps: Update.
14162
14163 2015-05-05 Joseph Myers <joseph@codesourcery.com>
14164
14165 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14166 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14167 * math/auto-libm-test-out: Regenerated.
14168 * sysdeps/i386/fpu/libm-test-ulps: Update.
14169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14170
14171 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
14172
14173 [BZ #18265]
14174 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14175 (wcsncpy): Likewise.
14176
14177 2015-05-05 Florian Weimer <fweimer@redhat.com>
14178
14179 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14180 Assume __ASSUME_FALLOCATE is always true.
14181 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14182 (__posix_fallocate64_l64): Likweise.
14183 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14184 (posix_fallocate): Likewise.
14185 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14186 (__posix_fallocate64_l64): Likewise.
14187 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14188 [!__ASSUME_FALLOCATE]: Add comment.
14189
14190 2015-05-05 Florian Weimer <fweimer@redhat.com>
14191
14192 * sysdeps/unix/sysv/linux/i386/Makefile
14193 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14194 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14195 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14196 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14197 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14198 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14199 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14200
14201 2015-05-02 Joseph Myers <joseph@codesourcery.com>
14202
14203 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14204 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14205 tgamma.
14206 * math/auto-libm-test-out: Regenerated.
14207 * sysdeps/i386/fpu/libm-test-ulps: Update.
14208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209
14210 2015-05-01 Joseph Myers <joseph@codesourcery.com>
14211
14212 * math/auto-libm-test-in: Add more tests of tgamma.
14213 * math/auto-libm-test-out: Regenerated.
14214 * sysdeps/i386/fpu/libm-test-ulps: Update.
14215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14216
14217 * math/auto-libm-test-in: Add more tests of tanh.
14218 * math/auto-libm-test-out: Regenerated.
14219 * sysdeps/i386/fpu/libm-test-ulps: Update.
14220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14221
14222 * math/auto-libm-test-in: Add more tests of tan.
14223 * math/auto-libm-test-out: Regenerated.
14224 * sysdeps/i386/fpu/libm-test-ulps: Update.
14225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14226
14227 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14228 * math/auto-libm-test-out: Regenerated.
14229 * sysdeps/i386/fpu/libm-test-ulps: Update.
14230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14231
14232 * math/auto-libm-test-in: Add another test of pow.
14233 * math/auto-libm-test-out: Regenerated.
14234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14235
14236 * math/auto-libm-test-in: Add more tests of lgamma.
14237 * math/auto-libm-test-out: Regenerated.
14238 * sysdeps/i386/fpu/libm-test-ulps: Update.
14239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14240
14241 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14242 log1p.
14243 * math/auto-libm-test-out: Regenerated.
14244 * sysdeps/i386/fpu/libm-test-ulps: Update.
14245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14246
14247 2015-05-01 Mark Wielaard <mjw@redhat.com>
14248
14249 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14250 Elf64_Chdr structs and ELFCOMPRESS constants.
14251
14252 2015-05-01 Joseph Myers <joseph@codesourcery.com>
14253
14254 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14255 expm1.
14256 * math/auto-libm-test-out: Regenerated.
14257 * sysdeps/i386/fpu/libm-test-ulps: Update.
14258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14259
14260 * math/auto-libm-test-in: Add more tests of erf and erfc.
14261 * math/auto-libm-test-out: Regenerated.
14262 * sysdeps/i386/fpu/libm-test-ulps: Update.
14263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14264
14265 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
14266
14267 * config.h.in (HAVE_AARCH64_BE): Add.
14268
14269 2015-04-30 Joseph Myers <joseph@codesourcery.com>
14270
14271 * math/auto-libm-test-in: Add more tests of csqrt.
14272 * math/auto-libm-test-out: Regenerated.
14273 * sysdeps/i386/fpu/libm-test-ulps: Update.
14274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14275
14276 * math/auto-libm-test-in: Add more tests of cosh and sinh.
14277 * math/auto-libm-test-out: Regenerated.
14278 * sysdeps/i386/fpu/libm-test-ulps: Update.
14279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14280
14281 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14282
14283 2015-04-29 Roland McGrath <roland@hack.frob.com>
14284
14285 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14286 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14287
14288 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14289 (euidaccess, eaccess): Define as weak aliases.
14290
14291 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14292 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
14293 but __suseconds_t is often 'long int' so some sources assume that
14294 type is being used (e.g. they use %ld to print tv_usec).
14295
14296 2015-04-29 Florian Weimer <fweimer@redhat.com>
14297
14298 [BZ #18007]
14299 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14300 (CVE-2014-8121)
14301 * nss/tst-nss-getpwent.c: New file.
14302 * nss/Makefile (tests): Add new test.
14303
14304 2015-04-28 Joseph Myers <joseph@codesourcery.com>
14305
14306 [BZ #18346]
14307 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14308 exponents less than 48 as cases where high part of mantissa needs
14309 examining to determine whether argument is integral.
14310 * math/libm-test.inc (round_test_data): Add more tests.
14311
14312 2015-04-28 Mark Wielaard <mjw@redhat.com>
14313
14314 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14315
14316 2015-04-27 David S. Miller <davem@davemloft.net>
14317
14318 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14319 __tls_get_addr.
14320 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14321
14322 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 [BZ#18333]
14325 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14326
14327 2015-04-27 Florian Weimer <fweimer@redhat.com>
14328
14329 [BZ#18333]
14330 * time/tzset.c (parse_tzname): Return error on memory allocation
14331 failure.
14332 * test-skeleton.c (struct temp_name_list): Change type of name
14333 member to non-const.
14334 (add_temp_file): Create a copy of the file name.
14335 (delete_temp_files): Deallocate memory.
14336 (create_temp_file): Add comment.
14337
14338 2015-04-24 Florian Weimer <fweimer@redhat.com>
14339
14340 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14341 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14342
14343 2015-04-24 Roland McGrath <roland@hack.frob.com>
14344
14345 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14346 * sysdeps/arm/configure: Regenerated.
14347
14348 2015-04-24 Florian Weimer <fweimer@redhat.com>
14349
14350 [BZ #17715]
14351 * time/tzfile.c (__tzfile_read): Check for large values of
14352 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
14353 * time/tzset.c (__tzstring_len): New function, based on the old
14354 __tzstring function.
14355 (__tzstring): Call __tzstring_len.
14356 (parse_tzname): New helper function extracted from
14357 __tzset_parse_tz. Call __tzstring_len, without making a copy of
14358 the input string.
14359 (parse_offset): New helper function extracted from
14360 __tzset_parse_tz. Replace switch with fallthrough with
14361 initialization before sscanf.
14362 (parse_rule): Likewise.
14363 (__tzset_parse_tz): Rewrite using the new helper functions. Use
14364 new-style function definition.
14365 * timezone/Makefile (tests): Add tst-tzset.
14366 (tst-tzset.out): Dependencies on time zone files.
14367 (tst-tzset-ENV): Set TZDIR.
14368 (testdata/XT%): Copy crafted time zone files.
14369 * timezone/README: Mention crafted time zone files.
14370 * timezone/testdata/XT1, timezone/testdata/XT2,
14371 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14372 files.
14373 * timezone/tst-tzset.c: New test.
14374
14375 2015-04-24 Florian Weimer <fweimer@redhat.com>
14376
14377 * Makeconfig (+gccwarn): Remove -Winline.
14378
14379 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14380
14381 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14382
14383 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14384
14385 * NEWS: Mention sysconf() cache information support for s390.
14386 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14387
14388 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
14389
14390 * math/k_casinh.c (__kernel_casinh): Use __copysign.
14391 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14392 (__nearbyint): Likewise.
14393 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14394 (copysignl): Likewise.
14395
14396 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
14397
14398 [BZ #18287]
14399 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14400 based on padding. (CVE-2015-1781)
14401
14402 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14403
14404 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14405 libc-vdso.h.
14406 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14407 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14408 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14409 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14410 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14411 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14413 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14414 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14415 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14416 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14417 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14418 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14419 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14420 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14421 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14422 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14423 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14424 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14425 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14426 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14427 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14428 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14429
14430 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
14431
14432 * stdlib/setenv.c (__add_to_environ):
14433 Dump core quickly if setenv (..., NULL, ...) is called.
14434 This time, do it the right way, and pacify GCC with a pragma.
14435
14436 2015-04-17 Roland McGrath <roland@hack.frob.com>
14437
14438 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14439 IMAP->l_prev cannot be null, and #if out the code for the contrary
14440 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14441 believe that NS (&_dl_ns[NSID]) could point outside the array.
14442
14443 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14444 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14445 before using NSID as an index.
14446
14447 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
14448
14449 [BZ #17825]
14450 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14451 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14452 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14453
14454 2015-04-17 Roland McGrath <roland@hack.frob.com>
14455
14456 Add preliminary port to Google Native Client on ARM.
14457 * abi-tags (.*-.*-nacl.*): New entry.
14458 * sysdeps/arm/nacl: New directory.
14459 * sysdeps/nacl: New directory.
14460
14461 2015-04-16 David S. Miller <davem@davemloft.net>
14462
14463 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14464 lowlevellock-futex.h
14465
14466 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
14467
14468 * sysdeps/tile/configure.ac: New file.
14469 * sysdeps/tile/configure: Regenerated.
14470
14471 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14472
14473 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
14474 conditionals for weak_alias and libc_hidden_weak.
14475 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14476 libc_hidden_weak and weak_alias.
14477 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14478 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14479 and weak_alias for static one.
14480
14481 2015-04-15 David S. Miller <davem@davemloft.net>
14482
14483 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14484
14485 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14486
14487 [BZ #18206]
14488 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14489 Use signed comparision instead of substraction to avoid
14490 overflow bug.
14491 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14492 Take the sign of ret.
14493 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14494 Do not expect precise return values. Only the sign matters.
14495 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14496 * wcsmbs/test-wcsncmp.c: New File.
14497 * string/test-strncmp.c: Add wcsncmp support.
14498
14499 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14500
14501 [BZ #6792]
14502 * math/w_log1p.c: New file.
14503 * math/w_log1pf.c: Likewise.
14504 * math/w_log1pl.c: Likewise.
14505 * math/Makefile (libm-calls): Add w_log1p.
14506 * math/s_log1pl.c (log1pl): Remove weak_alias.
14507 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14508 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14509 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14510 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14511 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14512 [NO_LONG_DOUBLE] (log1pl): Likewise.
14513 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14514 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14515 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14516 (log1p): Remove long_double_symbol.
14517 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14518 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14519 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14520 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14521 remove weak_alias for corresponding log1p function.
14522 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14523 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14524 * sysdeps/ia64/fpu/w_log1p.c: New file.
14525 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14526 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14527 * math/libm-test.inc (log1p_test_data): Add errno expectations.
14528
14529 2015-04-10 Joseph Myers <joseph@codesourcery.com>
14530
14531 [BZ #18247]
14532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14533 decimal exponent by 1.
14534 * stdlib/tst-strtod-round-data: Add more tests.
14535 * stdlib/tst-strtod-round.c (tests): Regenerated.
14536
14537 2015-04-09 Joseph Myers <joseph@codesourcery.com>
14538
14539 * math/auto-libm-test-in: Add more tests of clog and clog10.
14540 * math/auto-libm-test-out: Regenerated.
14541 * sysdeps/i386/fpu/libm-test-ulps: Update.
14542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14543
14544 2015-04-09 Roland McGrath <roland@hack.frob.com>
14545
14546 * Makeconfig (module-cppflags): Exclude all .v.i files.
14547 (skip-module-cppflags): Variable removed.
14548
14549 * configure.ac (libc_config_ok): Initialize before reading
14550 preconfigure scripts, not after.
14551 * configure: Regenerated.
14552
14553 * test-skeleton.c (TIMEOUT): Move #define to top level.
14554 (main): Grok environment variable TEST_DIRECT. If set, print
14555 test expectation details into that file and then behave as if
14556 given --direct.
14557
14558 2015-04-09 Florian Weimer <fweimer@redhat.com>
14559
14560 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14561 warning on 32-bit.
14562
14563 2015-04-08 David S. Miller <davem@davemloft.net>
14564
14565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14566
14567 2015-04-08 Joseph Myers <joseph@codesourcery.com>
14568
14569 * math/auto-libm-test-in: Add more tests of atanh.
14570 * math/auto-libm-test-out: Regenerated.
14571 * sysdeps/i386/fpu/libm-test-ulps: Update.
14572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14573
14574 * math/auto-libm-test-in: Add more tests of atan.
14575 * math/auto-libm-test-out: Regenerated.
14576 * sysdeps/i386/fpu/libm-test-ulps: Update.
14577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14578
14579 2015-04-08 Florian Weimer <fweimer@redhat.com>
14580
14581 * elf/pldd.c (main): Rewrite to use struct
14582 scratch_buffer instead of extend_alloca.
14583 * elf/pldd-xx.c (find_maps): Likewise.
14584 * grp/initgroups.c: Include <scratch_buffer.h> instead of
14585 <alloca.h>.
14586 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14587 scratch_buffer instead of extend_alloca.
14588 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14589 grp/compat-initgroups.c.
14590 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14591 Rewrite to use struct scratch_buffer instead of extend_alloca.
14592 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14593 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14594
14595 2015-04-08 Joseph Myers <joseph@codesourcery.com>
14596
14597 * math/auto-libm-test-in: Add more tests of cbrt.
14598 * math/auto-libm-test-out: Regenerated.
14599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14600
14601 * math/auto-libm-test-in: Add more tests of cabs.
14602 * math/auto-libm-test-out: Regenerated.
14603 * sysdeps/i386/fpu/libm-test-ulps: Update.
14604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14605
14606 [BZ #18210]
14607 [BZ #18211]
14608 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14609 (__ieee754_atan2): Set FE_TONEAREST mode for internal
14610 computations.
14611 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14612 clog10.
14613 * math/auto-libm-test-out: Regenerated.
14614 * sysdeps/i386/fpu/libm-test-ulps: Update.
14615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14616
14617 [BZ #18197]
14618 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14619 (atan): Set FE_TONEAREST mode for internal computations.
14620 * math/auto-libm-test-in: Add more tests of atan.
14621 * math/auto-libm-test-out: Regenerated.
14622
14623 2015-04-07 James Cowgill <james410@cowgill.org.uk>
14624
14625 [BZ #17930]
14626 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14627
14628 2015-04-07 Florian Weimer <fweimer@redhat.com>
14629
14630 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14631
14632 2015-04-07 Florian Weimer <fweimer@redhat.com>
14633
14634 * include/scratch_buffer.h: New file.
14635 * malloc/scratch_buffer_grow.c: Likewise.
14636 * malloc/scratch_buffer_grow_preserve.c: Likewise.
14637 * malloc/scratch_buffer_set_array_size.c: Likewise.
14638 * malloc/tst-scratch_buffer.c: Likewise.
14639 * malloc/Makefile (routines): Add scratch_buffer_grow.
14640 (tests): Add test case.
14641 * malloc/Versions (GLIBC_PRIVATE): Export
14642 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14643 __libc_scratch_buffer_set_array_size.
14644
14645 2015-04-06 Richard Henderson <rth@redhat.com>
14646
14647 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14648 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14649
14650 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14651 unsigned int before printing.
14652
14653 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14654
14655 [BZ #17596]
14656 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14657 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14658
14659 2015-04-02 Florian Weimer <fweimer@redhat.com>
14660
14661 * include/libc-internal.h (libc_max_align_t): Define.
14662
14663 2015-04-02 Andreas Schwab <schwab@suse.de>
14664
14665 [BZ #16850]
14666 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14667
14668 2015-04-02 Mel Gorman <mgorman@suse.de>
14669
14670 [BZ #17195]
14671 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14672 as well as the main arena.
14673
14674 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
14675
14676 [BZ #18185]
14677 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14678 sharing L2 cache to 2 for Silvermont/Knights Landing.
14679
14680 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 [BZ #17711]
14683 * config.make.in (have-protected-data): New.
14684 * configure.ac: Check linker support for protected data symbol.
14685 * configure: Regenerated.
14686 * elf/Makefile (modules-names): Add tst-protected1moda and
14687 tst-protected1modb if $(have-protected-data) is yes.
14688 (tests): Add tst-protected1a and tst-protected1b if
14689 $(have-protected-data) is yes.
14690 ($(objpfx)tst-protected1a): New.
14691 ($(objpfx)tst-protected1b): Likewise.
14692 (tst-protected1modb.so-no-z-defs): Likewise.
14693 * elf/tst-protected1a.c: New file.
14694 * elf/tst-protected1b.c: Likewise.
14695 * elf/tst-protected1mod.h: Likewise.
14696 * elf/tst-protected1moda.c: Likewise.
14697 * elf/tst-protected1modb.c: Likewise.
14698
14699 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
14700
14701 [BZ #17711]
14702 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14703 indicates it is called from do_lookup_x on relocation against
14704 protected data, skip the data definion in the executable from
14705 copy reloc.
14706 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14707 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14708 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14709 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14710 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14711 otherwise to 0.
14712 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14713 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14714 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14715 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14716 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14717 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14718
14719 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
14720
14721 * sysdeps/nptl/pthread.h: Remove duplicate definition of
14722 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14723
14724 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
14725
14726 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14727 THREAD_SETMEM_NC.
14728 * sysdeps/x86_64/nptl/tls.h: Ditto.
14729
14730 2015-03-27 Roland McGrath <roland@hack.frob.com>
14731
14732 * dlfcn/tststatic.c (main): Converted to ...
14733 (do_test): ... this.
14734 (TEST_FUNCTION): New macro.
14735 Include test-skeleton.c.
14736
14737 2015-03-26 Alan Modra <amodra@gmail.com>
14738
14739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14740 Don't segfault if ifunc resolver returns a NULL. Do set plt to
14741 zero for undefined weak.
14742 (elf_machine_plt_conflict): Similarly.
14743
14744 2015-03-25 Joseph Myers <joseph@codesourcery.com>
14745
14746 * math/auto-libm-test-in: Add more tests of acosh, asinh and
14747 atanh.
14748 * math/auto-libm-test-out: Regenerated.
14749 * sysdeps/i386/fpu/libm-test-ulps: Update.
14750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14751
14752 * math/auto-libm-test-in: Add another test of asin.
14753 * math/auto-libm-test-out: Regenerated.
14754 * sysdeps/i386/fpu/libm-test-ulps: Update.
14755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14756
14757 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14758 Remove macro.
14759 (LLL_EBX_REG): Likewise.
14760 (LLL_ENTER_KERNEL): Likewise.
14761
14762 * math/auto-libm-test-in: Add more tests of asin.
14763 * math/auto-libm-test-out: Regenerated.
14764 * sysdeps/i386/fpu/libm-test-ulps: Update.
14765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14766
14767 [BZ #18138]
14768 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14769 libc_do_syscall_args): New structure.
14770 (INTERNAL_SYSCALL_MAIN_0): New macro.
14771 (INTERNAL_SYSCALL_MAIN_1): Likewise.
14772 (INTERNAL_SYSCALL_MAIN_2): Likewise.
14773 (INTERNAL_SYSCALL_MAIN_3): Likewise.
14774 (INTERNAL_SYSCALL_MAIN_4): Likewise.
14775 (INTERNAL_SYSCALL_MAIN_5): Likewise.
14776 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
14777 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14778 Replace conditional definitions by conditional definitions of ....
14779 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
14780 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14781 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14782 (libpthread-sysdep_routines): Add libc-do-syscall.
14783 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14784 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14785 to __NR_futex not 240.
14786
14787 2015-03-25 Alan Modra <amodra@gmail.com>
14788
14789 * NEWS: Advertise TLS optimization.
14790 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14791 (DT_PPC_NUM): Increment.
14792 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14793 (CHECK_STATIC_TLS): Use here.
14794 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14795 TLS descriptors.
14796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14797 * sysdeps/powerpc/dl-tls.c: New file.
14798 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14799 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14800 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14801 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14805
14806 2015-03-25 Alan Modra <amodra@gmail.com>
14807
14808 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14809 for overlapping .opd entries" to "support...".
14810 * sysdeps/powerpc/powerpc64/configure: Regenerate
14811
14812 2015-03-25 Joseph Myers <joseph@codesourcery.com>
14813
14814 * math/auto-libm-test-in: Add more tests of acos.
14815 * math/auto-libm-test-out: Regenerated.
14816 * sysdeps/i386/fpu/libm-test-ulps: Update.
14817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14818
14819 * math/auto-libm-test-in: Add more tests of expm1.
14820 * math/auto-libm-test-out: Regenerated.
14821 * sysdeps/i386/fpu/libm-test-ulps: Update.
14822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14823
14824 2015-03-24 Joseph Myers <joseph@codesourcery.com>
14825
14826 * math/auto-libm-test-in: Add more tests of cosh and sinh.
14827 * math/auto-libm-test-out: Regenerated.
14828 * sysdeps/i386/fpu/libm-test-ulps: Update.
14829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14830
14831 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14833
14834 * math/auto-libm-test-in: Add more tests of log2.
14835 * math/auto-libm-test-out: Regenerated.
14836 * sysdeps/i386/fpu/libm-test-ulps: Update.
14837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14838
14839 2015-03-23 Roland McGrath <roland@hack.frob.com>
14840
14841 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14842 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
14843 _IO_IS_APPENDING bit in READ_WRITE instead.
14844
14845 2015-03-23 Florian Weimer <fweimer@redhat.com>
14846
14847 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14848 (__determine_cpumask_size): Replace extend_alloca with a
14849 variable-length array. Do not treat res == 0 as an error.
14850
14851 2015-03-23 Florian Weimer <fweimer@redhat.com>
14852
14853 [BZ #18100]
14854 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14855 and integer overflow.
14856 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14857 (main): Add integer overflow tests.
14858 * manual/pattern.texi (Calling Wordexp): Document additional use
14859 for WRDE_SYNTAX.
14860
14861 2015-03-23 Alan Modra <amodra@gmail.com>
14862
14863 * config.h.in: Remove HAVE_ASM_PPC_REL16.
14864 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14865 and false branch of conditional.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14867 Likewise.
14868
14869 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
14870
14871 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14872 libc-modules.h
14873 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14874 unused declaration of _hurd_intr_rpc_msg_in_trap.
14875 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14876 defined instead of whether it is non-zero.
14877 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14878 input constraint instead of both input and output constraint. Use ecx
14879 clobber instead of %ecx.
14880 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14881 mutex_unlock): Use a statement expression instead of an expression list.
14882 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14883 type to vm_size_t instead of vm_address_t.
14884 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14885 defined instead of whether it is non-zero.
14886 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14887 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14888 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14889 comparisons with mapaddr.
14890 * nscd/nscd-client.h: Include <time.h>.
14891 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14892 9th parameter to __vm_region instead of int.
14893 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14894 * scripts/check-local-headers.sh (exclude): Add device/,
14895 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14896 cthreads.h.
14897
14898 2015-03-19 Roland McGrath <roland@hack.frob.com>
14899
14900 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14901 to account for alignment padding.
14902 * sysdeps/arm/memmove.S: Likewise.
14903
14904 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
14905
14906 * sysdeps/unix/sysv/linux/generic/README: New file.
14907
14908 2015-03-18 Joseph Myers <joseph@codesourcery.com>
14909
14910 [BZ #18138]
14911 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14912 (futex_abstimed_wait)
14913 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14914 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14915 of lll_futex_timed_wait.
14916
14917 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
14918
14919 [BZ #17542]
14920 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14921
14922 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
14923
14924 [BZ #17090]
14925 [BZ #17620]
14926 [BZ #17621]
14927 [BZ #17628]
14928 * NEWS: Update.
14929 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14930 entries with Static TLS too. Skip entries past the end of the
14931 allocated DTV, from Alan Modra.
14932 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
14933 Static TLS DTV entry set up from...
14934 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14935 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14936 * nptl/allocatestack.c (init_one_static_tls): ... and here...
14937 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14938 for Static TLS.
14939 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
14940 that the slot we find is associated with the given map before
14941 using its generation count.
14942 * nptl_db/db_info.c: Include ldsodefs.h.
14943 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14944 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14945 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14946 (link_map::l_tls_offset): New struct field.
14947 (dtv_t::counter): Likewise.
14948 (rtld_global): New struct.
14949 (_rtld_global): New rtld variable.
14950 (dl_tls_dtv_slotinfo_list): New rtld global field.
14951 (dtv_slotinfo_list): New struct.
14952 (dtv_slotinfo): Likewise.
14953 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14954 (td_lookup): Rename to...
14955 (td_mod_lookup): ... this. Use new mod parameter instead of
14956 LIBPTHREAD_SO.
14957 * nptl_db/td_thr_tlsbase.c: Include link.h.
14958 (dtv_slotinfo_list, dtv_slotinfo): New functions.
14959 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
14960 addresses even if the DTV is out of date or missing them.
14961 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14962 index zero-length arrays.
14963 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14964 (td_lookup): Make it a macro implemented in terms of...
14965 (td_mod_lookup): ... this declaration.
14966 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14967 (DB_MAIN_VARIABLE): Likewise.
14968
14969 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
14970
14971 [BZ #18134]
14972 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14973
14974 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
14975
14976 * stdlib/setenv.c (__add_to_environ): Revert previous change.
14977
14978 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
14979
14980 [BZ #18128]
14981 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14982 (atomic_add, atomic_increment_and_test)
14983 (atomic_decrement_and_test): Fix 64-bit arithmetic.
14984
14985 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
14986
14987 * stdlib/setenv.c (__add_to_environ):
14988 Dump core quickly if setenv (..., NULL, ...) is called.
14989
14990 2015-03-13 Roland McGrath <roland@hack.frob.com>
14991
14992 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14993 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14994 all the necessary asm magic in one place.
14995 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14996 using those.
14997
14998 2015-03-13 Carlos O'Donell <carlos@redhat.com>
14999
15000 [BZ #14906]
15001 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15002 traced file mtime. Use consistent log message.
15003 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15004 (register_traced_file): Call install_watches. Always set mtime.
15005 (invalidate_cache): Iterate over all trace files. Call install_watches.
15006 (inotify_check_files): Don't inline. Handle watching parent
15007 directories and configuration file movement in and out.
15008 (handle_inotify_events): New function.
15009 (main_loop_poll): Call handle_inotify_events.
15010 (main_loop_epoll): Likewise.
15011 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15012 (struct traced_file): Use array of inotify fds. Add parent directory,
15013 and basename.
15014 (struct database_dyn): Remove unused file_mtime.
15015 (init_traced_file): New inline function.
15016 (define_traced_file): New macro.
15017 * nss/nss_db/db-init.c: Use define_traced_file.
15018 (_nss_db_init): Use init_traced_file.
15019 * nss/nss_files/files-init.c: Use define_traced_file.
15020 (_nss_files_init): Use init_traced_file.
15021
15022 2015-03-12 Joseph Myers <joseph@codesourcery.com>
15023
15024 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15025 [_LIBC]: Do not include <stdlib.h>.
15026 [!_LIBC] (abort): Remove declaration.
15027 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15028 _FP_STATIC_ASSERT instead of conditionally calling abort.
15029 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15030 (_FP_EXTEND_CNAN): Likewise.
15031 (FP_TRUNC): Likewise.
15032 (__FP_CLZ): Likewise.
15033 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15034
15035 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
15036
15037 * manual/string.texi (XPG basename): Fix prototype.
15038
15039 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15040
15041 [BZ #18080]
15042 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15043 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15044 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15045 (__setcontext): Likewise.
15046 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15047 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15048 Call rt_sigprocmask syscall one time to set new signal mask
15049 and retrieve the current signal mask instead of two calls.
15050 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15051 (__swapcontext): Likewise.
15052 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15053 * stdlib/tst-setcontext2.c: New file.
15054
15055 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15056
15057 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15058
15059 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
15060
15061 [BZ #18093]
15062 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15063 the wrong size.
15064
15065 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15066
15067 [BZ #18043]
15068 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15069
15070 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15071
15072 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15073 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15074 Remove define.
15075 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15076 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15077 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15078 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15079 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15080 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15081 define.
15082 * nptl_db/td_symbol_list.c (td_lookup): Remove
15083 HAVE_ASM_GLOBAL_DOT_NAME code.
15084 * sysdeps/powerpc/powerpc64/configure.ac: Remove
15085 HAVE_ASM_GLOBAL_DOT_NAME check.
15086 * sysdeps/powerpc/powerpc64/configure: Regenerate.
15087 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15088 (DOT_LABEL): Remove define.
15089 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15090 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15091 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15092 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15093 (__TLS_GET_ADDR): Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15095 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15096
15097 2015-03-11 Carlos O'Donell <carlos@redhat.com>
15098
15099 [BZ #18111]
15100 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15101 (_FPU_SETCW): Initialize cw from fpsr before storing.
15102 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15103 (fesetexceptflag): Rewrite using fpu_control.h.
15104 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15105
15106 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
15107
15108 [BZ #18110]
15109 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15110 asms.
15111 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15112
15113 2015-03-11 Joseph Myers <joseph@codesourcery.com>
15114
15115 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15116 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15117 abort.
15118 (_FP_FMA): Likewise.
15119 (_FP_DIV): Likewise.
15120
15121 2015-03-10 Roland McGrath <roland@hack.frob.com>
15122
15123 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15124 with 0 in that case.
15125 * Makefile (summarize-tests): New canned sequence, factored out of
15126 commands for targets tests and xtests. Display summary lines that
15127 don't start with PASS: or XFAIL: rather than ones that do start with
15128 ERROR: or FAIL:. Make the commands fail if any summary lines fail
15129 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15130 do start with ERROR: or FAIL:.
15131 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15132 (except for [$(build-shared) = yes]).
15133 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15134 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15135 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15136 * nptl/Makefile: Revert 2015-03-04 changes.
15137 [$(CXX) empty] (tests-unsupported): New variable.
15138 * debug/Makefile: Likewise.
15139
15140 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15141 gnulib file. Replace __attribute with __attribute__ throughout.
15142
15143 2015-03-10 Carlos O'Donell <carlos@redhat.com>
15144
15145 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15146
15147 2015-03-10 Joseph Myers <joseph@codesourcery.com>
15148
15149 [BZ #18104]
15150 * math/auto-libm-test-in: Add another test of pow.
15151 * math/auto-libm-test-out: Regenerated.
15152
15153 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15154
15155 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15156 $(config-cflags-nofma).
15157
15158 2015-03-10 Joseph Myers <joseph@codesourcery.com>
15159
15160 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15161 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15162 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15163 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15164 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15165 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15166 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15167 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15168 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15169 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15170 Add comment on closing #endif.
15171
15172 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15173
15174 * posix/wordexp.c (CHAR_IN_SET): New macro.
15175 (parse_param): Use it.
15176
15177 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15178
15179 * sysdeps/powerpc/fpu/libm-test-ulps: update.
15180
15181 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15182
15183 [BZ #18043]
15184 * posix/wordexp.c (parse_param): Fix buffer overflow.
15185 * posix/wordexp-test.c (test_case): Add test case.
15186
15187 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15188
15189 [BZ #18042]
15190 * posix/wordexp.c (parse_backtick): Fix off-by-one.
15191 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15192
15193 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15194
15195 [BZ #18043]
15196 * posix/wordexp-test.c (test_case): Add test for BZ #18043
15197 (do_bz18043): Delete.
15198 (at_page_end): New.
15199 (testit): Refactor to have words at the edge of unreadable page.
15200
15201 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15202
15203 [BZ #16734]
15204 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15205 Cleanup read-only streams as well.
15206 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15207
15208 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
15209
15210 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15211 <bits/libc-lockP.h>
15212
15213 2015-03-07 Joseph Myers <joseph@codesourcery.com>
15214
15215 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
15216 on [__KERNEL__].
15217 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15218 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15219 * soft-fp/op-common.h (_FP_DECL): Likewise.
15220
15221 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
15222
15223 * elf/ifuncdep2.c (global): Replace
15224 __attribute__((visibility("protected"))) with
15225 asm (".protected global").
15226 * elf/ifuncmod1.c (global): Likewise.
15227 * elf/ifuncmod5.c (global): Likewise.
15228
15229 2015-03-06 Joseph Myers <joseph@codesourcery.com>
15230
15231 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15232 <asm/sfp-machine.h> instead of <sfp-machine.h>.
15233
15234 2015-03-06 Roland McGrath <roland@hack.frob.com>
15235
15236 * manual/install.texi (Configuring and compiling):
15237 Document test-wrapper-env-only.
15238 * INSTALL: Regenerated.
15239
15240 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15241
15242 [BZ #18043]
15243 * posix/wordexp.c (parse_param): Fix buffer overflow.
15244 * posix/wordexp-test.c (do_bz18043): Add test case.
15245
15246 2015-03-06 Vincent Bernat <vincent@bernat.im>
15247
15248 * time/tst-strptime2.c (do_test): Ensure failing tests are
15249 reported correctly.
15250 * time/tst-strptime3.c (do_test): Likewise.
15251
15252 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
15253
15254 Fix aio_error thread-safety.
15255 * sysdeps/pthread/aio_error.c: New file
15256 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15257 synchronization.
15258
15259 2015-03-06 Florian Weimer <fweimer@redhat.com>
15260
15261 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15262 (group_number, vfprintf): Use it.
15263 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15264 (JUMP, REF): Use it.
15265 (WORK_BUFFER_SIZE): New enum constant.
15266 (process_arg, vfprintf): Use it.
15267
15268 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
15269
15270 * manual/errno.texi (Error Messages): Complete example function
15271 by adding missing #define.
15272 (program_invocation_name): Add statement indicating GNU
15273 extension and reference which header file declares the variable.
15274 (program_invocation_short_name): Likewise.
15275
15276 2015-03-06 Mike Frysinger <vapier@gentoo.org>
15277
15278 * manual/errno.texi (Error Messages): Delete strerror ISO C89
15279 compatibility note.
15280
15281 2015-03-05 Roland McGrath <roland@hack.frob.com>
15282
15283 * Makeconfig (test-wrapper-env-only): New variable.
15284 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15285 then use that with $(test-wrapper-env-only) rather than using
15286 $(test-wrapper-env) $(run-program-env) $($*-ENV).
15287
15288 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
15289
15290 [BZ #18082]
15291 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15292 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15293 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15294 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15295 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15296 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15297 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15298 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15299 Likewise.
15300 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15301 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15302 Likewise.
15303 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15304 Likewise.
15305 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15306 Likewise.
15307 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15308 Likewise.
15309 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15311 Likewise.
15312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15313 Likewise.
15314 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15315 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15316
15317 2015-03-04 Roland McGrath <roland@hack.frob.com>
15318
15319 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15320 (ETH_ALEN): New macro.
15321 (struct ether_addr): Use it for length of ether_addr_octet.
15322
15323 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15324 (setdb): Don't call __nss_configure_lookup for "rpc".
15325 (do_test): Don't call test_rpc.
15326 (output_rpcent, test_rpc): Functions moved ...
15327 * sunrpc/test-rpcent.c: ... to this new file.
15328 * sunrpc/Makefile (tests): Add it.
15329
15330 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15331 __xpg_sigpause.
15332 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15333 * nptl/tst-signal6.c: Likewise.
15334 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15335 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15336
15337 * configure.ac (libc_cv_cxx_link_ok): New check.
15338 Reset CXX to empty if it fails to link.
15339 * configure: Regenerated.
15340 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15341 bug-atexit3-lib only if $(CXX) is nonempty.
15342 * nptl/Makefile (tests): Likewise for tst-cancel24.
15343 (tests, tests-static): Likewise for tst-cancel24-static.
15344 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15345 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15346 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15347 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15348
15349 2015-03-04 Andreas Schwab <schwab@suse.de>
15350
15351 [BZ #17631]
15352 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15353 for non-GCC compilers.
15354 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15355 Likewise.
15356
15357 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15358
15359 [BZ #17776]
15360 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15361 integer before bitwise and assembly operations.
15362 (feclearexcept): Likewise.
15363 * math/test-fenvinline.c: New file.
15364 * math/Makefile: Add test-fenvinline test.
15365
15366 2015-03-03 Alan Modra <amodra@gmail.com>
15367
15368 [BZ #16512]
15369 * scripts/localplt.awk: Strip off symbol version.
15370 * NEWS: Mention bug fix.
15371
15372 2015-03-02 Roland McGrath <roland@hack.frob.com>
15373
15374 * sysdeps/pthread/timer_routines.c
15375 (timer_free_list, thread_free_list, thread_active_list): Make static.
15376
15377 2015-03-02 Joseph Myers <joseph@codesourcery.com>
15378
15379 [BZ #17779]
15380 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15381 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15382 Undefine.
15383 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15384 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15385 Likewise.
15386 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15387 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15388 Likewise.
15389
15390 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15391
15392 [BZ #18036]
15393 * posix/fnmatch_loop.c (END): Detect invalid pattern.
15394 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15395
15396 2015-03-02 Andreas Schwab <schwab@suse.de>
15397
15398 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15399 variable name.
15400
15401 2015-03-02 Florian Weimer <fweimer@redhat.com>
15402
15403 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15404 Return error status.
15405
15406 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
15407
15408 [BZ #15969]
15409 * locale/findlocale.c (_nl_find_locale): Introduce const
15410 version of loc_name and drop unsafe type casts.
15411
15412 2015-02-27 Roland McGrath <roland@hack.frob.com>
15413
15414 * dlfcn/tststatic2.c (main): Converted to ...
15415 (do_test): ... this.
15416 (TEST_FUNCTION): New macro.
15417 Include test-skeleton.c.
15418
15419 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
15420
15421 [BZ #17711]
15422 * elf/Makefile (tests): Add vismain only if PIE is enabled.
15423 (tests-pie): Add vismain.
15424 (CFLAGS-vismain.c): New.
15425 * elf/vismain.c: Add comments for PIE requirement.
15426
15427 2015-02-27 Joseph Myers <joseph@codesourcery.com>
15428
15429 [BZ #18046]
15430 [BZ #18047]
15431 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15432 0x1p-56L as threshold for just returning the argument.
15433 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15434 0x1p-32L as threshold for just returning the argument.
15435 * math/auto-libm-test-in: Add more tests of atanh.
15436 * math/auto-libm-test-out: Regenerated.
15437 * sysdeps/i386/fpu/libm-test-ulps: Update.
15438 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15439
15440 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
15441
15442 * string/bcopy.c (bcopy): Call memmove for performance.
15443
15444 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
15445
15446 * string/bzero.c (__bzero): Call memset for performance.
15447
15448 2015-02-27 John David Anglin <dave.anglin@bell.net>
15449
15450 [BZ #18068]
15451 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15452 to 00100000.
15453
15454 2015-02-27 Joseph Myers <joseph@codesourcery.com>
15455
15456 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15457
15458 2015-02-26 Joseph Myers <joseph@codesourcery.com>
15459
15460 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15461 (__kernel_standard): Use CSTR macro when setting exc.name.
15462 * sysdeps/ieee754/Makefile [$(subdir) = math]
15463 (CFLAGS-k_standard.c): Remove variable.
15464
15465 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15466 setting p and q from "else if" to "else".
15467 (qzero): Likewise.
15468 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15469 (qone): Likewise.
15470 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15471 (qzerof): Likewise.
15472 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15473 (qonef): Likewise.
15474 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15475 (qzero): Likewise.
15476 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15477 (qone): Likewise.
15478
15479 [BZ #18038]
15480 [BZ #18039]
15481 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15482 return pi/2 for arguments below 0x1p-113L.
15483 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15484 return pi/2 for arguments below 0x1p-106L.
15485 * math/auto-libm-test-in: Add more tests of acos.
15486 * math/auto-libm-test-out: Regenerated.
15487
15488 [BZ #16351]
15489 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15490 (MO): New macro.
15491 (__ieee754_asin): Force underflow exception for results with small
15492 absolute value.
15493 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15494 (MO): New macro.
15495 (__ieee754_asinf): Force underflow exception for results with
15496 small absolute value.
15497 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15498 (__ieee754_asin): Force underflow exception for results with small
15499 absolute value.
15500 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15501 (__ieee754_asinf): Force underflow exception for results with
15502 small absolute value.
15503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15504 (__ieee754_asinl): Force underflow exception for results with
15505 small absolute value.
15506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15507 (__ieee754_asinl): Force underflow exception for results with
15508 small absolute value.
15509 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15510 (__ieee754_asinl): Force underflow exception for results with
15511 small absolute value.
15512 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15513 Include <math.h>.
15514 * math/auto-libm-test-in: Do not mark underflow exceptions as
15515 possibly missing for bug 16351.
15516 * math/auto-libm-test-out: Regenerated.
15517
15518 [BZ #18030]
15519 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15520 of power of 2 down when low part has opposite sign.
15521 * math/libm-test.inc (logb_test_data): Add more tests.
15522
15523 2015-02-26 Andreas Schwab <schwab@suse.de>
15524
15525 [BZ #18032]
15526 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15527 over collating symbol inside a bracket expression. Minor cleanup.
15528 * posix/tst-fnmatch3.c (do_test): Add test case.
15529
15530 2015-02-26 Joseph Myers <joseph@codesourcery.com>
15531
15532 [BZ #18029]
15533 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15534 Adjust exponent of power of 2 down when low part has opposite
15535 sign.
15536 * math/libm-test.inc (ilogb_test_data): Add more tests.
15537
15538 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
15539
15540 [BZ #15969]
15541 * locale/findlocale.c (_nl_find_locale): Fix constness error in
15542 the previous change.
15543
15544 [BZ #15969]
15545 * locale/findlocale.c (_nl_find_locale): Retry archive search
15546 after alias expansion.
15547
15548 2015-02-25 Roland McGrath <roland@hack.frob.com>
15549
15550 * iconv/tst-iconv3.c (main): Converted to ...
15551 (do_test): ... this.
15552 (TEST_FUNCTION): New macro.
15553 Include test-skeleton.c.
15554
15555 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15556 (convert): Make function static.
15557 (test_unalign): Likewise. Add const to argument pointee types.
15558 (main): Replace with static function do_test.
15559 Print "Succeeded." only if RET is zero.
15560 (TEST_FUNCTION): New macro.
15561 Include test-skeleton.c.
15562
15563 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15564 returns a null pointer.
15565
15566 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15567
15568 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15569 to __memcpy_ppc only for static builds.
15570
15571 2015-02-25 Joseph Myers <joseph@codesourcery.com>
15572
15573 [BZ #18020]
15574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15575 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15576 * math/auto-libm-test-in: Add more tests of asinh.
15577 * math/auto-libm-test-out: Regenerated.
15578 * sysdeps/i386/fpu/libm-test-ulps: Update.
15579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15580
15581 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
15582
15583 [BZ #15850]
15584 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15585 and ip6_mtuinfo definitions here.
15586 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15587 in this define too. Update comment.
15588
15589 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
15590
15591 * elf/sprof.c (load_shobj): Tweak error message to match others.
15592
15593 2015-02-24 Kevin Easton <kevin@guarana.org>
15594
15595 [BZ #16145] (partial fix)
15596 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15597 to reduce lock contention.
15598
15599 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
15600
15601 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15602 (struct timex): Update time comment.
15603 (ADJ_SETOFFSET): Define.
15604
15605 2015-02-24 Joseph Myers <joseph@codesourcery.com>
15606
15607 [BZ #18019]
15608 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15609 2**56 not 2**28 as threshold for log (2x) formula.
15610 * math/auto-libm-test-in: Add more tests of acosh.
15611 * math/auto-libm-test-out: Regenerated.
15612 * sysdeps/i386/fpu/libm-test-ulps: Update.
15613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15614
15615 2015-02-24 Mike Frysinger <vapier@gentoo.org>
15616
15617 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15618 parenthesis around the buf assignment.
15619 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15620
15621 2015-02-24 Joseph Myers <joseph@codesourcery.com>
15622
15623 [BZ #16783]
15624 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15625 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15626 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15627 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15628 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15629 * math/libm-test.inc (scalb_test_data): Add more tests.
15630
15631 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15632
15633 [BZ #17916]
15634 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15635 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15636
15637 2015-02-24 Eric Rannaud <e@nanocritical.com>
15638
15639 [BZ #17523]
15640 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15641 * io/bits/fcntl2.h (open): Use it.
15642 (openat): Likewise.
15643 * io/open.c (__libc_open): Likewise.
15644 * io/open64.c (__libc_open64): Likewise.
15645 * io/open64_2.c (__open64_2): Likewise.
15646 * io/open_2.c (__open_2): Likewise.
15647 * io/openat.c (__openat): Likewise.
15648 * io/openat64.c (__openat64): Likewise.
15649 * io/openat64_2.c (__openat64_2): Likewise.
15650 * io/openat_2.c (__openat_2): Likewise.
15651 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15652 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15653 * sysdeps/posix/open64.c (__libc_open64): Likewise.
15654 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15655 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15656 (__open_nocancel): Likewise.
15657 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15658 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15659 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15660
15661 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15662
15663 [BZ #14841]
15664 * resolv/gethnamaddr.c (getanswer): Skip logging if
15665 RES_USE_DNSSEC is set.
15666 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15667
15668 2015-02-24 Mike Frysinger <vapier@gentoo.org>
15669
15670 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15671
15672 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
15673
15674 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15675 201304L, for Unicode 7.
15676
15677 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
15678
15679 [BZ #17836]
15680 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15681 shared library. Add gmon-start.os otherwise.
15682 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15683 $(objpfx)gmon-start.os if builing shared library.
15684 ($(objpfx)g$(static-start-installed-name)): Likewise.
15685
15686 2015-02-23 Andreas Schwab <schwab@suse.de>
15687
15688 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15689
15690 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15691
15692 [BZ #17269]
15693 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15694 (enlarge_userbuf): Likewise.
15695
15696 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
15697
15698 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15699 * math/atest-exp.c (TIMEOUT): Adjust to 200.
15700 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15701 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15702
15703 2015-02-20 Joseph Myers <joseph@codesourcery.com>
15704
15705 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15706 expression inside statement expression.
15707
15708 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15709
15710 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15711 <sysdeps/nptl/lowlevellock.h> and remove macros and
15712 functions that are now defined there.
15713 (SYS_futex): Remove.
15714 (lll_compare_and_swap): Remove.
15715 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15716
15717 2015-02-19 Joseph Myers <joseph@codesourcery.com>
15718
15719 [BZ #17999]
15720 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15721 instead of scandirat.
15722 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15723 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15724 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15725 __scandirat.
15726 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15727 (__scandirat): Declare. Use libc_hidden_proto.
15728 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15729 Remove variable.
15730 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15731
15732 2015-02-18 Joseph Myers <joseph@codesourcery.com>
15733
15734 [BZ #15319]
15735 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15736 (MO): New macro.
15737 (__ieee754_atan2): For results with small absolute value, force
15738 underflow exception and remove excess range and precision from
15739 return value.
15740 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15741 (MO): New macro.
15742 (__ieee754_atan2f): For results with small absolute value, force
15743 underflow exception and remove excess range and precision from
15744 return value.
15745 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15746 (MO): New macro.
15747 (__atan): For results with small absolute value, force underflow
15748 exception and remove excess range and precision from return value.
15749 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15750 (MO): New macro.
15751 (__atanf): For results with small absolute value, force underflow
15752 exception and remove excess range and precision from return value.
15753 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15754 <math.h>.
15755 (__ieee754_atan2): Force underflow exception for results with
15756 small absolute value.
15757 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15758 <math_private.h>.
15759 (atan): Force underflow exception for results with small absolute
15760 value.
15761 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15762 (__atanf): Force underflow exception for results with small
15763 absolute value.
15764 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15765 <math.h>.
15766 (__atanl): Force underflow exception for results with small
15767 absolute value.
15768 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15769 (__atanl): Force underflow exception for results with small
15770 absolute value.
15771 * sysdeps/x86/fpu/bits/mathinline.h
15772 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15773 (__ieee754_atan2): Only define inline for long double.
15774 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15775 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15776 * math/auto-libm-test-in: Do not mark underflow exceptions as
15777 possibly missing for bug 15319. Add more tests of atan2.
15778 * math/auto-libm-test-out: Regenerated.
15779 * math/libm-test.inc (casin_test_data): Do not mark underflow
15780 exceptions as possibly missing for bug 15319.
15781 (casinh_test_data): Likewise.
15782 * sysdeps/i386/fpu/libm-test-ulps: Update.
15783
15784 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
15785
15786 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15787 * sysdeps/mips/bits/endian.h: Fix comments.
15788
15789 2015-02-18 Joseph Myers <joseph@codesourcery.com>
15790
15791 [BZ #17996]
15792 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15793 (hdestroy_r): Likewise.
15794 (hsearch_r): Likewise.
15795 (__hcreate_r): Declare and use libc_hidden_proto.
15796 (__hdestroy_r): Likewise.
15797 (__hsearch_r): Likewise.
15798 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15799 (hcreate): Call __hcreate_r instead of hcreate_r.
15800 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15801 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15802 as weak alias of __hcreate_r.
15803 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15804 __hdestroy_r.
15805 (hsearch_r): Rename to __hsearch_r and define as weak alias of
15806 __hsearch_r.
15807 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15808 Remove variable.
15809 (test-xfail-XPG4/search.h/linknamespace): Likewise.
15810 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15811 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15812 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15813
15814 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15815
15816 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15817 arena_lock into a single arena_get.
15818
15819 2015-02-17 Carlos O'Donell <carlos@redhat.com>
15820
15821 * dl-reloc.c: Inlucde libc-internal.h.
15822 (_dl_try_allocate_static_tls): Call ALIGN_UP.
15823 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15824 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15825 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15826 (grow_heap): Likewise.
15827 * malloc/malloc.c: Include libc-internal.h.
15828 (do_check_malloc): Call powerof2.
15829 (sysmalloc): Use pagesize. Call ALIGN_UP.
15830 (systrim): Use pagesize.
15831 (mremap_chunk): Use pagesize. Call ALIGN_UP.
15832 (__libc_valloc): Use pagesize.
15833 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15834
15835 2015-02-17 Joseph Myers <joseph@codesourcery.com>
15836
15837 [BZ #17991]
15838 * include/sys/resource.h (__getrlimit64): Declare. Use
15839 libc_hidden_proto.
15840 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15841 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
15842 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15843 getrlimit64.
15844 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15845 __getrlimit64.
15846 [!getrlimit64] (getrlimit64): Define as weak alias of
15847 __getrlimit64. Use libc_hidden_weak.
15848 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15849 using __getrlimit64 not __new_getrlimit64.
15850 (__GI_getrlimit64): Likewise.
15851 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15852 Likewise.
15853 (__GI_getrlimit64): Likewise.
15854 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15856 (getrlimit): Add __getrlimit64 alias.
15857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15858 Likewise.
15859 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15860 Remove variable.
15861 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15862 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15863
15864 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15865
15866 * libio/fileops.c: Add missing sys/mman.h
15867 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15868
15869 2015-02-17 Joseph Myers <joseph@codesourcery.com>
15870
15871 * manual/math.texi (Errors in Math Functions): Clarify goals
15872 regarding inexact and underflow exceptions.
15873
15874 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
15875
15876 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15877 * sysdeps/mips/memset.S: Ditto.
15878
15879 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
15880
15881 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15882
15883 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15884
15885 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15886 (__v1longjmp): Remove versioned symbol.
15887 (__v1siglongjmp): Remove alias and versioned symbol.
15888 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15889 (__v2siglongjmp): Likewise.
15890
15891 2015-02-16 Torvald Riegel <triegel@redhat.com>
15892
15893 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15894
15895 2015-02-16 Mike Frysinger <vapier@gentoo.org>
15896
15897 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15898
15899 2015-02-16 Joseph Myers <joseph@codesourcery.com>
15900
15901 [BZ #17987]
15902 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15903 zero result does not depend on the sign resulting from
15904 subtraction.
15905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15906 Likewise.
15907 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15908 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15910 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15911 * math/libm-test.inc (remquo_test_data): Add more tests.
15912
15913 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
15914
15915 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15916 Problem reported by J William Piggott.
15917
15918 2015-02-16 Joseph Myers <joseph@codesourcery.com>
15919
15920 [BZ #17978]
15921 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15922 products 4 * y and 2 * y where those would overflow.
15923 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15924 Likewise.
15925 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15926 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15927 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15928 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15929 * math/libm-test.inc (remquo_test_data): Add more tests.
15930
15931 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15932
15933 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15934 [defined _COMPILING_NEWLIB].
15935 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15936 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15937
15938 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15939 [!defined __mips_isa_rev || __mips_isa_rev < 6].
15940
15941 2015-02-16 Torvald Riegel <triegel@redhat.com>
15942
15943 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15944 acquired.
15945
15946 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
15947
15948 [BZ #17792]
15949 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15950 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15951 HOST_STACK_END_ADDR): Likewise.
15952
15953 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
15954
15955 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15956 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15957 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15958
15959 2015-02-13 Roland McGrath <roland@hack.frob.com>
15960
15961 * sysdeps/generic/c++-types.data: New file.
15962 * sysdeps/generic/ld.abilist: New file.
15963 * sysdeps/generic/libBrokenLocale.abilist: New file.
15964 * sysdeps/generic/libanl.abilist: New file.
15965 * sysdeps/generic/libc.abilist: New file.
15966 * sysdeps/generic/libcrypt.abilist: New file.
15967 * sysdeps/generic/libdl.abilist: New file.
15968 * sysdeps/generic/libm.abilist: New file.
15969 * sysdeps/generic/libpthread.abilist: New file.
15970 * sysdeps/generic/libresolv.abilist: New file.
15971 * sysdeps/generic/librt.abilist: New file.
15972
15973 2015-02-13 Joseph Myers <joseph@codesourcery.com>
15974
15975 [BZ #17569]
15976 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15977 Compute absolute value of x as modified by fmod, not original
15978 value of x.
15979 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15980 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
15981 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
15982 RUN_TEST_ffI_f1_mod8.
15983 (remquo_test_data): Add more tests.
15984
15985 2015-02-13 Roland McGrath <roland@hack.frob.com>
15986
15987 * sysdeps/init_array/pt-crti.S: New file.
15988
15989 2015-02-13 Joseph Myers <joseph@codesourcery.com>
15990
15991 [BZ #17967]
15992 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15993 __builtin_fmaf instead of relying on contraction of a * b + c.
15994
15995 2015-02-12 J William Piggott <elseifthen@gmx.com>
15996
15997 [BZ #17969]
15998 * manual/time.texi: correct the zoneinfo path in the TZ Variable
15999 node.
16000
16001 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16002
16003 [BZ #17964]
16004 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16005 __builtin_fma instead of relying on contraction of a * b + c.
16006
16007 2015-02-12 Roland McGrath <roland@hack.frob.com>
16008
16009 * Makeconfig (ASFLAGS): Add -Werror=undef.
16010 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16011 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16012 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16013
16014 * Makeconfig (after-link): New variable.
16015 (+link-pie, +link-pie-tests): Use it.
16016 (+link-static, +link-static-tests): Likewise.
16017 (+link, +link-tests): Likewise.
16018 * Makerules (build-module, build-module-asneeded): Likewise.
16019 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16020 Likewise.
16021 * elf/Makefile ($(objpfx)ld.so): Likewise.
16022
16023 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
16024
16025 [BZ #17965]
16026 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16027 both struct timeval and struct timespec.
16028
16029 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16030
16031 [BZ #16560]
16032 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16033 and redefine.
16034 (__ieee754_exp2l): Do not multiply small fractional parts by
16035 M_LN2l.
16036 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16037 small argument.
16038 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16039 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16040 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16041 * math/auto-libm-test-in: Add more tests of exp2.
16042 * math/auto-libm-test-out: Regenerated.
16043
16044 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16045
16046 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16047 unaligned path.
16048
16049 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16050
16051 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16052 little endian.
16053
16054 2015-02-12 Andreas Schwab <schwab@suse.de>
16055
16056 [BZ #15790]
16057 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16058 Filter out elision flags from value returned in kind.
16059 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16060 * nptl/tst-pthread-mutexattr.c: New file.
16061
16062 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16063
16064 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16065 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16066 into gnu-gnu, and update comment to refer to abi-tags.
16067
16068 2015-02-11 Joseph Myers <joseph@codesourcery.com>
16069
16070 [BZ #15467]
16071 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16072 (__sincos): Set errno to EDOM for infinite argument.
16073 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16074 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16075 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16076 (__sincosl): Set errno to EDOM for infinite argument.
16077 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16078 (__sincosl): Set errno to EDOM for infinite argument.
16079 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16080 (__sincosl): Set errno to EDOM for infinite argument.
16081 * math/libm-test.inc (sincos_test_data): Test errno setting.
16082
16083 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
16084
16085 * string/strxfrm_l.c: Remove #define STRCMP.
16086 * string/strcoll_l.c: Remove #define STRLEN.
16087 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16088 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16089
16090 2015-02-10 Joseph Myers <joseph@codesourcery.com>
16091
16092 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16093 * sysdeps/mips/mips32/sfp-machine.h: ... here.
16094 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16095 * sysdeps/mips/mips64/Makefile: ... here.
16096 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16097 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16098 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16099 * sysdeps/mips/mips64/sfp-machine.h: ... here.
16100 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16101 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16102 * sysdeps/mips/mips64/n64/Implies: Likewise.
16103
16104 2015-02-10 Roland McGrath <roland@hack.frob.com>
16105
16106 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16107 <sys/time.h>, <string.h>, and <errno.h>.
16108 (dest_offset, dest_address, value, zero): Remove unused variables.
16109 (ldouble): Remove typedef.
16110 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16111 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
16112 1). Fix code style.
16113 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16114 (check): Function removed.
16115 (CHECK): New macro.
16116 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
16117 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16118 Don't call set_sigaction_FP and remove_sigaction_FP here.
16119 (ldouble_test): Just use 'long double' as macro argument, no need for
16120 the 'ldouble' typedef.
16121 (do_test): Set up SIGFPE handler at start, using plain signal rather
16122 than sigaction. Fix code style.
16123
16124 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
16125
16126 [BZ #17949]
16127 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16128 jump label.
16129
16130 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16131
16132 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16133 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16134
16135 * sysdeps/powerpc/configure.ac: Remove file.
16136 * sysdeps/powerpc/configure: Likewise.
16137
16138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16139 [sysdep_routines]: Remove wordcopy-power6 object.
16140 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16141 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16142 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16143 (__memmove_ppc32): Likewise.
16144 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16145 file.
16146 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16147 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16148 Remove preprocessor.
16149
16150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16151 [sysdep_routines]: Remove wide chars objects.
16152 [wcsmbs]: New rule for wide char objects.
16153
16154 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16155 Remove wordcopy-power6 obejct.
16156 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16157 Use local call for wordcopy and memcpy symbols.
16158 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16159 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16160 implementation for loader.
16161 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16162
16163 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16164 Remove wordcopy-power7 object.
16165 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16166 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16167 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16168 (_wordcopy_fwd_dest_aligned): Likewise.
16169 (_wordcopy_bwd_aligned): Likewise.
16170 (_wordcopy_bwd_dest_aligned): Likewise.
16171
16172 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16173 Rewrite to call __memmove_ppc instead of include default
16174 implementation.
16175
16176 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16177 Remove wide chars objects.
16178 [wcsmbs]: New rule for wide char objects.
16179
16180 2015-02-09 Andreas Schwab <schwab@suse.de>
16181
16182 [BZ #17912]
16183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16184 in terms of __O_DIRECTORY.
16185
16186 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
16187
16188 * time/getdate.c: Include <stdbool.h>.
16189 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16190 call PTR_MANGLE.
16191 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16192 PTR_DEMANGLE.
16193
16194 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
16195
16196 Add ersatz _Static_assert on older C hosts
16197 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16198 pre-C11 C platform that is not known to support _Static_assert.
16199
16200 2015-02-07 Richard Braun <rbraun@sceen.net>
16201
16202 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16203 sigstate.
16204 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16205
16206 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
16207
16208 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16209 priority against unexistent AIO_PRIO_DELTA_MAX.
16210 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16211 instead of int.
16212 * misc/fchflags.c (fchflags): Likewise.
16213 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16214 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16215 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16216 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16217 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16218 Declare macros.
16219 [__USE_MISC] (chflags, fchflags): Declare functions.
16220 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16221 EINVAL when nfds is greater than FD_SETSIZE.
16222 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16223 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16224 45.
16225 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16226 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16227 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16228 MACH_RCV_TIMED_OUT.
16229 * hurd/hurd/signal.h (_hurd_self_sigstate,
16230 _hurd_critical_section_lock, _hurd_critical_section_unlock):
16231 Explicit casts from void *.
16232 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16233 * abi-tags: Rename gnu-gnu os into gnu.
16234
16235 [BZ #4719]
16236 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16237 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16238 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16239 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16240 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16241 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16242
16243 [BZ #17944]
16244 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16245 duplicates ADDR->sun_path with sockaddr LEN limitation.
16246 * sysdeps/mach/hurd/connect.c: Include <string.h>
16247 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16248 * sysdeps/mach/hurd/sendmsg.c: Likewise.
16249 * sysdeps/mach/hurd/sendto.c: Likewise.
16250 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16251 implementing it by hand.
16252
16253 2015-02-06 Roland McGrath <roland@hack.frob.com>
16254
16255 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16256 Use sfi_breg on ldr.
16257 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16258 Likewise.
16259
16260 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16261 it's defined.
16262 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16263 Test SIGSETXID only if it's defined.
16264
16265 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16266
16267 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16268 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
16269
16270 * nptl/tst-align2.c: Moved ...
16271 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16272 * nptl/Makefile (tests): Remove tst-align2.
16273 * sysdeps/unix/sysv/linux/Makefile
16274 [$(subdir) = nptl] (tests): Add tst-align-clone.
16275 * nptl/tst-getpid1.c: Moved ...
16276 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16277 * nptl/tst-getpid2.c: Moved ...
16278 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16279 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16280 * sysdeps/unix/sysv/linux/Makefile
16281 [$(subdir) = nptl] (tests): ... here.
16282 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16283 * sysdeps/unix/sysv/linux/Makefile
16284 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16285
16286 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16287 Drop trailing \n from perror argument. Use return rather than exit.
16288
16289 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16290 on [SA_SIGINFO].
16291 * nptl/tst-cancel21.c (do_test): Likewise.
16292 * debug/tst-backtrace6.c: Include <signal.h> first thing.
16293 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16294 [!SA_SIGINFO]: Make it a stub test.
16295
16296 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16297 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16298
16299 * posix/tst-getlogin.c: Move to ...
16300 * login/tst-getlogin.c: ... here.
16301 * posix/Makefile (tests): Move tst-getlogin to ...
16302 * login/Makefile (tests): ... here.
16303
16304 * libio/tst-atime.c (do_test): Move local variables SV and E
16305 inside [ST_NOATIME] conditional.
16306
16307 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16308
16309 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16310
16311 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16312 (wait_code): New function replaces macro.
16313 Call nanosleep rather than syscall.
16314
16315 * nptl/pt-system.c: Rewritten. Put everything under
16316 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16317 Use IFUNC to redirect when possible.
16318
16319 * nptl/pt-longjmp.c: Rewritten. Put everything under
16320 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16321 Use IFUNC to redirect when possible.
16322
16323 * nptl/pt-fork.c: Rewritten. Put everything under
16324 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16325 Use IFUNC to redirect when possible.
16326 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16327
16328 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16329 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16330 unconditionally nowadays. This included the only reference to
16331 __vdso_clock_gettime that appears outside libc proper.
16332 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16333 Remove version set (containing only __vdso_clock_gettime).
16334 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16335 Add attribute_hidden.
16336 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16337 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16338 libc_hidden_data_def.
16339 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16340 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16341
16342 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16343 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16344 setrpcent, and getrpcport to ...
16345 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16346 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16347 getrpcbynumber_r, and getrpcent_r to ...
16348 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16349 * inet/getrpcbyname.c: Moved ...
16350 * sunrpc/getrpcbyname.c: ... here.
16351 * inet/getrpcbyname_r.c: Moved ...
16352 * sunrpc/getrpcbyname_r.c: ... here.
16353 * inet/getrpcbynumber.c: Moved ...
16354 * sunrpc/getrpcbynumber.c: ... here.
16355 * inet/getrpcbynumber_r.c: Moved ...
16356 * sunrpc/getrpcbynumber_r.c: ... here.
16357 * inet/getrpcent.c: Moved ...
16358 * sunrpc/getrpcent.c: ... here.
16359 * inet/getrpcent_r.c: Moved ...
16360 * sunrpc/getrpcent_r.c: ... here.
16361 * inet/Makefile (routines): Move those to ...
16362 * sunrpc/Makefile (routines): ... here.
16363 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16364 the $(subdirs) list.
16365 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
16366 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16367 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16368 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16369
16370 * elf/Makefile (routines): Include $(all-dl-routines), not just
16371 $(dl-routines).
16372 (rtld-routines): Likewise. Use = rather than :=.
16373 * sysdeps/aarch64/Makefile [$(subdir) = elf]
16374 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16375 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16376 * sysdeps/arm/Makefile: Likewise.
16377 * sysdeps/i386/Makefile: Likewise.
16378 * sysdeps/x86_64/Makefile: Likewise.
16379 * sysdeps/hppa/Makefile [$(subdir) = elf]
16380 (sysdep_routines, sysdep-rtld-routines): Don't add
16381 $(sysdep-dl-routines) to these.
16382 * sysdeps/ia64/Makefile: Likewise.
16383 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16384 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16385 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16386 Don't add dl-static to these; sysdep-dl-routines alone is enough.
16387 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16388 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16389 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16390 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16391 * sysdeps/powerpc/Makefile [$(subdir) = elf]
16392 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16393 these; sysdep-dl-routines alone is enough.
16394
16395 2015-02-06 Joseph Myers <joseph@codesourcery.com>
16396
16397 [BZ #17932]
16398 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16399 where multiplication results in zero and third argument is finite
16400 and nonzero.
16401 * math/auto-libm-test-in: Add more tests of fma.
16402 * math/auto-libm-test-out: Regenerated.
16403
16404 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16405 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16406 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16407 (_FP_CMP_EQ): Likewise.
16408 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16409
16410 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16411 extra argument CHECK_NAN. Redefine as wrapper around
16412 _FP_EXTEND_CNAN.
16413
16414 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
16415
16416 * version.h (RELEASE): Set to "stable".
16417 (VERSION): Set to "2.21"
16418 * include/features.h (__GLIBC_MINOR__): Set to 21.
16419
16420 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16421
16422 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16423 Paul Eggert <eggert@cs.ucla.edu>
16424
16425 [BZ #16618]
16426 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16427 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16428 size in bytes. Store needed elements in wpmax. Use needed size
16429 in bytes for extend_alloca.
16430
16431 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
16432
16433 * manual/install.texi: Latest tested versions are GCC 4.9.2,
16434 binutls 2.25, and texinfo 5.2.
16435 * INSTALL: Regenerate.
16436 * sysdeps/nios2/configure: Regenerate.
16437 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16438 * manual/contrib.texi: Update.
16439 * po/be.po: Update.
16440 * po/bg.po: Update.
16441 * po/ca.po: Update.
16442 * po/cs.po: Update.
16443 * po/da.po: Update.
16444 * po/de.po: Update.
16445 * po/el.po: Update.
16446 * po/eo.po: Update.
16447 * po/es.po: Update.
16448 * po/fi.po: Update.
16449 * po/fr.po: Update.
16450 * po/gl.po: Update.
16451 * po/hr.po: Update.
16452 * po/hu.po: Update.
16453 * po/ia.po: Update.
16454 * po/id.po: Update.
16455 * po/it.po: Update.
16456 * po/ja.po: Update.
16457 * po/ko.po: Update.
16458 * po/lt.po: Update.
16459 * po/nb.po: Update.
16460 * po/nl.po: Update.
16461 * po/pl.po: Update.
16462 * po/pt_BR.po: Update.
16463 * po/ru.po: Update.
16464 * po/rw.po: Update.
16465 * po/sk.po: Update.
16466 * po/sl.po: Update.
16467 * po/sv.po: Update.
16468 * po/tr.po: Update.
16469 * po/uk.po: Update.
16470 * po/vi.po: Update.
16471 * po/zh_CN.po: Update.
16472 * po/zh_TW.po: Update.
16473
16474 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16475 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16476 * sysdeps/hppa/dl-irel.h: Remove #warning.
16477 * sysdeps/hppa/entry.h: Provide prototype for
16478 __canonicalize_funcptr_for_compare and cast argument.
16479 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16480 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16481 * sysdeps/hppa/sotruss-lib.c: New file.
16482 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16483 (atomic_compare_and_exchange_val_acq): Use __typeof__.
16484 (atomic_compare_and_exchange_bool_acq): Likewise.
16485 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16486 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16487
16488 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16489 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16490 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16491
16492 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
16493
16494 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16495 called function in non-PIC case.
16496
16497 2015-01-31 David S. Miller <davem@davemloft.net>
16498
16499 * sysdeps/sparc/sparc32/bits/atomic.h
16500 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16501 unlock not after it.
16502 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16503 volatile register usage warnings from the compiler.
16504
16505 * sysdeps/sparc/nptl/sem_init.c: Delete.
16506 * sysdeps/sparc/nptl/sem_post.c: Delete.
16507 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16508 * sysdeps/sparc/nptl/sem_wait.c: Delete.
16509 * sysdeps/sparc/sparc32/sem_init.c: New file.
16510 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16511 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16512 padding explicitly initialized.
16513 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16514 padding for in-semaphore spinlock.
16515 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16516 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16517 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16518 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16519 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16520 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16521 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16522 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16523 version.
16524 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16525 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16526
16527 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
16528
16529 [BZ #17801]
16530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16531 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16532 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16533 New.
16534 (index_AVX_Fast_Unaligned_Load): Likewise.
16535 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16536 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16537 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16538 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16539 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16540 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16541 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16542 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16543 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16544
16545 2015-01-29 Andreas Schwab <schwab@suse.de>
16546
16547 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16548
16549 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16550
16551 [BZ #17892]
16552 * nscd/nscd_stat.c (send_stats): Initialize DATA.
16553
16554 2015-01-28 Martin Sebor <msebor@redhat.com>
16555
16556 * math/README.libm-test: Clarify. Add "How to read the test output."
16557
16558 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
16559
16560 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16561 Define to 0.
16562
16563 2015-01-28 Joseph Myers <joseph@codesourcery.com>
16564
16565 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16566 (__HAVE_64B_ATOMICS): Define to 0.
16567
16568 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16569
16570 [BZ #17885]
16571 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16572 value to set as new flag.
16573
16574 [BZ #16576]
16575 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16576 and use _ARCH_PPCSQ instead.
16577 (__ieee754_sqrt): Likewise.
16578 (__ieee754_sqrtf): Likewise.
16579 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16580 _ARCH_PPCSQ is defined.
16581 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16582 fsqrt instruction.
16583 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16584 _ARCH_PPCSQ is defined.
16585 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16586 fsqrts instruction.
16587 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16588
16589 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16590
16591 * iconv/loop.c: Suppress array out of bound warning caused by GCC
16592 bug (GCC BZ #64739).
16593
16594 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
16595
16596 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16597 Mark _retval as used.
16598 (lll_futex_wake_unlock): Likewise.
16599 (lll_futex_timed_wait_requeue_pi): Likewise.
16600
16601 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16602 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16603 register variables.
16604
16605 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16606 libm_hidden_def.
16607
16608 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16609 (__bswap_64): Mark as __always_inline.
16610
16611 2015-01-25 Bram <bug_rh@spam.wizbit.be>
16612
16613 [BZ #15378]
16614 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16615 when none of the search directories exist.
16616
16617 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16618
16619 [BZ #17869]
16620 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16621 power8 in .machine directive.
16622
16623 [BZ #17868]
16624 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16625 set dependency from opd value.
16626
16627 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
16628
16629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16630 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16631 architecture.
16632
16633 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
16634
16635 [BZ #17870]
16636 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16637 with uint64_t.
16638 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16639 (uint64_t) 1.
16640 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16641 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16642 Replace 1UL with (uint64_t) 1.
16643 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16644 int with uint64_t.
16645
16646 2015-01-23 Roland McGrath <roland@hack.frob.com>
16647
16648 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16649 (if_freenameindex): Likewise.
16650
16651 * resource/getrlimit64.c: Add missing libc_hidden_def.
16652
16653 2015-01-22 Joseph Myers <joseph@codesourcery.com>
16654
16655 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16656 __label__.
16657 (_FP_FMA): Likewise.
16658 (_FP_TO_INT_ROUND): Likewise.
16659 (_FP_FROM_INT): Likewise.
16660
16661 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16662
16663 [BZ #16418]
16664 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16665 Make code racy and cancel safe.
16666
16667 2015-01-21 Carlos O'Donell <carlos@redhat.com>
16668
16669 * sysdeps/arm/unwind-resume.h: Fix copyright year.
16670 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16671 attribution.
16672
16673 * pwd/tst-getpw.c: Rewrite.
16674
16675 [BZ #17702]
16676 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16677 (modules-names): Add moddummy1 and moddummy2.
16678 ($(objpfx)tst-rec-dlopen): Define.
16679 * dlfcn/moddummy1.c: New file.
16680 * dlfcn/moddummy2.c: New file.
16681 * dlfcn/tst-rec-dlopen.c: New file.
16682 * elf/dl-cache.c (_dl_load_cache_lookup):
16683 Return char*. Copy result with alloca/strcpy/strdup.
16684 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16685 returns char*. Free cached. If not saving realname
16686 free cached.
16687 * elf/dl-open.c (dl_open_worker): Do not assert that
16688 _r_debug->r_state is RT_CONSISTENT.
16689 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16690 returns char*.
16691
16692 2015-01-21 Torvald Riegel <triegel@redhat.com>
16693 Carlos O'Donell <carlos@redhat.com>
16694
16695 [BZ #12674]
16696 * nptl/sem_waitcommon.c: New file.
16697 * nptl/sem_wait.c: Include sem_waitcommon.c.
16698 (__sem_wait_cleanup, do_futex_wait): Remove.
16699 (__new_sem_wait): Adapt.
16700 (__new_sem_trywait): New function.
16701 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16702 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16703 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16704 (sem_timedwait): Adapt.
16705 * nptl/sem_post.c (__new_sem_post): Adapt.
16706 (futex_wake): New function.
16707 (__old_sem_post): Add release MO fence.
16708 * nptl/sem_open.c (sem_open): Adapt.
16709 * nptl/sem_init.c (__new_sem_init): Adapt.
16710 (futex_private_if_supported): New function.
16711 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16712 (__old_sem_getvalue): Add using previous code.
16713 * sysdeps/nptl/internaltypes.h: Adapt.
16714 * nptl/tst-sem13.c (do_test): Adapt.
16715 * nptl/tst-sem11.c (main): Adapt.
16716 * nptl/sem_trywait.c: Remove.
16717 * nptl/DESIGN-sem.txt: Remove.
16718 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16719 (gen-as-const-headers): Remove structsem.sym.
16720 * nptl/structsem.sym: Remove.
16721 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16722 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16723 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16724 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16725 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16726 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16727 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16728 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16729 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16730 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16731 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16732 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16733 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16734 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16735 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16736 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16737 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16738 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16739 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16740 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16741 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16742 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16743
16744 2015-01-20 Carlos O'Donell <carlos@redhat.com>
16745
16746 * INSTALL: Regenerated.
16747
16748 * po/libc.pot: Regenerated.
16749
16750 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
16751 Sandra Loosemore <sandra@codesourcery.com>
16752 Andrew Jenner <andrew@codesourcery.com>
16753 Joseph Myers <joseph@codesourcery.com>
16754 Nathan Sidwell <nathan@codesourcery.com>
16755
16756 * NEWS: Mention new Nios II port.
16757 * sysdeps/nios2/Implies: New file.
16758 * sysdeps/nios2/Makefile: New file.
16759 * sysdeps/nios2/Subdirs: New file.
16760 * sysdeps/nios2/Versions: New file.
16761 * sysdeps/nios2/__longjmp.S: New file.
16762 * sysdeps/nios2/abort-instr.h: New file.
16763 * sysdeps/nios2/backtrace.c: New file.
16764 * sysdeps/nios2/bits/endian.h: New file.
16765 * sysdeps/nios2/bits/fenv.h: New file.
16766 * sysdeps/nios2/bits/link.h: New file.
16767 * sysdeps/nios2/bits/setjmp.h: New file.
16768 * sysdeps/nios2/bsd-_setjmp.S: New file.
16769 * sysdeps/nios2/bsd-setjmp.S: New file.
16770 * sysdeps/nios2/configure: New generated file.
16771 * sysdeps/nios2/configure.ac: New file.
16772 * sysdeps/nios2/crti.S: New file.
16773 * sysdeps/nios2/crtn.S: New file.
16774 * sysdeps/nios2/dl-init.c: New file.
16775 * sysdeps/nios2/dl-machine.h: New file.
16776 * sysdeps/nios2/dl-sysdep.h: New file.
16777 * sysdeps/nios2/dl-tls.h: New file.
16778 * sysdeps/nios2/dl-trampoline.S: New file.
16779 * sysdeps/nios2/gccframe.h: New file.
16780 * sysdeps/nios2/gmp-mparam.h: New file.
16781 * sysdeps/nios2/jmpbuf-offsets.h: New file.
16782 * sysdeps/nios2/jmpbuf-unwind.h: New file.
16783 * sysdeps/nios2/ldsodefs.h: New file.
16784 * sysdeps/nios2/libc-tls.c: New file.
16785 * sysdeps/nios2/libm-test-ulps: New file.
16786 * sysdeps/nios2/machine-gmon.h: New file.
16787 * sysdeps/nios2/math-tests.h: New file.
16788 * sysdeps/nios2/math_private.h: New file.
16789 * sysdeps/nios2/memusage.h: New file.
16790 * sysdeps/nios2/nptl/Makefile: New file.
16791 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16792 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16793 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16794 * sysdeps/nios2/nptl/pthreaddef.h: New file.
16795 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16796 * sysdeps/nios2/nptl/tls.h: New file.
16797 * sysdeps/nios2/preconfigure: New file.
16798 * sysdeps/nios2/s_fma.c: New file.
16799 * sysdeps/nios2/s_fmaf.c: New file.
16800 * sysdeps/nios2/setjmp.S: New file.
16801 * sysdeps/nios2/sfp-machine.h: New file.
16802 * sysdeps/nios2/sotruss-lib.c: New file.
16803 * sysdeps/nios2/stackguard-macros.h: New file.
16804 * sysdeps/nios2/stackinfo.h: New file.
16805 * sysdeps/nios2/start.S: New file.
16806 * sysdeps/nios2/sysdep.h: New file.
16807 * sysdeps/nios2/tls-macros.h: New file.
16808 * sysdeps/nios2/tst-audit.h: New file.
16809 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16810 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16811 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16812 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16813 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16814 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16815 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16816 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16817 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16818 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16819 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16820 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16821 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16822 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16823 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16824 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16825 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16826 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16827 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16828 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16829 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16830 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16831 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16832 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16833 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16834 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16835 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16836 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16837 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16838 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16839 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16840 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16841 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16842 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16843 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16844 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16845 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16846 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16847 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16848 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16849 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16850 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16851 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16852 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16853
16854 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16855
16856 [BZ #17844]
16857 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16858 (getutent): Use weak_alias in non SHARED case
16859 and default_symbol_version in SHARED case.
16860 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16861 (getutent_r, pututline): Likewise.
16862 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16863 (getutid): Likewise.
16864 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16865 (getutid_r): Likewise.
16866 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16867 (getutline): Likewise.
16868 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16869 (getutline_r): Likewise.
16870 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16871 (updwtmp): Likewise.
16872
16873 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16874
16875 [BZ #17848]
16876 * sysdeps/s390/s390-32/memcmp.S
16877 (memcmp_g5): Rename to __memcmp_g5.
16878 * sysdeps/s390/s390-32/memcpy.S
16879 (memcpy_g5): Rename to __memcpy_g5.
16880 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16881 (memcpy_mvcle) Rename to __memcpy_mvcle.
16882 * sysdeps/s390/s390-32/memset.S
16883 (memset_g5): Rename to __memset_g5.
16884 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16885 (IFUNC_RESOLVE): Prefix ifunc-resolve function
16886 and use prefixed functions.
16887 * sysdeps/s390/s390-32/multiarch/memcmp.S
16888 (memcmp_z196): Rename to __memcmp_z196.
16889 (memcmp_z10): Rename to __memcmp_z10.
16890 (memcmp): Set alias to __memcmp_g5.
16891 (bcmp): Set alias to __memcmp_g5.
16892 * sysdeps/s390/s390-32/multiarch/memcpy.S
16893 (memcpy_z196): Rename to __memcpy_z196.
16894 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16895 (memcpy_z10): Rename to __memcpy_z10.
16896 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16897 (memcpy): Set alias to __memcpy_g5.
16898 * sysdeps/s390/s390-32/multiarch/memset.S
16899 (memset_z196): Rename to __memset_z196.
16900 Jump to __memset_mvcle instead of memset_mvcle.
16901 (memset_z10): Rename to __memset_z10.
16902 Jump to __memset_mvcle instead of memset_mvcle.
16903 (memset_mvcle) Rename to __memset_mvcle.
16904 (memset): Set alias to __memset_g5.
16905 * sysdeps/s390/s390-64/memcmp.S
16906 (memcmp_z900): Rename to __memcmp_z900.
16907 * sysdeps/s390/s390-64/memcpy.S
16908 (memcpy_z900): Rename to __memcpy_z900.
16909 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16910 (memcpy_mvcle) Rename to __memcpy_mvcle.
16911 * sysdeps/s390/s390-64/memset.S
16912 (memset_z900): Rename to __memset_z900.
16913 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16914 (IFUNC_RESOLVE): Prefix ifunc-resolve function
16915 and use prefixed functions.
16916 * sysdeps/s390/s390-64/multiarch/memcmp.S
16917 (memcmp_z196): Rename to __memcmp_z196.
16918 (memcmp_z10): Rename to __memcmp_z10.
16919 (memcmp): Set alias to __memcmp_z900.
16920 (bcmp): Set alias to __memcmp_z900.
16921 * sysdeps/s390/s390-64/multiarch/memcpy.S
16922 (memcpy_z196): Rename to __memcpy_z196.
16923 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16924 (memcpy_z10): Rename to __memcpy_z10.
16925 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16926 (memcpy): Set alias to __memcpy_z900.
16927 * sysdeps/s390/s390-64/multiarch/memset.S
16928 (memset_z196): Rename to __memset_z196.
16929 Jump to __memset_mvcle instead of memset_mvcle.
16930 (memset_z10): Rename to __memset_z10.
16931 Jump to __memset_mvcle instead of memset_mvcle.
16932 (memset_mvcle) Rename to __memset_mvcle.
16933 (memset): Set alias to __memset_z900.
16934
16935 2015-01-14 Joseph Myers <joseph@codesourcery.com>
16936
16937 [BZ #17748]
16938 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16939 __fesetenv instead of fesetenv.
16940
16941 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16942
16943 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16944 macro.
16945
16946 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16947
16948 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16949 regression on LE.
16950
16951 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16952 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16953 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16954 strncmp-power8 object.
16955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16956 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16957 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16958 * NEWS: Update.
16959
16960 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16961 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16962
16963 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16964 trailing byte check.
16965
16966 2015-01-13 David S. Miller <davem@davemloft.net>
16967
16968 * include/signal.h (__sigreturn): Guard with __USE_MISC.
16969
16970 2015-01-13 Roland McGrath <roland@hack.frob.com>
16971
16972 * login/logout.c (logout): Use memset rather than bzero.
16973 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16974 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16975 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16976 (_gethtbyaddr): Likewise.
16977 * locale/programs/simple-hash.c (bcopy): Macro removed.
16978
16979 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16980
16981 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16982 Add strcmp-power8 object.
16983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16984 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16985 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16986 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16987 __strcmp_power8 implementation.
16988 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16989 * NEWS: Update.
16990
16991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16992 Add strncpy-power8 and stpncpy-power8 objects.
16993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16994 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16995 implementations.
16996 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16997 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16998 __stpncpy_power8 implementation.
16999 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17000 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17001 __strncpy_power8 implementation.
17002 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17003 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17004 * NEWS: Update.
17005
17006 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17007 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17008 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17009
17010 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17011 strncat-power8 object.
17012 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17013 __strcat_power8 implementation.
17014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17015 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17016 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17017 optimized strcat for power8.
17018
17019 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17020 strcpy-power8 and stpcpy-power8 objects.
17021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17022 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17023 implementations.
17024 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17025 multiarch stpcpy implementation for POWER8.
17026 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17027 multiarch strcpy implementation for POWER8.
17028 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17029 __strcpy_power8 function.
17030 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17031 stpcpy for POWER8.
17032 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17033 strcpy for POWER8.
17034 * NEWS: Update.
17035
17036 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
17037
17038 [BZ #16009]
17039 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17040 weights and rules. Use do_xfrm_cached if data fits in cache,
17041 do_xfrm otherwise. Moved former main loop to...
17042 * (do_xfrm_cached): New function.
17043 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17044 find_idx, find_position and stack_push.
17045 * (find_idx): New function.
17046 * (find_position): Likewise.
17047 * localedata/sort-test.sh: Added test run for do_xfrm.
17048 * localedata/xfrm-test.c (main): Added command line option
17049 -nocache to run the test with strings that are too large for
17050 the STRXFRM cache.
17051
17052 2015-01-13 Torvald Riegel <triegel@redhat.com>
17053
17054 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17055 variable to lll_futex_wake call, not the value itself.
17056
17057 2015-01-12 Joseph Myers <joseph@codesourcery.com>
17058
17059 [BZ #17803]
17060 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17061 twom64. Adjust value to 0x1p-64L.
17062 (__scalblnl): Only return standard underflowing result for K <=
17063 -64 not K <= -63; adjust exponent for underflowing result by 64
17064 not 63.
17065 * math/libm-test.inc (scalbn_test_data): Add more tests.
17066 (scalbln_test_data): Likewise.
17067
17068 [BZ #17834]
17069 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17070 0x1p63L.
17071 (__scalblnl): Get new exponent of adjusted subnormal value from ES
17072 not HX.
17073 * math/libm-test.inc (scalbn_test_data): Add more tests.
17074 (scalbln_test_data): Likewise.
17075
17076 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17077 Stefani Seibold <stefani@seibold.net>
17078
17079 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17080 (sysdep_routines): Add dl-vdso here, ...
17081 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17082 (sysdep_routines): ... not here.
17083 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17084 fallback when vDSO is not presented.
17085 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17086 Define with libc_hidden_proto/libc_hidden_data_def definitions.
17087 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17088 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17089 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17090 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17091 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17092 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17093 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17095 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
17096 fallback configurable symbol when vDSO is not available.
17097 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17098 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
17099 be able to redefine fallback symbol when vDSO is not available.
17100 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17101 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17102
17103 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17104
17105 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17106 (TLS_INIT_TP): Add tm_capable initialization.
17107 (TLS_DEFINE_INIT_TP): Likewise.
17108 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17109 TCB.
17110 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17111 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17112 calculation.
17113 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17114 transactoion is lock elision is built and TCB tm_capable is set.
17115 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17117 (INTERNAL_SYSCALL_NCS): Likewise.
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17119 (INTERNAL_SYSCALL_NCS): Likewise.
17120 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17121
17122 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17123 for powerpc.
17124 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17125 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17126 and remove it for 32 bits case.
17127 [pthread_rwlock_t] (__rwelision): New field for lock elision.
17128 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17129 initialization.
17130 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17131 Disable lock elision with rdlocks if elision is not available.
17132
17133 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17134 (sysdep_routines): Add lock elision objects.
17135 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17136 [pthread_mutex_t] (__spins): Rework to add lock elision field.
17137 [pthread_mutex_t] (__elision): Add field.
17138 [__PTHREAD_SPINS]: Adjust to init lock elision field.
17139 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17140 elision definitions for powerpc.
17141 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17142 implementation of lock elision for powerpc.
17143 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17144 implementation of timed lock elision for powerpc.
17145 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17146 implementation of trylock with lock elision for powerpc.
17147 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17148 implementaion of unlock for lock elision for powerpc.
17149 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17150 automatic enable lock elision for mutexes.
17151 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17152 transaction execution definitions for powerpc.
17153 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17154 definitions.
17155 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17156 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17157 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17158 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17159 * NEWS: Update.
17160
17161 2015-01-09 Roland McGrath <roland@hack.frob.com>
17162
17163 * sysdeps/posix/shm-directory.c: Use <> rather than ""
17164 for #include of <shm-directory.h>.
17165
17166 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
17167
17168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17169 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17170
17171 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
17172
17173 [BZ #17791]
17174 * NEWS: Mention bug fix.
17175 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17176 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17177 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17178
17179 2015-01-09 Torvald Riegel <triegel@redhat.com>
17180
17181 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17182
17183 2015-01-09 Torvald Riegel <triegel@redhat.com>
17184
17185 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17186
17187 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17188
17189 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17190 pointer and cast to uintptr_t.
17191
17192 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17193
17194 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17195 removed.
17196 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17197
17198 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17199
17200 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17201 of 0.
17202
17203 2015-01-08 Roland McGrath <roland@hack.frob.com>
17204
17205 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17206 <nptl/pthreadP.h> instead.
17207 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17208
17209 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17210 already defined.
17211 [__SIGRTMIN] (init): Function removed.
17212 [__SIGRTMIN] (initialized): Variable removed.
17213 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17214 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17215 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17216 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17217 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17218 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17219 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17220 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17221 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17222 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17223 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17224 * sysdeps/nptl/allocrtsig.c: New file.
17225 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17226 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17227 * sysdeps/generic/testrtsig.h: File removed.
17228
17229 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17230 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17231
17232 * nptl/nptl-init.c (pthread_functions): Conditionalize
17233 .ptr__nptl_setxid initialization on [SIGSETXID].
17234
17235 * sysdeps/nptl/sys/procfs.h: New file.
17236 * nptl_db/Makefile (headers): Add it.
17237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17238
17239 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17240 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17241 * nptl/pthread_attr_setaffinity.c: Include it.
17242 * nptl/pthread_setattr_default_np.c: Likewise.
17243 * nptl/check-cpuset.h: New file.
17244
17245 2015-01-08 Richard Henderson <rth@redhat.com>
17246
17247 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17248 (CFLAGS-tst-execstack-prog.c): Likewise.
17249 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17250
17251 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
17252 Sandra Loosemore <sandra@codesourcery.com>
17253 Andrew Jenner <andrew@codesourcery.com>
17254 Joseph Myers <joseph@codesourcery.com>
17255 Nathan Sidwell <nathan@codesourcery.com>
17256
17257 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17258 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17259 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17260 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17261 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17262 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17263 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17264 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17265 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17266 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17267 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17268 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17269 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17270 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17271 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17272 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17273 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17274
17275 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17276
17277 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17278 timespec struct member in syscall macro.
17279 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17280 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17281 first timeval struct member in syscall macro.
17282 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17283
17284 2015-01-07 Joseph Myers <joseph@codesourcery.com>
17285
17286 [BZ #17748]
17287 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17288 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17289 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17290 __feupdateenv and define as weak alias of __feupdateenv. Use
17291 libm_hidden_weak.
17292 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17293 libm_hidden_def.
17294 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17295 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
17296 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17297 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17298 libm_hidden_def.
17299 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17300 __feupdateenv and define as weak alias of __feupdateenv. Use
17301 libm_hidden_weak.
17302 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17303 libm_hidden_def.
17304 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17305 __feupdateenv and define as weak alias of __feupdateenv. Use
17306 libm_hidden_weak.
17307 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17308 libm_hidden_def.
17309 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17310 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17311 (__feupdateenv): Likewise.
17312 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17313 __feupdateenv and define as weak alias of __feupdateenv. Use
17314 libm_hidden_weak.
17315 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17316 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17317 libm_hidden_def.
17318 * sysdeps/tile/math_private.h (__feupdateenv): New inline
17319 function.
17320 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17321 libm_hidden_def.
17322 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17323 __feupdateenv instead of feupdateenv.
17324 (default_libc_feupdateenv_test): Likewise.
17325 (libc_feresetround_ctx): Likewise.
17326
17327 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17328
17329 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17330 prototype.
17331
17332 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
17333
17334 * posix/regcomp.c (parse_bracket_exp): Initialize type to
17335 COLL_SYM in a couple of places to avoid uninitialized variable
17336 wanings on tilegx gcc 4.8.2.
17337
17338 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
17339
17340 * sysdeps/aarch64/strcpy.S: New file.
17341 * sysdeps/aarch64/stpcpy.S: New file.
17342 * NEWS: Updated.
17343
17344 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
17345
17346 * sysdeps/aarch64/strrchr.S: New file.
17347 * NEWS: Updated.
17348
17349 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
17350
17351 [BZ #17658]
17352 * stdlib/setenv.c: Fix memory leak when setting large,
17353 duplicate string.
17354
17355 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
17356
17357 [BZ #17273]
17358 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17359 and tabs from buffer before parsing fstab entry.
17360 * misc/tst-mntent.c (main): Add test for mount entry with
17361 trailing spaces and tabs.
17362
17363 2015-01-06 Joseph Myers <joseph@codesourcery.com>
17364
17365 [BZ #17748]
17366 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
17367 * math/fesetround.c (fesetround): Rename to __fesetround and
17368 define as weak alias of __fesetround. Use libm_hidden_weak.
17369 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17370 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17371 * sysdeps/arm/fesetround.c (fesetround): Likewise.
17372 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17373 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17374 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17375 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17376 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17377 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17378 __fesetround_inline.
17379 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17380 __fesetround_inline instead of __fesetround.
17381 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17382 __fesetround and define as weak alias of __fesetround. Use
17383 libm_hidden_weak. Call __fesetround_inline instead of
17384 __fesetround.
17385 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17386 __fesetround and define as weak alias of __fesetround. Use
17387 libm_hidden_weak.
17388 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17389 Likewise.
17390 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17391 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17392 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17393 * sysdeps/tile/math_private.h (__fesetround): New inline function.
17394 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17395 __fesetround and define as weak alias of __fesetround. Use
17396 libm_hidden_weak.
17397 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17398 __fesetround instead of fesetround.
17399 (default_libc_feholdexcept_setround): Likewise.
17400 (libc_feholdsetround_ctx): Likewise.
17401 (libc_feholdsetround_noex_ctx): Likewise.
17402
17403 [BZ #17748]
17404 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17405 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17406 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17407 and define as weak alias of __fesetenv. Use libm_hidden_weak.
17408 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17409 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17410 define as weak alias of __fesetenv. Use libm_hidden_weak.
17411 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17412 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17413 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17414 define as weak alias of __fesetenv. Use libm_hidden_weak.
17415 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17416 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17417 define as weak alias of __fesetenv. Use libm_hidden_weak.
17418 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17419 libm_hidden_def.
17420 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17421 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17422 Likewise.
17423 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17424 define as weak alias of __fesetenv. Use libm_hidden_weak.
17425 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17426 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17427 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17428 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17429 and define as weak alias of __fesetenv. Use libm_hidden_weak.
17430 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17431 __fesetenv instead of fesetenv.
17432 (libc_feresetround_noex_ctx): Likewise.
17433 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17434 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17435 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17436 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17437 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17438 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17439 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17440 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17441 (__feupdateenv): Likewise.
17442 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17443 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17444 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17445 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17446
17447 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
17448
17449 [BZ #17806]
17450 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17451 addresses have been freed.
17452
17453 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
17454
17455 * resolv/res_init.c (__res_vinit): Improve comments about nserv
17456 and nservall.
17457
17458 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
17459
17460 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17461 Clean up check_pf allocation pattern. addresses
17462
17463 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17464
17465 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17466 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17467 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17468 * nptl/pthread_exit.c (__pthread_exit): Likewise.
17469 * nptl/pthread_join.c (pthread_join): Likewise.
17470 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17471 * sysdeps/posix/waitid.c (__waitid): Likewise.
17472 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17473 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17474 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17475 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17476 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17477 Likewise.
17478 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17479 (__libc_pread64): Likewise.
17480 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17481 (__libc_pwrite): Likewise.
17482 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17483 (__libc_pwrite64): Likewsie.
17484 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17485 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17486 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17487 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17488 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17489 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17490 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17492 Likewise.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17494 (__libc_pread64): Likewise.
17495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17496 Likewise.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17498 (__libc_pwrite64): Likewise.
17499 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17500 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17501 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17502 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17503 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17504 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17505 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17506 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17507 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17508 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17509 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17510 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17511 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17512 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17513 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17514 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17515 Likewise.
17516
17517 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
17518
17519 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17520 (CFLAGS-test-double.c): Likewise.
17521 (CFLAGS-test-ldouble.c): Likewise.
17522 (CPPFLAGS-test-ifloat.c): Likewise.
17523 (CPPFLAGS-test-idouble.c): Likewise.
17524 (CPPFLAGS-test-ildoubl.c): Likewise.
17525 (CFLAGS-test-test-fenv.c): Remove variable.
17526 (CFLAGS-test-misc.c): Likewise.
17527
17528 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
17529
17530 [BZ #17797]
17531 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17532 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17533 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17534 CLOCKS_PER_SEC == 1000000.
17535 * time/clocktest.c (main): Replace %ld with %jd and cast to
17536 intmax_t.
17537
17538 2015-01-05 Roland McGrath <roland@hack.frob.com>
17539
17540 * sysdeps/generic/unwind-resume.h: New file.
17541 * sysdeps/gnu/unwind-resume.c: Include it.
17542 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17543 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17544 argument list.
17545 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17546 global rather than static.
17547 (_Unwind_Resume): Update user.
17548 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17549 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
17550 rather than static. Add __attribute__ ((cold)).
17551 (_Unwind_Resume, __gcc_personality_v0): Update callers.
17552 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17553 * sysdeps/arm/arm-unwind-resume.S: New file.
17554 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17555 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17556 * sysdeps/arm/Makefile [$(subdir) = csu]
17557 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17558 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17559 Add rt-arm-unwind-resume.
17560 [$(subdir) = nptl]
17561 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17562 Add pt-arm-unwind-resume.
17563 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17564 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17565
17566 2015-01-05 Joseph Myers <joseph@codesourcery.com>
17567
17568 [BZ #17748]
17569 * include/fenv.h (__feholdexcept): Declare. Use
17570 libm_hidden_proto.
17571 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17572 define as weak alias of __feholdexcept. Use libm_hidden_weak.
17573 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17574 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17575 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17576 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17577 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17578 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17579 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17580 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17581 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17582 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17583 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17584 (feholdexcept): Likewise.
17585 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17586 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17587 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17588 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17589 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17590 __feholdexcept instead of feholdexcept.
17591 (default_libc_feholdexcept_setround): Likewise.
17592
17593 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
17594
17595 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17596 to avoid using stl/str to align destination.
17597
17598 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
17599
17600 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17601
17602 2015-01-05 Joseph Myers <joseph@codesourcery.com>
17603
17604 [BZ #17796]
17605 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17606 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17607 Define as weak alias not strong alias.
17608
17609 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
17610
17611 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17612 bltzal with addiupc.
17613 (RTLD_START): Ditto.
17614
17615 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
17616
17617 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17618 for __vdso_* functions in declarations.
17619 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17620 definitions.
17621 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17622 INTERNAL_VSYSCALL): Use struct return types to check for error.
17623
17624 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17625 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17626 function with cast from llround().
17627 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17628 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17629 Define.
17630
17631 2015-01-05 Joseph Myers <joseph@codesourcery.com>
17632
17633 [BZ #17793]
17634 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17635 Define as weak alias not strong alias.
17636
17637 [BZ #17635]
17638 * ctype/ctype-c99.c: New file. isblank implementation moved from
17639 ...
17640 * ctype/ctype-extn.c: ... here.
17641 (__isblank_l): Move to ...
17642 * ctype/ctype-c99_l.c: ... here. New file.
17643 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17644 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17645 Remove variable.
17646 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17647 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17648 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17649 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17650 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17651
17652 [BZ #17777]
17653 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17654 (posix_fadvise64): Define as weak alias not strong alias.
17655 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17656 (posix_fallocate64): Likewise.
17657 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17658 Remove variable.
17659 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17660 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17661 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17662 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17663 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17664
17665 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
17666
17667 [BZ #16191]
17668 * NEWS: Mention bug fix.
17669 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17670 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17671 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17672 (HOST_STACK_END_ADDR): Likewise.
17673
17674 2015-01-02 Joseph Myers <joseph@codesourcery.com>
17675
17676 [BZ #17748]
17677 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
17678 * math/fegetround.c (fegetround): Rename to __fegetround and
17679 define as weak alias of __fegetround. Use libm_hidden_weak.
17680 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17681 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17682 * sysdeps/arm/fegetround.c (fegetround): Likewise.
17683 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17684 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17685 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17686 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17687 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17688 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17689 Undefine after rather than before function definition; use
17690 parentheses around function name in definition.
17691 (__fegetround): Also undefine macro after function definition.
17692 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17693 __fegetround and define as weak alias of __fegetround. Use
17694 libm_hidden_weak. Do not undefine as macro.
17695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17696 Likewise.
17697 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17698 __fegetround and define as weak alias of __fegetround. Use
17699 libm_hidden_weak.
17700 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17701 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17702 * sysdeps/tile/math_private.h (__fegetround): New inline function.
17703 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17704 __fegetround and define as weak alias of __fegetround. Use
17705 libm_hidden_weak.
17706 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17707 __fegetround instead of fegetround.
17708
17709 [BZ #17782]
17710 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17711 Condition macro definition on [__USE_MISC].
17712
17713 [BZ #17781]
17714 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17715 (struct sigaction): Change type of sa_flags field to int.
17716
17717 [BZ #17780]
17718 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17719 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17720 __glibc_reserved0.
17721
17722 * nptl/version.c (banner): Use single year in copyright notice.
17723
17724 * NEWS: Update copyright dates.
17725 * catgets/gencat.c (print_version): Likewise.
17726 * csu/version.c (banner): Likewise.
17727 * debug/catchsegv.sh: Likewise.
17728 * debug/pcprofiledump.c (print_version): Likewise.
17729 * debug/xtrace.sh (do_version): Likewise.
17730 * elf/ldconfig.c (print_version): Likewise.
17731 * elf/ldd.bash.in: Likewise.
17732 * elf/pldd.c (print_version): Likewise.
17733 * elf/sotruss.sh: Likewise.
17734 * elf/sprof.c (print_version): Likewise.
17735 * iconv/iconv_prog.c (print_version): Likewise.
17736 * iconv/iconvconfig.c (print_version): Likewise.
17737 * locale/programs/locale.c (print_version): Likewise.
17738 * locale/programs/localedef.c (print_version): Likewise.
17739 * login/programs/pt_chown.c (print_version): Likewise.
17740 * malloc/memusage.sh (do_version): Likewise.
17741 * malloc/memusagestat.c (print_version): Likewise.
17742 * malloc/mtrace.pl: Likewise.
17743 * manual/libc.texinfo: Likewise.
17744 * nptl/version.c (banner): Likewise.
17745 * nscd/nscd.c (print_version): Likewise.
17746 * nss/getent.c (print_version): Likewise.
17747 * nss/makedb.c (print_version): Likewise.
17748 * posix/getconf.c (main): Likewise.
17749 * scripts/test-installation.pl: Likewise.
17750 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17751
17752 2015-01-02 Will Newton <will.newton@linaro.org>
17753
17754 * sysdeps/arm/armv7/configure: Removed.
17755 * sysdeps/arm/armv7/configure.ac: Likewise.
17756
17757 2015-01-02 Joseph Myers <joseph@codesourcery.com>
17758
17759 * All files with FSF copyright notices: Update copyright dates
17760 using scripts/update-copyrights.
17761 * intl/plural.c: Regenerated.
17762 * locale/programs/charmap-kw.h: Likewise.
17763 * locale/programs/locfile-kw.h: Likewise.
17764
17765 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17766
17767 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17768
17769 2014-12-31 Joseph Myers <joseph@codesourcery.com>
17770
17771 [BZ #17748]
17772 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17773 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17774 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17775 and define as weak alias of __fegetenv. Use libm_hidden_weak.
17776 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17777 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17778 define as weak alias of __fegetenv. Use libm_hidden_weak.
17779 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17780 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17781 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17782 define as weak alias of __fegetenv. Use libm_hidden_weak.
17783 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17784 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17785 define as weak alias of __fegetenv. Use libm_hidden_weak.
17786 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17787 libm_hidden_def.
17788 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17789 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17790 Likewise.
17791 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17792 define as weak alias of __fegetenv. Use libm_hidden_weak.
17793 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17794 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17795 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17796 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17797 and define as weak alias of __fegetenv. Use libm_hidden_weak.
17798 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17799 __fegetenv instead of fegetenv.
17800 (libc_feholdsetround_noex_ctx): Likewise.
17801
17802 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
17803
17804 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17805 (Elf_MIPS_ABIFlags_v0): New structure.
17806 (EF_MIPS_FP64): Define.
17807 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17808 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17809 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17810 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17811 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17812 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17813 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17814 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17815 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17816 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17817 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17818 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17819 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17820 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17821 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17822 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17823 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17824 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17825 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17826 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17827 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17828 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17829 field.
17830 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17831 EF_MIPS_FP64.
17832 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17833 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17834 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17835 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17836 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17837 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17838 * sysdeps/mips/tst-abi-interlink.c: Likewise.
17839 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17840 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17841 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17842 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17843 record the current FP ABI extension.
17844 (mips-mode-switch): Define to show if kernel headers support mode
17845 switching.
17846 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17847 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17848 supported SYSV ABI version to 3.
17849 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17850 feature.
17851
17852 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17853 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17854
17855 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17856 path.
17857 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17858
17859 2014-12-31 Joseph Myers <joseph@codesourcery.com>
17860
17861 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17862 __fegetround and redefine to call __fegetround. Remove condition
17863 on [!__NO_MATH_INLINES].
17864 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17865 function.
17866 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17867 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17868 Remove macro.
17869 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17870 instead of <fenv_libc.h>.
17871 (__llrintl): Call fegetround instead of __fegetround.
17872 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17873 instead of <fenv_libc.h>.
17874 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17875 (__lrintl): Call fegetround instead of __fegetround.
17876 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17877 instead of <fenv_libc.h>.
17878 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17879 (__rintl): Call fegetround instead of __fegetround.
17880
17881 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17882
17883 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17884 arrays.
17885
17886 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
17887
17888 [BZ #17775]
17889 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17890 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17891 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17892
17893 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
17894
17895 * sysdeps/i386/tls-macros.h: Include <features.h>.
17896 (TLS_LE): Use non-PIC version for GCC >= 5.0.
17897 (TLS_IE): Likewise.
17898 (TLS_LD): Likewise.
17899 (TLS_GD): Likewise.
17900 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17901 define for GCC >= 5.0.
17902
17903 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
17904
17905 * math/test-fenv.c (test_single_exception, set_single_exc,
17906 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17907 feexcp_mask_test, feenable_test, fe_single_test): Add
17908 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17909 case where they are not used.
17910 * math/libm-test.inc: Likewise.
17911 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17912 unused in the absence of FP rounding/exception support.
17913 * stdio-common/tst-printf-round.c: Likewise.
17914 * stdlib/tst-strtod-round.c: Likewise.
17915 * stdlib/tst-strtod-underflow.c: Likewise.
17916
17917 2014-12-30 Joseph Myers <joseph@codesourcery.com>
17918
17919 [BZ #17723]
17920 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17921 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17922 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17923 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17924 libm_hidden_weak.
17925 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17926 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17927 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17928 libm_hidden_def.
17929 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17930 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17931 libm_hidden_weak.
17932 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17933 Likewise.
17934 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17935 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17936 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17937 libm_hidden_weak.
17938 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17939 libm_hidden_def.
17940 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17941 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17942 (__feraiseexcept): Likewise.
17943 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17944 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17945 libm_hidden_weak.
17946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17947 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17948 libm_hidden_def.
17949 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17950 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17951 Use libm_hidden_def.
17952 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17953 libm_hidden_def.
17954 (feraiseexcept): Define as weak not strong alias. Use
17955 libm_hidden_weak.
17956 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17957 New inline function. Factored out of ...
17958 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
17959 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17960 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17961 feraiseexcept.
17962 * math/w_acos.c (__acos): Likewise.
17963 * math/w_asin.c (__asin): Likewise.
17964 * math/w_ilogb.c (__ilogb): Likewise.
17965 * math/w_j0.c (y0): Likewise.
17966 * math/w_j1.c (y1): Likewise.
17967 * math/w_jn.c (yn): Likewise.
17968 * math/w_log.c (__log): Likewise.
17969 * math/w_log10.c (__log10): Likewise.
17970 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17971 * sysdeps/aarch64/fpu/math_private.h
17972 (libc_feupdateenv_test_aarch64): Likewise.
17973 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17974 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17975 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17976 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17977 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17978 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17979 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17980 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17981 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17982 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17983
17984 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
17985
17986 [BZ #17732]
17987 * io/test-utime.c (main): Replace %ld with %jd and cast to
17988 intmax_t.
17989 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17990 * nptl/tst-mutex5.c: Include <stdint.h>.
17991 (do_test): Replace %ld with %jd and cast to intmax_t.
17992 * posix/tst-regex.c (run_test): Likewise.
17993 (run_test_backwards): Likewise.
17994 * rt/tst-clock.c: Include <stdint.h>.
17995 (clock_test): Replace %ld with %jd and cast to intmax_t.
17996 * rt/tst-cpuclock1.c: Include <stdint.h>.
17997 (do_test): Replace %lu with %ju and cast to uintmax_t.
17998 * rt/tst-cpuclock2.c: Include <stdint.h>.
17999 (do_test): Replace %lu with %ju and cast to uintmax_t.
18000 * rt/tst-mqueue1.c: Include <stdint.h>.
18001 (check_attrs): Replace %ld with %jd and cast to intmax_t.
18002 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18003 intmax_t.
18004 * rt/tst-mqueue4.c (do_test): Likewise.
18005 * rt/tst-timer4.c: Include <stdint.h>.
18006 (check_ts): Replace %ld with %jd and cast to intmax_t.
18007 (do_test): Likewise.
18008 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18009 and cast to intmax_t.
18010 * sysdeps/pthread/tst-timer.c (main): Likewise.
18011 * time/clocktest.c (main): Likewise.
18012 * time/tst-posixtz.c (do_test): Likewise.
18013 * timezone/tst-timezone.c (main): Likewise.
18014
18015 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
18016 H.J. Lu <hongjiu.lu@intel.com>
18017
18018 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18019 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18020 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18021 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18022 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18023 version if bit_Fast_Unaligned_Load is set.
18024 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18025 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18026 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18027 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18028 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18029 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18031 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18032 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18033 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18034 to 4.
18035 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18036 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18037 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18038 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18039
18040 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
18041
18042 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18043 instead of #if to avoid a Wundef warning.
18044 * stdlib/tst-limits.c (do_test): Likewise.
18045
18046 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18047 parallel other exception macros.
18048 (fegetenv): Convert from macro to extern inline so that it applies
18049 retroactively to inline functions already seen by the compiler.
18050 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18051
18052 * posix/Makefile (before-compile): Use $(objpfx) for
18053 posix-conf-vars-def.h.
18054
18055 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18056
18057 * posix/getconf.c (main): Use size_t for type of I.
18058 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18059 NSPEC.
18060
18061 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18062 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18063 * posix/posix-envs.def: Likewise.
18064 * sysdeps/posix/sysconf.c: Likewise.
18065 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18066 (specs): Remove array.
18067 * scripts/gen-posix-conf-vars.awk: Support generation of specs
18068 array.
18069
18070 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18071 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18072 (__sysconf): Use CONF_IS_* macros.
18073
18074 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18075 ($(objpfx)posix-conf-vars-def.h): New target.
18076 * posix/posix-conf-vars.list: New file.
18077 * posix/posix-conf-vars.h: New file.
18078 * posix/confstr.c: Include posix-conf-vars.h.
18079 (confstr): Use CONF_IS_* macros.
18080 * posix/posix-envs.def: Include posix-conf-vars.h. Use
18081 CONF_IS_* macros.
18082 * scripts/gen-posix-conf-vars.awk: New file.
18083
18084 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
18085
18086 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18087 fegetround): Add no-op macros to avoid linknamespace issues.
18088
18089 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18090 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18091
18092 * sysdeps/unix/sysv/linux/tile/sysdep.h
18093 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18094 assembly-specific section to avoid a redefinition warning.
18095
18096 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18097 long before casting to pointer to avoid a cast warning.
18098
18099 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
18100
18101 * sysdeps/tile/tilegx/Implies: New file.
18102
18103 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
18104
18105 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18106
18107 2014-12-23 Florian Weimer <fweimer@redhat.com>
18108
18109 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18110
18111 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18112
18113 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18114 not define.
18115 * sysdeps/unix/sysv/linux/utimes.c: Do not include
18116 <kernel-features.h>.
18117 (__utimes) [__NR_utimes]: Make code unconditional.
18118 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18119 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18120 (__ASSUME_UTIMES): Do not undefine.
18121 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18122 (__ASSUME_UTIMES): Likewise.
18123 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18124 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18125 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18126 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18127
18128 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18129
18130 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18131
18132 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
18133
18134 [BZ #17747]
18135 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18136 alias to weak alias for j0l, y0l.
18137 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18138 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18139
18140 [BZ #17746]
18141 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18142 conversion.
18143
18144 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18145
18146 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18147 to zero if not already defined.
18148
18149 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18150
18151 [BZ #17724]
18152 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18153 (__kernel_standard_f): Remove. Moved to k_standardf.c.
18154 (__kernel_standard_l): Remove. Moved to k_standardl.c with
18155 (char *) casts added.
18156 * sysdeps/ieee754/k_standardf.c: New file.
18157 * sysdeps/ieee754/k_standardl.c: Likewise.
18158 * math/Makefile (libm-support): Remove k_standard.
18159 (libm-calls): Add k_standard.
18160
18161 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18162
18163 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18164 Optimize to avoid an unnecessary FPCR read.
18165
18166 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18167
18168 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18169 Optimize to reduce FPCR/FPSR accesses.
18170
18171 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18172
18173 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18174 Call libc_fetestexcept_aarch64.
18175
18176 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18177
18178 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18179 Call libc_fesetround_aarch64.
18180
18181 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18182
18183 [BZ #17733]
18184 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18185 (__bind): Do not define as weak alias.
18186 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18187 define.
18188 (__getsockname): Do not define as weak alias.
18189
18190 2014-12-22 Will Newton <will.newton@linaro.org>
18191
18192 * manual/install.texi: Document that we require bison 2.7
18193 or above.
18194 * INSTALL: Regenerate.
18195 * configure.ac: Use AC_CHECK_PROG_VER instead of
18196 AC_PATH_PROG when checking for bison and check for
18197 version 2.7 or above.
18198 * configure: Regenerate.
18199
18200 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
18201
18202 [BZ #17745]
18203 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18204 * sysdeps/tile/ffsll.c (ffsll): To here.
18205
18206 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18207
18208 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
18209
18210 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18211 if not defined.
18212 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18213 definition.
18214 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18215 hidden ___tls_get_addr.
18216 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18217 hidden __tls_get_addr.
18218 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18219 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18220 Likewise.
18221
18222 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
18223
18224 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18225 _dl_init call.
18226
18227 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
18228
18229 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18230 from "call _dl_init@PLT".
18231 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18232
18233 2014-12-21 Anders Kaseorg <andersk@mit.edu>
18234
18235 * manual/search.texi: (Array Sort Function): Clarify stable sorting
18236 guarantees.
18237
18238 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
18239
18240 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18241
18242 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
18243
18244 [BZ #17744]
18245 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18246 strnlen.
18247
18248 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
18249
18250 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18251 of multu on MIPSr6.
18252 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18253 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18254 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18255 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18256 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18257
18258 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
18259
18260 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18261 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18262 (PTR_SUBU): Use subu for mips32r6/mips64r6.
18263 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18264 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18265 mips32r6/mips64r6.
18266 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18267
18268 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
18269
18270 * string/strncat.c (STRNCAT): Simplify implementation.
18271
18272 2014-12-19 David S. Miller <davem@davemloft.net>
18273
18274 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18275 access the quad as both a long double and as a series of 4 words.
18276
18277 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18278 link_map->l_info array access.
18279
18280 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
18281
18282 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18283
18284 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18285 * math/atest-exp2.c (TIMEOUT): Likewise.
18286 * math/atest-sincos.c (TIMEOUT): Likewise.
18287
18288 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
18289
18290 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18291 -Wno-error with -fno-builtin-lround.
18292
18293 2014-12-19 Torvald Riegel <triegel@redhat.com>
18294
18295 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18296 Contains futex constants and functions moved over from ...
18297 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
18298 <lowlevellock-futex.h>.
18299 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18300 (lll_timedwait_tid): Add comments and parentheses around macro
18301 arguments.
18302
18303 2014-12-19 Torvald Riegel <triegel@redhat.com>
18304
18305 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18306 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
18307 (__lll_private_flag): Remove.
18308 (lll_futex_wait): Likewise.
18309 (lll_futex_timed_wait): Likewise.
18310 (lll_futex_wake): Likewise.
18311 (lll_futex_requeue): Likewise.
18312 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18313 (__lll_timedwait_tid): Spell out argument names.
18314 (lll_timedwait_tid): Add comments and parentheses around macro
18315 arguments.
18316 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18317 LLL_SHARED and LLL_PRIVATE usable from assembly code.
18318
18319 2014-12-19 Torvald Riegel <triegel@redhat.com>
18320
18321 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18322 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18323 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18324 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18325 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18326 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18327 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18328 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18329 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18330 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18331 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18332 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18333 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18334 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18335 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18336 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18337 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18338 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18339 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18340
18341 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
18342
18343 * sysdeps/x86_64/x32/Makefile: New file.
18344
18345 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
18346
18347 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18348 1L with (mp_limb_t) 1.
18349
18350 2014-12-17 Roland McGrath <roland@hack.frob.com>
18351
18352 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18353 * nptl/libc_pthread_init.c: ... here.
18354 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18355 * nptl/register-atfork.c: ... here.
18356
18357 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18358 Use pthread_sigmask rather than INTERNAL_SYSCALL.
18359 Use assert_perror to check its return value.
18360 (__gai_create_helper_thread): Likewise.
18361
18362 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18363
18364 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18365
18366 2014-12-17 Joseph Myers <joseph@codesourcery.com>
18367
18368 [BZ #17725]
18369 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18370 __profil_counter.
18371 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18372 Likewise.
18373 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18374 Likewise.
18375 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18376 Likewise.
18377 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18378 (profil_counter): Likewise.
18379 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18380 (profil_counter): Likewise.
18381 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18382 Likewise.
18383 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18384 Likewise.
18385 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18386 (profil_counter): Likewise.
18387 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18388 Likewise.
18389 [!__profil_counter] (profil_counter): Define as weak alias of
18390 __profil_counter.
18391 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18392 (profil_counter): Rename to __profil_counter.
18393 [!__profil_counter] (profil_counter): Define as weak alias of
18394 __profil_counter.
18395 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18396 (profil_counter): Rename to __profil_counter.
18397 [!__profil_counter] (profil_counter): Define as weak alias of
18398 __profil_counter.
18399 * sysdeps/posix/profil.c: Update comment referring to
18400 profil_counter.
18401 (__profil): Use __profil_counter instead of profil_counter.
18402 * sysdeps/posix/sprofil.c (profil_counter): Rename to
18403 __profil_counter. Use __profil_counter_ushort and
18404 __profil_counter_uint in definitions.
18405 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18406 instead of profil_counter_uint and profil_counter_ushort.
18407
18408 [BZ #17722]
18409 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18410 define as weak alias of __inet_makeaddr.
18411 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18412 as weak alias of __inet_addr.
18413 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18414 as weak alias of __inet_pton. Use libc_hidden_weak.
18415 * include/arpa/inet.h (__inet_pton): Declare. Use
18416 libc_hidden_proto.
18417 (inet_makeaddr): Don't use libc_hidden_proto.
18418 (__inet_makeaddr): Declare. Use libc_hidden_proto.
18419 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18420 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
18421 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18422 Remove variable.
18423 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18424 (test-xfail-POSIX/time.h/linknamespace): Likewise.
18425
18426 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
18427
18428 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18429
18430 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
18431
18432 * stdio-common/bug-vfprintf-nargs.c (do_test):
18433 Cast value to intptr_t to avoid format warning
18434 for usage with PRIdPTR printing macro.
18435
18436 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
18437
18438 * libio/tst-widetext.c (do_test):
18439 Use format type %td instead of %Zd for ptrdiff_t
18440 in order to avoid format warning.
18441
18442 2014-12-17 Andreas Schwab <schwab@suse.de>
18443
18444 * nscd/mem.c (gc): Add size_t cast to match printf format.
18445
18446 2014-12-16 Roland McGrath <roland@hack.frob.com>
18447
18448 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18449 (init): Apply PTR_MANGLE to pointers before storing them.
18450 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18451 before using them.
18452
18453 2014-12-16 Joseph Myers <joseph@codesourcery.com>
18454
18455 [BZ #17719]
18456 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18457 define as weak alias of __memrchr.
18458 (__memrchr): Do not define as strong alias of memrchr.
18459 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18460 Remove variable.
18461 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18462 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18463 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18464
18465 [BZ #17717]
18466 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18467 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
18468 (if_indextoname): Rename to __if_indextoname and define as weak
18469 alias of __if_indextoname. Use libc_hidden_weak.
18470 (if_freenameindex): Rename to __if_freenameindex and define as
18471 weak alias of __if_freenameindex.
18472 (if_nameindex): Rename to __if_nameindex and define as weak alias
18473 of __if_nameindex.
18474 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18475 __if_nametoindex and define as weak alias of __if_nametoindex.
18476 Use libc_hidden_weak.
18477 (if_freenameindex): Rename to __if_freenameindex and define as
18478 weak alias of __if_freenameindex.
18479 (if_nameindex): Rename to __if_nameindex and define as weak alias
18480 of __if_nameindex.
18481 (if_indextoname): Rename to __if_indextoname and define as weak
18482 alias of __if_indextoname. Use libc_hidden_weak.
18483 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18484 __if_nametoindex and define as weak alias of __if_nametoindex.
18485 Use libc_hidden_weak.
18486 (if_freenameindex): Rename to __if_freenameindex and define as
18487 weak alias of __if_freenameindex. Use libc_hidden_weak.
18488 (if_nameindex_netlink): Use __if_freenameindex instead of
18489 if_freenameindex.
18490 (if_nameindex): Rename to __if_nameindex and define as weak alias
18491 of __if_nameindex. Use libc_hidden_weak.
18492 (if_indextoname): Rename to __if_indextoname and define as weak
18493 alias of __if_indextoname. Use libc_hidden_weak.
18494 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18495 libc_hidden_proto.
18496 [!_ISOMAC] (__if_freenameindex): Likewise.
18497 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18498 if_nametoindex.
18499 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18500 variable.
18501 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18502 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18503 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18504 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18505 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18506 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18507 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18508
18509 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18510 Remove variable.
18511 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18512 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18513
18514 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18515
18516 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18517 subscript above bounds'
18518
18519 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18520 bounds.
18521
18522 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
18523
18524 * libio/tst-fopenloc.c: Use test-skeleton.c.
18525
18526 * stdlib/tst-bsearch.c: Use test-skeleton.c.
18527 (entry): Rename to ITEM.
18528 (do_test, comp): Adjust.
18529
18530 * stdio-common/tst-fseek.c: Use test-skeleton.c.
18531
18532 2014-12-16 Torvald Riegel <triegel@redhat.com>
18533
18534 * string/tester.c: Include <libc-internal.h>.
18535 (test_memset): Ignore -Wmemset-transposed-args.
18536
18537 2014-12-16 Torvald Riegel <triegel@redhat.com>
18538
18539 * misc/tst-mntent2.c (do_test): Fix warning.
18540
18541 2014-12-16 Torvald Riegel <triegel@redhat.com>
18542
18543 * elf/tst-unique4lib.cc(a): Mark as used.
18544
18545 2014-12-16 Florian Weimer <fweimer@redhat.com>
18546
18547 [BZ #17630]
18548 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18549 names.
18550
18551 2014-12-16 Allan McRae <allan@archlinux.org>
18552
18553 * stdio-common/Makefile (tests): Re-add bug26.
18554
18555 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
18556
18557 [BZ #17657]
18558 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18559 static array.
18560
18561 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
18562
18563 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18564 (__lll_lock_wait): Likewise.
18565 (__lll_timedlock_wait): Likewise.
18566 (__lll_timedwait_tid): Likewise.
18567 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18568 (__lll_robust_timedlock_wait): Likewise.
18569 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18570 (lll_cond_trylock): Likewise.
18571 (__lll_lock): Likewise.
18572 (__lll_robust_lock): Likewise.
18573 (__lll_cond_lock): Likewise.
18574 (lll_robust_cond_lock): Likewise.
18575 (__lll_timedlock): Likewise.
18576 (__lll_robust_timedlock): Likewise.
18577 (__lll_unlock): Likewise.
18578 (__lll_robust_unlock): Likewise.
18579 (lll_wait_tid): Likewise.
18580 (lll_timedwait_tid): Likewise.
18581
18582 2014-12-15 Torvald Riegel <triegel@redhat.com>
18583
18584 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18585
18586 2014-12-15 Torvald Riegel <triegel@redhat.com>
18587
18588 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18589
18590 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
18591
18592 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18593 * stdio-common/tst-sprintf.c: Likewise.
18594
18595 2014-12-15 Torvald Riegel <triegel@redhat.com>
18596
18597 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18598
18599 2014-12-15 Jeff Law <law@redhat.com>
18600
18601 [BZ #16617]
18602 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18603 on the heap. (CVE-2012-3406)
18604 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18605 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
18606 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18607
18608 2014-12-15 Will Newton <will.newton@linaro.org>
18609
18610 * manual/install.texi: Bump required version of texinfo
18611 to 4.7 from 4.5.
18612 * INSTALL: Regenerated.
18613 * configure.ac: Check for makeinfo version 4.7 and above.
18614 * configure: Regenerated.
18615
18616 2014-12-12 Roland McGrath <roland@hack.frob.com>
18617
18618 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18619 PREFIX, string constant to insert between directory and name.
18620 * sysdeps/posix/shm_open.c: Update caller.
18621 * sysdeps/posix/shm_unlink.c: Likewise.
18622 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18623 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18624 (SEM_SHM_PREFIX): New macro.
18625 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18626 [$(have-thread-library) = no].
18627 * nptl/Makefile (libpthread-routines): Add shm-directory.
18628 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18629 * sysdeps/nptl/shm-directory.h: New file.
18630 * sysdeps/posix/shm-directory.c
18631 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18632 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18633 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18634 INTERNAL_SYSCALL.
18635 (__where_is_shmfs): Function removed.
18636 (mountpoint, defaultmount, defaultdir, __namedsem_once):
18637 Variables removed.
18638 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18639 Use SHM_GET_NAME.
18640 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
18641
18642 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18643 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18644 unconditional for use inside libpthread.
18645 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18646
18647 2014-12-12 Roland McGrath <roland@hack.frob.com>
18648
18649 * nptl/pthread_getaffinity.c: New file.
18650 * nptl/pthread_setaffinity.c: New file.
18651 * nptl/pthread_getname.c: New file.
18652 * nptl/pthread_setname.c: New file.
18653
18654 * nptl/pthread_create.c (START_THREAD_DEFN)
18655 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18656
18657 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18658 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18659
18660 * resolv/res_send.c (send_vc): Disable warning resplen may
18661 be used uninitialized.
18662
18663 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18664
18665 * nptl/tst-mutex6.c
18666 (ATTR_NULL): New define checks ATTR against NULL.
18667 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18668 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18669
18670 2014-12-11 James Lemke <jwlemke@codesourcery.com>
18671
18672 [BZ #17581]
18673 * malloc/hooks.c
18674 (mem2mem_check): Revert my previous change.
18675 (malloc_check_get_size): Revert my previous change.
18676 (mem2chunk_check): Revert my previous change.
18677
18678 2014-12-11 Roland McGrath <roland@hack.frob.com>
18679
18680 * sysdeps/posix/shm-directory.c: New file.
18681 * sysdeps/posix/shm-directory.h: New file.
18682 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18683 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18684 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
18685 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18686 Transmute EPERM to EACCES.
18687 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18688 from ...
18689 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
18690 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18691
18692 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18693
18694 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18695 pointer and cast to uintptr_t.
18696 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18697 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18698 Add cast to avoid warning.
18699 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18700
18701 2014-12-11 Joseph Myers <joseph@codesourcery.com>
18702
18703 * nptl/semaphore.h: Move to ...
18704 * sysdeps/pthread/semaphore.h: ... here.
18705 * Makefile (installed-headers): Change nptl/semaphore.h to
18706 sysdeps/pthread/semaphore.h.
18707
18708 2014-12-11 Roland McGrath <roland@hack.frob.com>
18709
18710 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18711 generated error format strings.
18712
18713 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18714 -Wformat-extra-args warnings for scanf formats.
18715 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18716 test of zero-length format (duh).
18717 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18718 corner-case scanf format test.
18719 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18720 generated fprintf format string.
18721 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18722 corner-case sprintf format tests.
18723 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18724 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18725 -Wformat-extra-args warnings throughout.
18726 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18727 (CFLAGS-scanf4.c): Likewise.
18728 (CFLAGS-scanf7.c): Likewise.
18729 (CFLAGS-tst-sprintf.c): Likewise.
18730 (CFLAGS-tst-printf.c): Likewise.
18731 (CFLAGS-tst-printfsz.c): Likewise.
18732
18733 2014-12-11 Joseph Myers <joseph@codesourcery.com>
18734
18735 * include/cpio.h: New file.
18736 * include/fmtmsg.h: Likewise.
18737
18738 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
18739 corresponding format argument to size_t.
18740 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
18741 arguments.
18742 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
18743 corresponding format argument to size_t.
18744 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
18745 arguments.
18746 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
18747 corresponding format argument to size_t.
18748 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18749 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18750 (CFLAGS-tst-mbswcs2.c): Likewise.
18751 (CFLAGS-tst-mbswcs3.c): Likewise.
18752 (CFLAGS-tst-mbswcs4.c): Likewise.
18753 (CFLAGS-tst-mbswcs5.c): Likewise.
18754 (CFLAGS-tst-trans.c): Likewise.
18755
18756 2014-12-11 Roland McGrath <roland@hack.frob.com>
18757
18758 * posix/regexbug1.c (main): Use "%s" format with regerror results,
18759 rather than assuming they won't contain any '%'s.
18760
18761 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
18762
18763 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18764 inhibit_loop_to_libcall to avoid recursive calls.
18765 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18766 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18767
18768 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
18769
18770 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18771 prototype.
18772
18773 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
18774
18775 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18776 integer value instead of boolean.
18777
18778 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
18779
18780 * malloc/malloc.c: Fix powerof2 check.
18781
18782 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18783
18784 * locale/programs/locfile.h (maybe_swap_uint32):
18785 Remove inline and add unused attribute.
18786
18787 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18788
18789 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18790 Truncating assembler expression to a .long expression.
18791
18792 2014-12-11 Andreas Schwab <schwab@suse.de>
18793
18794 * elf/rtld.c (struct map_args): Constify str member.
18795 (do_preload): Constify fname argument.
18796
18797 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18798
18799 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18800 constants definition.
18801
18802 2014-12-11 Andreas Schwab <schwab@suse.de>
18803
18804 [BZ #16657]
18805 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18806 FORCE_ELISION instead of DO_ELISION.
18807 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18808 Remove.
18809 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18810 Likewise.
18811
18812 * iconvdata/gconv-modules: Remove duplicate entry.
18813
18814 2014-12-11 Will Newton <will.newton@linaro.org>
18815
18816 Merge gettext 0.19.3 into intl/.
18817
18818 This involves a number of cosmetic changes to comments
18819 and ANSI function definitions and prototypes throughout
18820 all the files. The gettext copyright header is used but
18821 with the date ranges taken from the glibc copy.
18822
18823 * NEWS: Add gettext merge to 2.21.
18824 * intl/bindtextdom.c: Switch to gettext copyright.
18825 Use ANSI definitions and prototypes.
18826 Use gl_* locking primitives rather than __libc_* ones.
18827 Use __builtin_expect rather than __glibc_likely/unlikely.
18828 * intl/dcgettext.c: Switch to gettext copyright.
18829 Use ANSI definitions and prototypes.
18830 * intl/dcigettext.c: Switch to gettext copyright.
18831 Use ANSI definitions and prototypes.
18832 (INTDIV0_RAISES_SIGFPE): New define.
18833 Use gl_* locking primitives rather than __libc_* ones.
18834 Include eval-plural.h instead of plural-eval.c.
18835 Use __builtin_expect rather than __glibc_likely/unlikely.
18836 * intl/dcngettext.c: Switch to gettext copyright.
18837 Use ANSI definitions and prototypes.
18838 * intl/dgettext.c: Likewise.
18839 * intl/dngettext.c: Likewise.
18840 * intl/plural-eval.c: Renamed to...
18841 * intl/eval-plural.h: ...this.
18842 * intl/explodename.c: Switch to gettext copyright.
18843 Use ANSI definitions and prototypes.
18844 (_nl_explode_name): Use strchr instead of __rawmemchr.
18845 * intl/finddomain.c: Switch to gettext copyright.
18846 Use ANSI definitions and prototypes.
18847 Use gl_* locking primitives rather than __libc_* ones.
18848 (_nl_find_domain): Use malloc rather than alloca for
18849 allocation of temporary locale name.
18850 * intl/gettext.c: Switch to gettext copyright.
18851 Use ANSI definitions and prototypes.
18852 * intl/gettextP.h: Switch to gettext copyright.
18853 Use ANSI definitions and prototypes.
18854 Use gl_* locking primitives rather than __libc_* ones.
18855 * intl/gmo.h: Switch to gettext copyright.
18856 (struct sysdep_string): Move struct segment_pair outside of
18857 struct definition.
18858 * intl/hash-string.c: Use ANSI definitions and prototypes.
18859 * intl/hash-string.h: Switch to gettext copyright.
18860 Use ANSI definitions and prototypes.
18861 * intl/l10nflist.c: Switch to gettext copyright.
18862 Use ANSI definitions and prototypes.
18863 (_nl_normalize_codeset): Avoid integer overflow.
18864 * intl/loadinfo.h: Switch to gettext copyright.
18865 Use ANSI definitions and prototypes.
18866 (LIBINTL_DLL_EXPORTED): New define.
18867 (PATH_SEPARATOR): New define.
18868 * intl/loadmsgcat.c: Switch to gettext copyright.
18869 * intl/localealias.c: Switch to gettext copyright.
18870 Use ANSI definitions and prototypes.
18871 (_nl_expand_alias): Use PATH_SEPARATOR.
18872 * intl/ngettext.c: Switch to gettext copyright.
18873 Use ANSI definitions and prototypes.
18874 * intl/plural-exp.c: Likewise.
18875 * intl/plural-exp.h: Switch to gettext copyright.
18876 Use ANSI definitions and prototypes.
18877 (struct expression): Move definition of enum operator outside
18878 of struct definition.
18879 * intl/plural.c: Regenerate.
18880 * intl/plural.y: Switch to gettext copyright.
18881 Use ANSI definitions and prototypes.
18882 Port to bison 3.0.
18883 * intl/textdomain.c: Switch to gettext copyright.
18884 Use ANSI definitions and prototypes.
18885 Use gl_* locking primitives rather than __libc_* ones.
18886
18887 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
18888
18889 * debug/warning-nop.c: Add used atrribute.
18890
18891 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18892
18893 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18894
18895 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18896 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18897 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18898
18899 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18900 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18901
18902 [BZ #17634]
18903 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18904 Undefine after defining function. Define as weak alias of
18905 __wcschr. Use libc_hidden_weak.
18906 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
18907 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18908 (libc_hidden_def): Also define __GI___wcschr alias.
18909 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18910 __wcschr and define as weak alias of __wcschr.
18911 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18912 __wcschr.
18913 [!WCSCHR] (DEFAULT_WCSCHR): Define.
18914 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18915 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
18916 libc_hidden_weak. Do not use libc_hidden_def.
18917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18918 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18919 __GI___wcschr alias.
18920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18921 [IS_IN (libc)] (wcschr): Define as macro expanding to
18922 __redirect_wcschr.
18923 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18924 [IS_IN (libc)] (__wcschr_power6): Likewise.
18925 [IS_IN (libc)] (__wcschr_power7): Likewise.
18926 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
18927 instead of wcschr.
18928 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18929 __libc_wcschr.
18930 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18931 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18932 __wcschr and define as weak alias of __wcschr. Use
18933 libc_hidden_builtin_def.
18934 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18935 as weak alias of __wcschr. Use libc_hidden_weak.
18936 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18937 wcschr.
18938 * time/era.c (_nl_init_era_entries): Likewise.
18939 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18940 variable.
18941 (test-xfail-XPG3/time.h/linknamespace): Likewise.
18942 (test-xfail-XPG4/time.h/linknamespace): Likewise.
18943
18944 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18945
18946 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18947 format for long int variable.
18948
18949 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
18950
18951 [BZ #10672]
18952 * manual/search.texi: (Array Sort Function): Remove claim how to make
18953 qsort stable.
18954
18955 2014-12-10 Andreas Schwab <schwab@suse.de>
18956
18957 [BZ #12847]
18958 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18959 user-controlled locks.
18960
18961 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
18962
18963 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18964 register.
18965
18966 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18967
18968 * configure.ac (--disable-werror): New configure option.
18969 (enable_werror): New AC_SUBST.
18970 * configure: Regenerated.
18971 * config.make.in (enable-werror): New variable.
18972 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18973 -Wno-error=undef.
18974 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18975 * manual/install.texi (Configuring and compiling): Document
18976 --disable-werror.
18977 * INSTALL: Regenerated.
18978 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18979 (CFLAGS-tst-chk2.c): Likewise.
18980 (CFLAGS-tst-chk3.c): Likewise.
18981 (CFLAGS-tst-chk4.cc): Likewise.
18982 (CFLAGS-tst-chk5.cc): Likewise.
18983 (CFLAGS-tst-chk6.cc): Likewise.
18984 (CFLAGS-tst-lfschk1.c): Likewise.
18985 (CFLAGS-tst-lfschk2.c): Likewise.
18986 (CFLAGS-tst-lfschk3.c): Likewise.
18987 (CFLAGS-tst-lfschk4.cc): Likewise.
18988 (CFLAGS-tst-lfschk5.cc): Likewise.
18989 (CFLAGS-tst-lfschk6.cc): Likewise.
18990
18991 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18992 (main): Disable -Wdeprecated-declarations around calls to
18993 register_printf_function.
18994
18995 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18996 (do_test): Disable -Wdiv-by-zero around some calls to
18997 fwrite_unlocked and fread_unlocked.
18998
18999 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19000 (DIAG_POP_NEEDS_COMMENT): Likewise.
19001 (_DIAG_STR1): Likewise.
19002 (_DIAG_STR): Likewise.
19003 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19004 * stdio-common/bug21.c: Include <libc-internal.h>.
19005 (do_test): Disable -Wformat around call to sscanf.
19006 * stdio-common/scanf14.c: Include <libc-internal.h>.
19007 (main): Disable -Wformat around some calls to scanf functions.
19008
19009 2014-12-09 Torvald Riegel <triegel@redhat.com>
19010
19011 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19012
19013 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19014
19015 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19016 stack variable alignment.
19017
19018 2014-12-06 Joseph Myers <joseph@codesourcery.com>
19019
19020 [BZ #17682]
19021 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19022 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19023 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19024 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19025 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19026 __getrlimit instead of getrlimit.
19027 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19028 __gettimeofday instead of gettimeofday.
19029 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19030 Likewise.
19031 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19032 Likewise.
19033 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19034 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19035 Remove variable.
19036 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19037 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19038
19039 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19040
19041 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19042 for wide-character tests.
19043
19044 2014-12-04 Roland McGrath <roland@hack.frob.com>
19045
19046 * io/openat64.c: #include <libc-internal.h>
19047 (__openat64): Prototypify. Use ignore_value on MODE.
19048 * io/openat.c: Likewise.
19049 * misc/reboot.c: #include <libc-internal.h>
19050 (reboot): Prototypify. Use ignore_value on HOWTO.
19051 * misc/ptrace.c: #include <libc-internal.h>
19052 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
19053
19054 2014-12-04 Joseph Myers <joseph@codesourcery.com>
19055
19056 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19057 XPG4, UNIX98 and XOPEN2K.
19058 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19059 Remove variable.
19060 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19061
19062 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19063
19064 * libio/fileops.c: Use ISO C style for function definitions.
19065 * libio/iofopen.c: Likewise.
19066 * libio/wfileops.c: Likewise.
19067
19068 [BZ #17653]
19069 * libio/fileops.c (_IO_new_file_underflow): Unset cached
19070 offset on EOF.
19071 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19072 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19073 (fgets_func): Function pointer to fgets and fgetws.
19074 (do_ftell_test): Add test to verify ftell value after read
19075 EOF.
19076 (do_test): Set fgets_func.
19077
19078 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19079 O_TRUNC flag for w and w+ modes.
19080 (do_rewind_test): Likewise.
19081 (do_ftell_test): Likewise.
19082 (do_write_test): Likewise.
19083
19084 [BZ #17647]
19085 * libio/fileops.c (do_ftell): Seek only when there are
19086 unflushed writes.
19087 * libio/wfileops.c (do_ftell_wide): Likewise.
19088 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19089 test case.
19090 (do_one_test): Call it.
19091
19092 2014-12-03 Joseph Myers <joseph@codesourcery.com>
19093
19094 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19095 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19096 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19097 Remove variable.
19098 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19099 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19100 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19101
19102 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19103
19104 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19105 Remove variable.
19106 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19107
19108 [BZ #17668]
19109 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19110 as weak alias of __getifaddrs. Use libc_hidden_weak.
19111 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19112 __freeifaddrs. Use libc_hidden_weak.
19113 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19114 define as weak alias of __getifaddrs. Use libc_hidden_weak.
19115 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19116 __freeifaddrs. Use libc_hidden_weak.
19117 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19118 __getifaddrs and define as weak alias of __getifaddrs. Use
19119 libc_hidden_weak.
19120 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19121 __freeifaddrs. Use libc_hidden_weak.
19122 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19123 Remove variable.
19124 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19125 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19126
19127 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
19128
19129 [BZ #17601]
19130 * sysdeps/mips/start.S (__start): Use indirect jump to call
19131 __libc_start_main.
19132
19133 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19134
19135 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19136
19137 * nptl/tst-mutex1.c: Include <stdbool.h>.
19138 [!ATTR] (ATTR_NULL): New macro.
19139 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19140 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19141 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19142
19143 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19144 to char *.
19145
19146 [BZ #17665]
19147 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19148 Change conditional to [__USE_MISC].
19149
19150 [BZ #17664]
19151 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19152 fgets_unlocked.
19153 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19154 __fgets_unlocked.
19155 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19156 fgets_unlocked.
19157 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19158 Remove variable.
19159 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19160 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19161 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19162 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19163 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19164 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19165 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19166 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19167 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19168
19169 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19170
19171 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19172
19173 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19174 Remove strpbrk objects.
19175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19176 (__libc_ifunc_impl_list): Remove strpbrk implementation.
19177 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19178 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19179 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19180 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19181
19182 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19183 Remove strcspn objects.
19184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19185 (__libc_ifunc_impl_list): Remove strcspn implementation.
19186 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19187 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19188 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19189 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19190
19191 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19192 Remove strspn objetcs.
19193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19194 (__libc_ifunc_impl_list): Remove strspn implementation.
19195 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19196 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19197 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19198 * sysdeps/powerpc/powerpc64/strspn.S: New file.
19199
19200 2014-12-01 James Lemke <jwlemke@codesourcery.com>
19201
19202 [BZ #17581]
19203 * malloc/hooks.c
19204 (mem2mem_check): Add a terminator to the chain of checking blocks.
19205 (malloc_check_get_size): Use it here.
19206 (mem2chunk_check): Ditto.
19207
19208 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19209
19210 * sysdeps/powerpc/powerpc64/strtok.S: New file.
19211 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19212
19213 2014-11-29 Carlos O'Donell <carlos@redhat.com>
19214
19215 * bits/ioctl-types.h: Indent preprocessor directives correctly.
19216
19217 * nptl/nptl-init.c: Include libc-internal.h.
19218 (__pthread_initialize_minimal_internal): Use ROUND_UP.
19219
19220 * elf/ldconfig.c (search_dir): Expand comment.
19221
19222 2014-11-29 Joseph Myers <joseph@codesourcery.com>
19223
19224 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19225 variable.
19226 (linknamespace-symlist-stdlibs-tests): Likewise.
19227 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19228 instead of $(objpfx)symlist-stdlibs.
19229 (linknamespace-libs-isoc): New variable.
19230 (linknamespace-libs): Use $(linknamespace-libs-isoc).
19231 (linknamespace-libs-ISO): New variable.
19232 (linknamespace-libs-ISO99): Likewise.
19233 (linknamespace-libs-ISO11): Likewise.
19234 (linknamespace-libs-XPG3): Likewise.
19235 (linknamespace-libs-XPG4): Likewise.
19236 (linknamespace-libs-POSIX): Likewise.
19237 (linknamespace-libs-UNIX98): Likewise.
19238 (linknamespace-libs-XOPEN2K): Likewise.
19239 (linknamespace-libs-POSIX2008): Likewise.
19240 (linknamespace-libs-XOPEN2K8): Likewise.
19241 ($(objpfx)symlist-stdlibs): Replace by
19242 $(linknamespace-symlist-stdlibs-tests). Use
19243 $(linknamespace-libs-$*) as set of libraries.
19244 ($(linknamespace-header-tests)): Update dependencies. Use
19245 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19246 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19247 * conform/linknamespace.pl: Remove comment about considering
19248 definitions of symbols from irrelevant libraries.
19249
19250 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
19251
19252 [BZ #13862]
19253 * elf/dl-tls.c: Include <atomic.h>.
19254 (oom): Remove #ifdef SHARED/#endif.
19255 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19256 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
19257 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19258 big enough.
19259 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19260 * nptl/Makefile (tests): Add tst-stack4.
19261 (modules-names): Add tst-stack4mod.
19262 ($(objpfx)tst-stack4): New.
19263 (tst-stack4mod.sos): Likewise.
19264 ($(objpfx)tst-stack4.out): Likewise.
19265 ($(tst-stack4mod.sos)): Likewise.
19266 (clean): Likewise.
19267 * nptl/tst-stack4.c: New file.
19268 * nptl/tst-stack4mod.c: Likewise.
19269
19270 2014-11-27 J. Brown <jb999@gmx.de>
19271
19272 * sysdeps/x86/bits/string.h: Add recent CPUs.
19273
19274 2014-11-27 Joseph Myers <joseph@codesourcery.com>
19275
19276 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19277 sigblock.
19278
19279 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19280 feof.
19281
19282 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19283 variable.
19284
19285 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
19286
19287 * nscd/connections.c: Include libc-internal.h because of macro
19288 usage ignore_value.
19289
19290 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19291
19292 * string/bits/string3.h (__warn_memset_zero_len): Don't
19293 declare for gcc newer than 5.0.
19294 (memset): Don't test for zero-length __LEN for gcc newer than
19295 5.0.
19296
19297 2014-11-27 Joseph Myers <joseph@codesourcery.com>
19298
19299 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19300 size_t for %zu format.
19301
19302 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19303 difference, not %ju.
19304
19305 2014-11-26 Joseph Myers <joseph@codesourcery.com>
19306
19307 * include/libc-internal.h (ignore_value): New macro.
19308 * nscd/connections.c (restart): Wrap calls to setuid and setgid
19309 with ignore_value.
19310
19311 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19312 definition.
19313
19314 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19315 pthread_cleanup_push to void *.
19316
19317 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19318 Undefine.
19319
19320 [BZ #16619]
19321 [BZ #16740]
19322 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19323 instead of 1L << 52.
19324
19325 * libio/bug-rewind.c (do_test): Check fwscanf return values.
19326 * libio/bug-rewind2.c (do_test): Likewise.
19327
19328 * debug/test-stpcpy_chk-ifunc.c: Remove file.
19329 * debug/test-strcpy_chk-ifunc.c: Likewise.
19330 * wcsmbs/test-wcschr-ifunc.c: Likewise.
19331 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19332 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19333 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19334 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19335 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19336 * Rules [$(multi-arch) = no] (tests): Do not filter out
19337 $(tests-ifunc).
19338 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19339 * debug/Makefile (tests-ifunc): Remove variable.
19340 (tests): Do not add $(tests-ifunc).
19341 * wcsmbs/Makefile (tests-ifunc): Remove variable.
19342 (tests): Do not add $(tests-ifunc).
19343 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19344 [TEST_IFUNC]: Remove conditionals.
19345 * string/test-string.h (TEST_IFUNC): Remove macro.
19346 [TEST_IFUNC]: Remove conditionals.
19347
19348 * string/test-strchr.c [!WIDE] (L): New macro.
19349 [WIDE] (L): Likewise.
19350 (check1): Use CHAR instead of char. Use L on string and character
19351 constants.
19352
19353 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
19354
19355 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19356 tests.
19357 * sysdeps/powerpc/bits/atomic.h
19358 (__arch_atomic_exchange_and_add_32_acq): Add definition.
19359 (__arch_atomic_exchange_and_add_32_rel): Likewise.
19360 (atomic_exchange_and_add_acq): Likewise.
19361 (atomic_exchange_and_add_rel): Likewise.
19362 * sysdeps/powerpc/powerpc32/bits/atomic.h
19363 (__arch_atomic_exchange_and_add_64_acq): Add definition.
19364 (__arch_atomic_exchange_and_add_64_rel): Likewise.
19365 * sysdeps/powerpc/powerpc64/bits/atomic.h
19366 (__arch_atomic_exchange_and_add_64_acq): Add definition.
19367 (__arch_atomic_exchange_and_add_64_rel): Likewise.
19368
19369 2014-11-26 Torvald Riegel <triegel@redhat.com>
19370
19371 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19372 Change synchronization of __sched_fifo_min_prio and
19373 __sched_fifo_max_prio.
19374 * nptl/pthread_mutexattr_getprioceiling.c
19375 (pthread_mutexattr_getprioceiling): Likewise.
19376 * nptl/pthread_mutexattr_setprioceiling.c
19377 (pthread_mutexattr_setprioceiling): Likewise.
19378 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19379 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19380 Likewise.
19381
19382 2014-11-26 Joseph Myers <joseph@codesourcery.com>
19383
19384 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19385 void.
19386
19387 2014-11-25 Joseph Myers <joseph@codesourcery.com>
19388
19389 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19390 third argument const.
19391
19392 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
19393
19394 fnmatch: work around GCC compiler warning bug with uninit var
19395 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19396 This works around a bug with x86-64 GCC 4.9.2 and earlier
19397 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19398 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19399 used uninitialized in this function [-Wmaybe-uninitialized]".
19400
19401 2014-11-25 Joseph Myers <joseph@codesourcery.com>
19402
19403 * posix/bug-regex31.c (main): Return RES not 0.
19404
19405 2014-11-25 Anton Blanchard <anton@samba.org>
19406
19407 * sysdeps/powerpc/bits/atomic.h
19408 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19409
19410 2014-11-24 Sterling Augustine <saugustine@google.com>
19411
19412 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19413
19414 2014-11-24 Ryan Cumming <etaoins@gmail.com>
19415
19416 [BZ #17608]
19417 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19418
19419 2014-11-24 Joseph Myers <joseph@codesourcery.com>
19420
19421 [BZ #17633]
19422 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19423 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19424 variable.
19425 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19426 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19427
19428 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
19429
19430 * string/strncpy.c (strncpy): Improve performance by using memset.
19431
19432 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
19433
19434 * string/strcpy.c (strcpy):
19435 Improve performance by using strlen and memcpy.
19436
19437 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
19438
19439 * string/strcoll_l.c (get_next_seq): __always_inline.
19440 * string/strcoll_l.c (do_compare): __always_inline.
19441
19442 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19443
19444 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19445 defined.
19446 * include/mqueue.h: Likewise.
19447 * include/stdlib.h: Likewise.
19448
19449 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19450 (get_null_defines): Adjust.
19451 * sunrpc/Makefile: Adjust comment.
19452 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19453 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19454 (CFLAGS-interp.c): Likewise.
19455 (CFLAGS-ldconfig.c): Likewise.
19456 (CPPFLAGS-.os): Likewise.
19457 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19458 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19459 * extra-modules.mk (extra-modules.mk): Likewise.
19460 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19461 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19462 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19463 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19464 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19465 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19466 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19467 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19468 * iconvdata/Makefile (CPPFLAGS): Likewise.
19469 (cpp-srcs-left): Add libof for all iconvdata routines.
19470 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19471 * include/assert.h: Likewise.
19472 * include/ctype.h: Likewise.
19473 * include/errno.h: Likewise.
19474 * include/libc-symbols.h: Likewise.
19475 * include/math.h: Likewise.
19476 * include/netdb.h: Likewise.
19477 * include/resolv.h: Likewise.
19478 * include/stdio.h: Likewise.
19479 * include/stdlib.h: Likewise.
19480 * include/string.h: Likewise.
19481 * include/sys/stat.h: Likewise.
19482 * include/wctype.h: Likewise.
19483 * intl/l10nflist.c: Likewise.
19484 * libidn/idn-stub.c: Likewise.
19485 * libio/libioP.h: Likewise.
19486 * nptl/libc_multiple_threads.c: Likewise.
19487 * nptl/pthreadP.h: Likewise.
19488 * posix/regex_internal.h: Likewise.
19489 * resolv/res_hconf.c: Likewise.
19490 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19491 * sysdeps/arm/memmove.S: Likewise.
19492 * sysdeps/arm/sysdep.h: Likewise.
19493 * sysdeps/generic/_itoa.h: Likewise.
19494 * sysdeps/generic/symbol-hacks.h: Likewise.
19495 * sysdeps/gnu/errlist.awk: Likewise.
19496 * sysdeps/gnu/errlist.c: Likewise.
19497 * sysdeps/i386/i586/memcpy.S: Likewise.
19498 * sysdeps/i386/i586/memset.S: Likewise.
19499 * sysdeps/i386/i686/memcpy.S: Likewise.
19500 * sysdeps/i386/i686/memmove.S: Likewise.
19501 * sysdeps/i386/i686/mempcpy.S: Likewise.
19502 * sysdeps/i386/i686/memset.S: Likewise.
19503 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19504 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19505 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19506 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19507 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19508 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19509 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19510 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19511 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19513 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19514 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19515 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19516 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19517 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19518 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19519 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19520 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19521 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19522 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19523 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19524 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19525 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19526 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19527 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19528 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19529 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19530 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19531 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19532 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19533 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19534 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19536 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19537 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19539 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19540 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19541 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19542 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19544 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19546 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19547 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19548 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19549 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19550 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19551 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19552 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19553 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19554 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19555 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19556 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19557 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19558 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19559 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19560 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19561 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19562 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19563 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19564 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19565 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19566 * sysdeps/nptl/bits/libc-lock.h: Likewise.
19567 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19568 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19569 * sysdeps/posix/closedir.c: Likewise.
19570 * sysdeps/posix/opendir.c: Likewise.
19571 * sysdeps/posix/readdir.c: Likewise.
19572 * sysdeps/posix/rewinddir.c: Likewise.
19573 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19574 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19575 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19576 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19577 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19578 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19579 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19580 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19584 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19585 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19586 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19587 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19588 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19589 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19590 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19591 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19592 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19593 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19594 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19595 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19596 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19597 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19598 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19599 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19600 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19601 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19602 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19606 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19608 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19609 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19610 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19611 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19612 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19613 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19614 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19615 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19616 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19617 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19618 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19619 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19620 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19621 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19622 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19623 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19624 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19625 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19626 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19627 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19629 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19630 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19631 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19632 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19633 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19634 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19635 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19636 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19637 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19638 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19639 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19640 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19641 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19642 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19643 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19644 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19645 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19646 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19647 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19648 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19649 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19650 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19651 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19652 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19653 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19655 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19656 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19657 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19658 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19659 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19660 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19661 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19662 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19663 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19664 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19665 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19666 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19667 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19668 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19669 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19671 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19672 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19674 * sysdeps/unix/alpha/sysdep.S: Likewise.
19675 * sysdeps/unix/alpha/sysdep.h: Likewise.
19676 * sysdeps/unix/make-syscalls.sh: Likewise.
19677 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19678 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19679 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19680 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19681 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19682 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19683 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19684 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19685 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19686 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19687 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19688 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19689 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19690 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19691 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19692 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19693 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19694 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19695 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19696 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19697 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19698 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19699 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19700 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19701 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19702 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19703 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19706 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19707 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19709 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19711 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19712 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19715 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19716 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19717 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19718 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19719 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19720 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19721 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19724 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19727 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19728 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19729 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19730 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19731 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19732 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19733 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19735 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19736 * sysdeps/x86_64/memcpy.S: Likewise.
19737 * sysdeps/x86_64/memmove.c: Likewise.
19738 * sysdeps/x86_64/memset.S: Likewise.
19739 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19740 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19741 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19742 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19743 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19744 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19745 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19746 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19747 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19748 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19749 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19750 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19751 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19752 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19753 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19754 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19755 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19756 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19757 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19758 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19759 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19760 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19761 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19762 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19763 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19764 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19765 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19766 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19767 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19768 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19769 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19770 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19771 * sysdeps/x86_64/strcmp.S: Likewise.
19772
19773 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19774
19775 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19776 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19777 * elf/rtld-Rules: Likewise.
19778 * elf/setup-vdso.h: Likewise.
19779 * include/assert.h: Likewise.
19780 * include/bits/stdlib-float.h: Likewise.
19781 * include/errno.h: Likewise.
19782 * include/sys/stat.h: Likewise.
19783 * include/unistd.h: Likewise.
19784 * sysdeps/aarch64/setjmp.S: Likewise.
19785 * sysdeps/alpha/setjmp.S: Likewise.
19786 * sysdeps/arm/__longjmp.S: Likewise.
19787 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19788 * sysdeps/arm/setjmp.S: Likewise.
19789 * sysdeps/arm/sysdep.h: Likewise.
19790 * sysdeps/generic/_itoa.h: Likewise.
19791 * sysdeps/generic/dl-sysdep.h: Likewise.
19792 * sysdeps/generic/ldsodefs.h: Likewise.
19793 * sysdeps/i386/dl-tls.h: Likewise.
19794 * sysdeps/i386/setjmp.S: Likewise.
19795 * sysdeps/m68k/setjmp.c: Likewise.
19796 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19797 * sysdeps/mach/hurd/opendir.c: Likewise.
19798 * sysdeps/posix/getcwd.c: Likewise.
19799 * sysdeps/posix/opendir.c: Likewise.
19800 * sysdeps/posix/profil.c: Likewise.
19801 * sysdeps/powerpc/dl-procinfo.h: Likewise.
19802 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19803 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19804 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19805 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19806 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19807 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19808 * sysdeps/s390/dl-tls.h: Likewise.
19809 * sysdeps/s390/s390-32/setjmp.S: Likewise.
19810 * sysdeps/s390/s390-64/setjmp.S: Likewise.
19811 * sysdeps/sh/sh3/setjmp.S: Likewise.
19812 * sysdeps/sh/sh4/setjmp.S: Likewise.
19813 * sysdeps/unix/alpha/sysdep.h: Likewise.
19814 * sysdeps/unix/arm/sysdep.S: Likewise.
19815 * sysdeps/unix/i386/sysdep.S: Likewise.
19816 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19817 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19818 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19819 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19821 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19822 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19823 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19824 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19825 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19826 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19827 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19828 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19831 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19834 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19835 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19836 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19839 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19840 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19841 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19843 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19844 * sysdeps/x86_64/setjmp.S: Likewise.
19845
19846 * include/math.h: Use IS_IN instead of IS_IN_libm.
19847 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19848 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19849 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19850 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19851 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19852 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19853 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19854 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19856 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19859 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19860 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19861 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19863 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19864 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19865 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19866 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19867 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19868 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19869 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19870 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19871 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19872 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19873 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19874 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19875 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19876 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19877 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19878 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19879 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19881 Likewise.
19882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19883 Likewise.
19884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19885 Likewise.
19886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19887 Likewise.
19888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19889 Likewise.
19890 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19891 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19892 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19893 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19894 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19895 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19901 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19902 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19903 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19904 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19905 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19906 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19907 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19908 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19909 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19910 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19911 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19913 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19914 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19916 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19917
19918 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19919 * nptl/pthreadP.h: Likewise.
19920 * nptl_db/structs.def: Likewise.
19921 * sysdeps/arm/sysdep.h: Likewise.
19922 * sysdeps/nptl/bits/libc-lock.h: Likewise.
19923 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19924 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19925 * sysdeps/unix/alpha/sysdep.h: Likewise.
19926 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19927 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19928 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19929 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19930 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19931 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19932 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19933 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19934 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19935 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19936 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19937 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19938 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19939 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19943 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19944 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19946 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19947 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19948 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19949 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19950 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19951 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19952
19953 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19954 * nptl/pthreadP.h: Likewise.
19955 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19956 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19957 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19958 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19959 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19960 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19961 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19962 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19963 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19964 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19965 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19966 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19968 Likewise.
19969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19970 Likewise.
19971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19972 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19973 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19975 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19976 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19977 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19978 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19979
19980 * dlfcn/dladdr.c: Use IS_IN.
19981 * dlfcn/dladdr1.c: Likewise.
19982 * dlfcn/dlclose.c: Likewise.
19983 * dlfcn/dlerror.c: Likewise.
19984 * dlfcn/dlinfo.c: Likewise.
19985 * dlfcn/dlmopen.c: Likewise.
19986 * dlfcn/dlopen.c: Likewise.
19987 * dlfcn/dlsym.c: Likewise.
19988 * dlfcn/dlvsym.c: Likewise.
19989
19990 * include/ifaddrs.h: Use IS_IN.
19991 * inet/check_pf.c: Likewise.
19992 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19993 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19994
19995 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19996 IS_IN_ldconfig.
19997 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19998 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19999
20000 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20001 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20002 IS_IN (libc).
20003
20004 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20005
20006 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20007 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20008 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20009 * include/libc-symbols.h (IS_IN_LIB): New macro.
20010 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20011 * include/netdb.h: Likewise.
20012 * include/stap-probe.h: Remove all uses of IN_LIB.
20013
20014 * Makeconfig (module-cppflags-real): Define MODULE_NAME
20015 instead of IN_MODULE.
20016 * include/libc-symbols.h (IN_MODULE): Define using
20017 MODULE_NAME.
20018 (PASTE_NAME, PASTE_NAME1): New macros.
20019 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20020 of IN_LIB.
20021 (STAP_PROBE_ASM): Likewise.
20022
20023 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
20024
20025 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20026 __mach_init in dlopened libc.
20027
20028 2014-11-22 Mike Frysinger <vapier@gentoo.org>
20029
20030 * sysdeps/arm/preconfigure.ac: Delete EABI check.
20031 * sysdeps/arm/preconfigure: Regenerate.
20032
20033 2014-11-21 Roland McGrath <roland@hack.frob.com>
20034
20035 * nptl/pthread_create.c (__pthread_create_2_1): Set
20036 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20037 when copying values from IATTR into PD.
20038
20039 2014-11-21 Will Newton <will.newton@linaro.org>
20040 Andrew Pinski <andrew.pinski@caviumnetworks.com>
20041
20042 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20043 Refactor inline-asm. Also add comment.
20044
20045 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20046 ElfW macro instead of hardcoded Elf64 types.
20047 (la_aarch64_gnu_pltenter): Likewise.
20048 * sysdeps/aarch64/dl-machine.h
20049 (elf_machine_runtime_setup): Use ElfW(Addr).
20050
20051 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20052 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20053 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20054 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20055 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20056 (R_AARCH64_TLS_DTPMOD64): Rename to ..
20057 (R_AARCH64_TLS_DTPMOD): This.
20058 (R_AARCH64_TLS_DTPREL64): Rename to ...
20059 (R_AARCH64_TLS_DTPREL): This.
20060 (R_AARCH64_TLS_TPREL64): Rename to ...
20061 (R_AARCH64_TLS_TPREL): This.
20062 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20063 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20064 R_AARCH64_TLS_TPREL64.
20065 (elf_machine_rela): Likewise.
20066
20067 2014-11-21 Torvald Riegel <triegel@redhat.com>
20068
20069 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20070 by setting it to 0. 64b atomics are not supported currently.
20071
20072 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20073
20074 [BZ #16469]
20075 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20076 search domain names.
20077
20078 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20079
20080 [BZ #16469]
20081 * NEWS: Update.
20082 * resolv/res_query.c (__libc_res_nquerydomain): Retain
20083 trailing dot.
20084 * posix/tst-getaddrinfo5.c: New.
20085 * posix/Makefile (tests): Add it.
20086
20087 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20088
20089 [BZ #14498]
20090 * NEWS: Fixed.
20091 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20092 after parsing line but before break_if_match.
20093 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20094 if there is a protocol mismatch.
20095
20096 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20097
20098 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20099 because the potential race is on the user-supplied stream.
20100
20101 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20102
20103 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20104 string literal if not passed a buffer.
20105 * manual/job.texi (ctermid): Update reasoning, note deviation
20106 from posix, suggest mtasurace when not passed a buffer, for
20107 future non-preliminary safety notes.
20108
20109 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20110
20111 * manual/users.texi (cuserid): Fix MT-Safety note for the case
20112 of not passing it a buffer.
20113 Reported by Peng Haitao.
20114
20115 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20116
20117 * manual/Makefile ($(objpfx)stamp-summary): Require
20118 check-safety.sh to pass.
20119 * manual/check-safety.sh: Wish for verification that every
20120 @deftypefn and @deftypefun is followed by a @safety remark.
20121
20122 2014-11-20 Roland McGrath <roland@hack.frob.com>
20123
20124 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20125
20126 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20127 PTHREAD_CANCEL_ASYNCHRONOUS.
20128 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20129 send SIGCANCEL.
20130
20131 * nptl/default-sched.h: New file.
20132 * sysdeps/unix/sysv/linux/default-sched.h: New file.
20133 * nptl/pthread_create.c: Include it.
20134 (__pthread_create_2_1): Use collect_default_sched instead of making
20135 Linux syscalls here directly.
20136
20137 2014-11-20 Torvald Riegel <triegel@redhat.com>
20138
20139 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20140 __pthread_once): Use C11 atomics.
20141
20142 2014-11-20 Torvald Riegel <triegel@redhat.com>
20143
20144 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20145
20146 2014-11-20 Torvald Riegel <triegel@redhat.com>
20147
20148 * include/atomic.h (__atomic_link_error, __atomic_check_size,
20149 atomic_thread_fence_acquire, atomic_thread_fence_release,
20150 atomic_thread_fence_seq_cst, atomic_load_relaxed,
20151 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20152 atomic_compare_exchange_weak_relaxed,
20153 atomic_compare_exchange_weak_acquire,
20154 atomic_compare_exchange_weak_release,
20155 atomic_exchange_acquire, atomic_exchange_release,
20156 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20157 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20158 atomic_fetch_and_acquire,
20159 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20160
20161 2014-11-20 Torvald Riegel <triegel@redhat.com>
20162
20163 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20164 USE_ATOMIC_COMPILER_BUILTINS): Define.
20165 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20167 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20168 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20169 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20171 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20173 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20175 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20177 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20179 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20181 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20183 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20185 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20187 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20189 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20191 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20193 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20195 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20197 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20199 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20200 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20201 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20203 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20205
20206 2014-11-19 Roland McGrath <roland@hack.frob.com>
20207
20208 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20209 the sched_priority value here. It was already checked when the user
20210 called pthread_attr_setschedparam.
20211
20212 * nptl/tst-bad-schedattr.c: New file.
20213 * nptl/Makefile (tests): Add it.
20214
20215 2014-11-19 Carlos O'Donell <carlos@redhat.com>
20216 Florian Weimer <fweimer@redhat.com>
20217 Joseph Myers <joseph@codesourcery.com>
20218 Adam Conrad <adconrad@0c3.net>
20219 Andreas Schwab <schwab@suse.de>
20220 Brooks <bmoses@google.com>
20221
20222 [BZ #17625]
20223 * wordexp-test.c (__dso_handle): Add prototype.
20224 (__register_atfork): Likewise.
20225 (__app_register_atfork): New function.
20226 (registered_forks): New global.
20227 (register_fork): New function.
20228 (test_case): Add 3 new tests for WRDE_CMDSUB.
20229 (main): Call __app_register_atfork.
20230 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20231 fork count is non-zero fail the test.
20232 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20233 is set.
20234 (parse_dollars): Remove check for WRDE_NOCMD.
20235 (parse_dquote): Likewise.
20236
20237 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20238
20239 * Makeconfig (built-modules): List non-library modules to be
20240 built.
20241 (module-cppflags): Include libc-modules.h for
20242 everything except shlib-versions.v.i.
20243 (CPPFLAGS): Use it.
20244 (before-compile): Add libc-modules.h.
20245 ($(common-objpfx)libc-modules.h,
20246 $(common-objpfx)libc-modules.stmp): New targets.
20247 (common-generated): Add libc-modules.h and libc-modules.stmp.
20248 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20249 * include/libc-symbols.h: Don't include libc-modules.h.
20250 * include/libc-modules.h: Remove file.
20251 * scripts/gen-libc-modules.awk: New script to generate
20252 libc-modules.h.
20253 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20254 Depend on libc-modules.stmp.
20255
20256 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20257
20258 * Makeconfig (in-module): Get value of libof set for the
20259 translation unit.
20260 (CPPFLAGS): Use $(in-module).
20261 * Makerules: Don't suffix routine names for nonlib.
20262 * include/libc-modules.h: New file.
20263 * include/libc-symbols.h: Include libc-modules.h
20264 (IS_IN): New macro to replace IS_IN_* macros.
20265 * elf/Makefile: Set libof-* for each routine.
20266 * elf/rtld-Rules: Likewise.
20267 * extra-modules.mk: Likewise.
20268 * iconv/Makefile: Likewise.
20269 * iconvdata/Makefile: Likewise.
20270 * locale/Makefile: Likewise.
20271 * malloc/Makefile: Likewise.
20272 * nss/Makefile: Likewise.
20273 * sysdeps/gnu/Makefile: Likewise.
20274 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20275 * sysdeps/unix/sysv/linux/Makefile: Likewise.
20276 * sysdeps/s390/s390-64/Makefile: Likewise.
20277 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
20278 CPPFLAGS for nscd instead of nonlib.
20279
20280 2014-11-18 Roland McGrath <roland@hack.frob.com>
20281
20282 * nptl/createthread.c: New file.
20283
20284 * nptl/createthread.c: Moved ...
20285 * sysdeps/unix/sysv/linux/createthread.c: ... here.
20286
20287 * nptl/createthread.c: Add proper top-line comment.
20288 (do_clone): Folded into ...
20289 (create_thread): ... here. Take new arguments STOPPED_START and
20290 THREAD_RAN. Always set PD->stopped_start to something here. Don't
20291 increment __nptl_threads, do event-reporting logic, do
20292 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20293 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
20294 resource cleanup if sched_setaffinity or sched_setscheduler fails,
20295 just send SIGCANCEL.
20296 * nptl/pthread_create.c: Forward-declare create_thread before
20297 including createthread.c.
20298 (start_thread): Use new macro START_THREAD_DEFN to replace defining
20299 declaration, and new macro START_THREAD_SELF to replace argument.
20300 Remove return statement.
20301 (report_thread_creation): New function.
20302 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
20303 synchronization logic, and __nptl_nthreads increment here, around
20304 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
20305 PD->parent_cancelhandling here, before create_thread. When
20306 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20307 __deallocate_stack, and ENOMEM translation here.
20308
20309 2014-11-18 Joseph Myers <joseph@codesourcery.com>
20310
20311 [BZ #17616]
20312 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20313 (mptwo): Rename to __mptwo.
20314 (__inv): Use __mptwo instead of mptwo.
20315 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20316 (mptwo): Rename to __mptwo.
20317 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20318 of mpone and __mptwo instead of mptwo.
20319 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20320 instead of mpone.
20321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20322 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20323 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20324 of mpone and __mptwo instead of mptwo.
20325 (__mpranred): Use __mpone instead of mpone.
20326 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20327 variable.
20328 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20329 (test-xfail-ISO99/math.h/linknamespace): Likewise.
20330 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20331 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20332 (test-xfail-ISO11/math.h/linknamespace): Likewise.
20333 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20334 (test-xfail-XPG3/math.h/linknamespace): Likewise.
20335 (test-xfail-XPG4/math.h/linknamespace): Likewise.
20336 (test-xfail-POSIX/math.h/linknamespace): Likewise.
20337 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20338 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20339 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20340 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20341 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20342 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20343 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20344 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20345 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20346 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20347
20348 2014-11-18 Tom de Vries <tom@codesoucery.com>
20349
20350 * manual/signal.texi (Primitives Interrupted by Signals): In section,
20351 replace BSD Handler xref with BSD Signal Handling.
20352
20353 2014-11-17 Richard Henderson <rth@redhat.com>
20354
20355 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20356 (_FP_PACK_RAW_2): Remove.
20357 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20358 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20359 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20360 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20361 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20362 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20363 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20364 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20365 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20366 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20367 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20368 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20369 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20370 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20371 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20372 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20373
20374 2014-11-14 Roland McGrath <roland@hack.frob.com>
20375
20376 * signal/signal.h [__USE_MISC]
20377 (struct sigvec): Remove type.
20378 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20379 (sigvec): Remove declaration.
20380 * sysdeps/posix/sigvec.c: Moved ...
20381 * signal/sigvec.c: ... here, replacing old file.
20382 (struct sigvec): New type, copied from old signal.h definition.
20383 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20384 (__sigvec): Convert definition to prototype.
20385 (sigvec): Replace weak_alias with compat_symbol.
20386 * signal/Versions (libc: GLIBC_2.21): New version set.
20387 * include/signal.h: Remove __sigvec declaration.
20388 * sysdeps/unix/bsd/sigvec.c: Remove file.
20389 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20390 * manual/signal.texi (BSD Handler): Remove subsection.
20391 Move siginterrupt up to ...
20392 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
20393 (Blocking in BSD): Fold subsection into its parent.
20394 * NEWS: Mention sigvec removal.
20395
20396 2014-11-14 Joseph Myers <joseph@codesourcery.com>
20397
20398 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20399 (DLA_FMS): Make definition conditional only on [__FMA4__].
20400 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20401 definition.
20402
20403 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20404 Make definition conditional only on [PROF].
20405 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20406 definition.
20407 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20408 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20409
20410 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20411 !__GNUC__].
20412 * include/signal.h (__sigpause): Move declaration above call to
20413 libc_hidden_proto.
20414 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20415 variable.
20416 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20417 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20418
20419 2014-11-14 David S. Miller <davem@davemloft.net>
20420
20421 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20422 Define before including <string/memcpy.c> and <string/mempcpy.c>.
20423
20424 2014-11-14 Joseph Myers <joseph@codesourcery.com>
20425
20426 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20427 * configure: Regenerated.
20428 * manual/install.texi (Tools for Compilation): Document a
20429 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20430 compiler verified to work.
20431 * INSTALL: Regenerated.
20432
20433 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20434 redeclare with asm name.
20435 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20436 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20437 including <string.h>.
20438 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20439 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20440 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20441 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20442 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20443 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20444 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20445
20446 2014-11-13 Joseph Myers <joseph@codesourcery.com>
20447
20448 * stdlib/strtol.c (__strtol): Use prototype definition.
20449
20450 [BZ #17594]
20451 * stdlib/strtol.c (SYM__): New macro.
20452 (SYM__1): Likewise.
20453 (__strtol): Likewise.
20454 (strtol): Rename to __strtol and define as weak alias of
20455 __strtol. Use libc_hidden_weak.
20456
20457 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20458
20459 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20460 Use numbered labels in inline assembly.
20461
20462 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20463
20464 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20465 Add setjmp LIBC_PROBE.
20466 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20467 Likewise.
20468 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20469 Add longjmp, longjmp_target LIBC_PROBE.
20470 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20471 Likewise.
20472
20473 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20474
20475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20476 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20477 to get rid of unused variable warning.
20478
20479 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20480
20481 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20482 Check for unwind_backtrace == NULL only in SHARED case.
20483 (__backchain_backtrace): Compile only in SHARED case.
20484 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20485 Likewise.
20486 (__backchain_backtrace): Declare as static.
20487
20488 2014-11-12 Roland McGrath <roland@hack.frob.com>
20489
20490 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20491 (__libc_multiple_threads_ptr): Variable moved ...
20492 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20493
20494 2014-11-12 Joseph Myers <joseph@codesourcery.com>
20495
20496 * conform/GlibcConform.pm: New file.
20497 * conform/conformtest.pl: Use GlibcConform module.
20498 * conform/linknamespace.pl: New file.
20499 * conform/list-header-symbols.pl: Likewise.
20500 * conform/Makefile (linknamespace-symlists-base): New variable.
20501 (linknamespace-symlists-tests): Likewise.
20502 (linknamespace-header-base): Likewise.
20503 (linknamespace-header-tests): Likewise.
20504 (tests-special): Add new tests.
20505 ($(linknamespace-symlists-tests)): New rule.
20506 (linknamespace-libs): New variable.
20507 ($(objpfx)symlist-stdlibs): New rule.
20508 ($(linknamespace-header-tests)): Likewise.
20509 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20510 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20511 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20512 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20513 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20514 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20515 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20516 (test-xfail-ISO/math.h/linknamespace): Likewise.
20517 (test-xfail-ISO/signal.h/linknamespace): Likewise.
20518 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20519 (test-xfail-ISO/time.h/linknamespace): Likewise.
20520 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20521 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20522 (test-xfail-ISO99/math.h/linknamespace): Likewise.
20523 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20524 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20525 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20526 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20527 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20528 (test-xfail-ISO11/math.h/linknamespace): Likewise.
20529 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20530 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20531 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20532 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20533 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20534 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20535 (test-xfail-XPG3/math.h/linknamespace): Likewise.
20536 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20537 (test-xfail-XPG3/search.h/linknamespace): Likewise.
20538 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20539 (test-xfail-XPG3/time.h/linknamespace): Likewise.
20540 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20541 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20542 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20543 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20544 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20545 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20546 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20547 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20548 (test-xfail-XPG4/math.h/linknamespace): Likewise.
20549 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20550 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20551 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20552 (test-xfail-XPG4/search.h/linknamespace): Likewise.
20553 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20554 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20555 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20556 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20557 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20558 (test-xfail-XPG4/time.h/linknamespace): Likewise.
20559 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20560 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20561 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20562 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20563 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20564 (test-xfail-POSIX/math.h/linknamespace): Likewise.
20565 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20566 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20567 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20568 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20569 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20570 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20571 (test-xfail-POSIX/time.h/linknamespace): Likewise.
20572 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20573 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20574 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20575 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20576 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20577 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20578 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20579 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20580 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20581 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20582 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20583 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20584 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20585 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20586 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20587 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20588 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20589 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20590 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20591 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20592 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20593 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20594 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20595 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20596 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20597 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20598 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20599 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20600 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20601 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20602 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20603 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20604 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20605 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20606 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20607 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20608 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20609 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20610 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20611 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20612 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20613 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20614 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20615 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20616 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20617 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20618 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20619 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20620 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20621 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20622 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20623 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20624 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20625 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20626 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20627 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20628 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20629 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20630 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20631 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20632 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20633 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20634 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20635 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20636 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20637 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20638 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20639 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20640 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20641 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20642 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20643 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20644 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20645 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20646 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20647 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20648 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20649 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20650 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20651 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20652 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20653 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20654 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20655 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20656 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20657 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20658 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20659 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20660 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20661 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20662 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20663 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20664 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20665 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20666 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20667 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20668 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20669 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20670
20671 [BZ #17589]
20672 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20673 of fgets_unlocked.
20674
20675 [BZ #17585]
20676 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20677 (memmem): Rename to __memmem and define as weak alias of
20678 __memmem. Use libc_hidden_weak.
20679 (__memmem): Use libc_hidden_def.
20680 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
20681 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20682 memmem.
20683
20684 [BZ #17582]
20685 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20686 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
20687 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20688 and define as weak alias of __fgets_unlocked. Use
20689 libc_hidden_weak.
20690 (__fgets_unlocked): Use libc_hidden_def.
20691 * include/stdio.h (__fgets_unlocked): Declare. Use
20692 libc_hidden_proto.
20693 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20694 __fgets_unlocked instead of fgets_unlocked.
20695 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20696 (GET_NPROCS_CONF_PARSER): Likewise.
20697 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20698 (GET_NPROCS_CONF_PARSER): Likewise.
20699
20700 [BZ #17574]
20701 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20702 weak alias of __wmemset. Use libc_hidden_weak.
20703 (__wmemset): Use libc_hidden_def.
20704 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
20705 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20706 of wmemset.
20707
20708 [BZ #17573]
20709 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20710 with asm name __mempcpy.
20711 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20712
20713 [BZ #17572]
20714 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20715 and define as weak alias of __rawmemchr.
20716 (__rawmemchr): Do not define as strong alias of rawmemchr.
20717
20718 [BZ #17571]
20719 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20720 alias of __qsort_r.
20721 (qsort): Call __qsort_r instead of qsort_r.
20722 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20723 (__qsort_r): Declare. Call libc_hidden_proto.
20724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20725 instead of qsort_r.
20726 * nscd/gai.c (__qsort_r): Define to qsort_r.
20727 * posix/tst-rfc3484.c (__qsort_r): Likewise.
20728 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20729 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20730
20731 [BZ #17570]
20732 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20733 define as weak alias of __malloc_info.
20734
20735 [BZ #17584]
20736 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20737 as weak alias of __rewinddir. Don't use libc_hidden_def.
20738 (__rewinddir): Use libc_hidden_def.
20739 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20740 as weak alias of __rewinddir. Don't use libc_hidden_def.
20741 (__rewinddir): Use libc_hidden_def.
20742 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20743 weak alias of __rewinddir. Don't use libc_hidden_def.
20744 (__rewinddir): Use libc_hidden_def.
20745 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20746 (__rewinddir): Use libc_hidden_proto.
20747 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20748 rewinddir.
20749 (__getcwd): Use __rewinddir instead of rewinddir.
20750
20751 [BZ #17583]
20752 * libio/fileno.c (fileno): Rename to __fileno and define as weak
20753 alias of __fileno. Use libc_hidden_weak.
20754 (__fileno): Use libc_hidden_def.
20755 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20756 * libio/ftello.c (ftello): Rename to __ftello and define as weak
20757 alias of __ftello.
20758 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20759 __ftello.
20760 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20761 (__fread_unlocked): Define as strong alias of _IO_fread. Use
20762 libc_hidden_def.
20763 (fread_unlocked): Don't use libc_hidden_ver.
20764 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20765 and define as weak alias of __fread_unlocked. Don't use
20766 libc_hidden_def.
20767 (__fread_unlocked): Use libc_hidden_def.
20768 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
20769 (ftello): Don't use libc_hidden_proto.
20770 (__ftello): Declare. Use libc_hidden_proto.
20771 (fread_unlocked): Don't use libc_hidden_proto.
20772 (__fread_unlocked): Declare. Use libc_hidden_proto.
20773 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20774 and __ftello instead of fileno, fread_unlocked and ftello.
20775
20776 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20777
20778 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20779 GOT12.
20780 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20781 Likewise.
20782 (_dl_start_user): Likewise.
20783 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20784
20785 2014-11-12 Carlos O'Donell <carlos@redhat.com>
20786 Siddhesh Poyarekar <siddhesh@redhat.com>
20787
20788 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20789 Move argv and envp down instead of moving argc up.
20790 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20791
20792 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
20793
20794 [BZ #17506]
20795 * test-skeleton.c (main): Return successful if one of
20796 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20797 * string/tst-strcoll-overflow.c: Define expected status.
20798
20799 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
20800
20801 [BZ #17475]
20802 * locale/iso-639.def: Define Bhili and Tulu language codes.
20803
20804 2014-11-11 Alan Hayward <alan.hayward@arm.com>
20805
20806 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20807
20808 2014-11-10 Renlin Li <Renlin.Li@arm.com>
20809
20810 [BZ #17555]
20811 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20812
20813 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
20814
20815 * configure.ac: Updated check of minimal required version to
20816 2.22.
20817 * manual/install.texi (Tools for Compilation): Updated version
20818 number.
20819 * configure: Regenerated.
20820 * INSTALL: Likewise.
20821
20822 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
20823
20824 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20825 __tls_get_addr.
20826
20827 2014-11-07 Joseph Myers <joseph@codesourcery.com>
20828
20829 * include/sys/wait.h (__libc_waitpid): Remove declaration.
20830 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20831 (__waitpid): Don't define as alias. Use libc_hidden_def not
20832 libc_hidden_weak.
20833 (waitpid): Define as alias of __waitpid.
20834 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20835 __waitpid.
20836 (__waitpid): Don't define as alias. Use libc_hidden_def not
20837 libc_hidden_weak.
20838 (waitpid): Define as alias of __waitpid.
20839 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20840 __libc_waitpid alias.
20841 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20842 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20843 Likewise.
20844 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20845 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20846 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20847 alias.
20848 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20849 __waitpid.
20850 (__waitpid): Don't define as alias. Use libc_hidden_def not
20851 libc_hidden_weak.
20852 (waitpid): Define as alias of __waitpid.
20853
20854 2014-11-06 Carlos O'Donell <carlos@redhat.com>
20855
20856 * manual/llio.texi: Add comment that write safety has been
20857 fixed in Linux.
20858
20859 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20860 (localplt-build-dso): Add elf/ld.so.
20861 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20862 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20863 and free for ld.so.
20864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20865 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20867 Likewise.
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20869 Likewise.
20870 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20871 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20872 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20873 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20874 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20875 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20876 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20877 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20878 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20879 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20880 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20881
20882 2014-11-05 Joseph Myers <joseph@codesourcery.com>
20883
20884 [BZ #14132]
20885 * include/libc-symbols.h (INTUSE): Remove macro.
20886 (INTDEF): Likewise.
20887 (INTVARDEF): Likewise.
20888 (_INTVARDEF): Likewise.
20889 (INTDEF2): Likewise.
20890 (INTVARDEF2): Likewise.
20891 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20892 rtld_hidden_def instead of INTVARDEF.
20893 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20894 (_dl_starting_up_internal): Remove declaration.
20895 (_dl_starting_up): Use rtld_hidden_proto.
20896 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20897 declaration.
20898 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20899 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20900 _dl_starting_up.
20901 * elf/dl-writev.h (_dl_writev): Likewise.
20902 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20903 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20904 _dl_starting_up_internal.
20905
20906 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20907
20908 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20909 test-skeleton.c.
20910
20911 2014-11-05 Will Newton <will.newton@linaro.org>
20912
20913 * benchtests/Makefile: (bench-malloc): Add malloc thread
20914 scalability benchmark.
20915 * benchtests/bench-malloc-threads.c: New file.
20916
20917 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
20918
20919 * sysdeps/aarch64/strchrnul.S: New file.
20920
20921 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20922
20923 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20924 definition.
20925 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20926 Likwise.
20927 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20928 Likewise.
20929 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20930 Likewise.
20931 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20932 Likewise.
20933 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20934 Likewise.
20935
20936 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
20937
20938 * catgets/test-gencat.c: Use test-skeleton.c.
20939 * catgets/tst-catgets.c: Likewise.
20940 * csu/tst-empty.c: Likewise.
20941 * elf/tst-audit2.c: Likewise.
20942 * elf/tst-global1.c: Likewise.
20943 * elf/tst-pathopt.c: Likewise.
20944 * elf/tst-piemod1.c: Likewise.
20945 * elf/tst-tls10.c: Likewise.
20946 * elf/tst-tls11.c: Likewise.
20947 * elf/tst-tls12.c: Likewise.
20948 * gnulib/tst-gcc.c: Likewise.
20949 * iconvdata/tst-e2big.c: Likewise.
20950 * iconvdata/tst-loading.c: Likewise.
20951 * iconv/tst-iconv1.c: Likewise.
20952 * iconv/tst-iconv2.c: Likewise.
20953 * inet/test-inet6_opt.c: Likewise.
20954 * inet/tst-gethnm.c: Likewise.
20955 * inet/tst-network.c: Likewise.
20956 * inet/tst-ntoa.c: Likewise.
20957 * intl/tst-codeset.c: Likewise.
20958 * intl/tst-gettext2.c: Likewise.
20959 * intl/tst-gettext3.c: Likewise.
20960 * intl/tst-ngettext.c: Likewise.
20961 * intl/tst-translit.c: Likewise.
20962 * io/test-stat.c: Likewise.
20963 * libio/test-fmemopen.c: Likewise.
20964 * libio/tst-freopen.c: Likewise.
20965 * libio/tst-sscanf.c: Likewise.
20966 * libio/tst-ungetwc1.c: Likewise.
20967 * libio/tst-ungetwc2.c: Likewise.
20968 * libio/tst-widetext.c: Likewise.
20969 * localedata/tst-ctype.c: Likewise.
20970 * localedata/tst-digits.c: Likewise.
20971 * localedata/tst-leaks.c: Likewise.
20972 * localedata/tst-mbswcs1.c: Likewise.
20973 * localedata/tst-mbswcs2.c: Likewise.
20974 * localedata/tst-mbswcs3.c: Likewise.
20975 * localedata/tst-mbswcs4.c: Likewise.
20976 * localedata/tst-mbswcs5.c: Likewise.
20977 * localedata/tst-setlocale.c: Likewise.
20978 * localedata/tst-trans.c: Likewise.
20979 * localedata/tst-wctype.c: Likewise.
20980 * localedata/tst-xlocale1.c: Likewise.
20981 * login/tst-grantpt.c: Likewise.
20982 * malloc/tst-calloc.c: Likewise.
20983 * malloc/tst-malloc.c: Likewise.
20984 * malloc/tst-mallocstate.c: Likewise.
20985 * malloc/tst-mcheck.c: Likewise.
20986 * malloc/tst-mtrace.c: Likewise.
20987 * malloc/tst-obstack.c: Likewise.
20988 * math/atest-exp2.c: Likewise.
20989 * math/atest-exp.c: Likewise.
20990 * math/atest-sincos.c: Likewise.
20991 * math/test-matherr.c: Likewise.
20992 * math/test-misc.c: Likewise.
20993 * math/test-powl.c: Likewise.
20994 * math/tst-definitions.c: Likewise.
20995 * misc/tst-dirname.c: Likewise.
20996 * misc/tst-efgcvt.c: Likewise.
20997 * misc/tst-fdset.c: Likewise.
20998 * misc/tst-hsearch.c: Likewise.
20999 * misc/tst-mntent2.c: Likewise.
21000 * nptl/tst-sem7.c: Likewise.
21001 * nptl/tst-sem8.c: Likewise.
21002 * nptl/tst-sem9.c: Likewise.
21003 * nss/test-netdb.c: Likewise.
21004 * posix/tst-fnmatch.c: Likewise.
21005 * posix/tst-getlogin.c: Likewise.
21006 * posix/tst-gnuglob.c: Likewise.
21007 * posix/tst-mmap.c: Likewise.
21008 * pwd/tst-getpw.c: Likewise.
21009 * resolv/tst-inet_ntop.c: Likewise.
21010 * rt/tst-timer.c: Likewise.
21011 * stdio-common/test-fseek.c: Likewise.
21012 * stdio-common/test-popen.c: Likewise.
21013 * stdio-common/test-vfprintf.c: Likewise.
21014 * stdio-common/tst-cookie.c: Likewise.
21015 * stdio-common/tst-fileno.c: Likewise.
21016 * stdio-common/tst-gets.c: Likewise.
21017 * stdio-common/tst-obprintf.c: Likewise.
21018 * stdio-common/tst-perror.c: Likewise.
21019 * stdio-common/tst-sprintf2.c: Likewise.
21020 * stdio-common/tst-sprintf3.c: Likewise.
21021 * stdio-common/tst-sprintf.c: Likewise.
21022 * stdio-common/tst-swprintf.c: Likewise.
21023 * stdio-common/tst-tmpnam.c: Likewise.
21024 * stdio-common/tst-unbputc.c: Likewise.
21025 * stdio-common/tst-wc-printf.c: Likewise.
21026 * stdlib/tst-environ.c: Likewise.
21027 * stdlib/tst-fmtmsg.c: Likewise.
21028 * stdlib/tst-limits.c: Likewise.
21029 * stdlib/tst-rand48-2.c: Likewise.
21030 * stdlib/tst-rand48.c: Likewise.
21031 * stdlib/tst-random2.c: Likewise.
21032 * stdlib/tst-random.c: Likewise.
21033 * stdlib/tst-strtol.c: Likewise.
21034 * stdlib/tst-strtoll.c: Likewise.
21035 * stdlib/tst-tls-atexit.c: Likewise.
21036 * stdlib/tst-xpg-basename.c: Likewise.
21037 * string/test-ffs.c: Likewise.
21038 * string/tst-bswap.c: Likewise.
21039 * string/tst-inlcall.c: Likewise.
21040 * string/tst-strtok.c: Likewise.
21041 * string/tst-strxfrm.c: Likewise.
21042 * sysdeps/x86_64/tst-audit10.c: Likewise.
21043 * sysdeps/x86_64/tst-audit3.c: Likewise.
21044 * sysdeps/x86_64/tst-audit4.c: Likewise.
21045 * sysdeps/x86_64/tst-audit5.c: Likewise.
21046 * time/tst-ftime_l.c: Likewise.
21047 * time/tst-getdate.c: Likewise.
21048 * time/tst-mktime3.c: Likewise.
21049 * time/tst-mktime.c: Likewise.
21050 * time/tst-posixtz.c: Likewise.
21051 * time/tst-strptime2.c: Likewise.
21052 * time/tst-strptime3.c: Likewise.
21053 * wcsmbs/tst-btowc.c: Likewise.
21054 * wcsmbs/tst-mbrtowc.c: Likewise.
21055 * wcsmbs/tst-mbsrtowcs.c: Likewise.
21056 * wcsmbs/tst-wchar-h.c: Likewise.
21057 * wcsmbs/tst-wcpncpy.c: Likewise.
21058 * wcsmbs/tst-wcrtomb.c: Likewise.
21059 * wcsmbs/tst-wcsnlen.c: Likewise.
21060 * wcsmbs/tst-wcstof.c: Likewise.
21061
21062 2014-11-04 Joseph Myers <joseph@codesourcery.com>
21063
21064 [BZ #14132]
21065 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21066 INTDEF.
21067 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21068 declaration.
21069 (_dl_mcount): Use rtld_hidden_proto.
21070 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21071 _dl_mcount.
21072 * elf/rtld.c (_rtld_global_ro): Likewise.
21073
21074 [BZ #14132]
21075 * elf/dl-init.c (_dl_init): Don't use INTDEF.
21076 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21077 of _dl_init_internal.
21078 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21079 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21080 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21081 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21082 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21083 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21084 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21085 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21086 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21087 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21088 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21089 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21090 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21091 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21092 * sysdeps/tile/dl-start.S (_start): Likewise.
21093 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21094 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21095
21096 [BZ #14132]
21097 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21098 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21099 (rtld_progname): Make macro definition unconditional.
21100 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21101 INTDEF.
21102 (dlmopen_doit): Do not use INTUSE with _dl_argv.
21103 (dl_main): Likewise.
21104 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21105 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21106 instead of _dl_argv_internal.
21107 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21108 __GI__dl_argv instead of INTUSE(_dl_argv).
21109 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21110 __GI__dl_argv instead of _dl_argv_internal.
21111
21112 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21113 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21114 macro.
21115 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21116 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21117 New macro.
21118 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21119 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21120 macro.
21121 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21122 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21123
21124 2014-11-04 Andreas Schwab <schwab@suse.de>
21125
21126 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21127
21128 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21129
21130 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21131 mtvsrd instruction in binary form.
21132
21133 2014-11-03 Andreas Schwab <schwab@suse.de>
21134
21135 [BZ #17522]
21136 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21137 for less than MB_LEN_MAX use a local buffer of that size.
21138 * libio/tst-fputws.c: New file.
21139 * libio/Makefile (tests): Add tst-fputws.
21140
21141 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
21142
21143 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21144 the size of the fpu_fr.fpu_dregs[] array.
21145
21146 2014-11-01 Joseph Myers <joseph@codesourcery.com>
21147
21148 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21149 (__nanosleep): Do not define as alias.
21150 (nanosleep): Define as alias of __nanosleep.
21151 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21152 __libc_nanosleep name.
21153
21154 2014-10-31 Joseph Myers <joseph@codesourcery.com>
21155
21156 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21157 install.texi in comment.
21158
21159 2014-10-31 Torvald Riegel <triegel@redhat.com>
21160
21161 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21162 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21163 ... add here and use lwsync or sync ...
21164 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21165 ... and add here using lwsync.
21166
21167 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
21168
21169 * elf/dl-machine-reject-phdr.h: New file.
21170 * elf/dl-load.c: #include that.
21171 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21172 if that returned true.
21173
21174 2014-10-31 Roland McGrath <roland@hack.frob.com>
21175
21176 [BZ #17496]
21177 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21178 gen-as-const-headers chunk. Add a big scare comment after the last
21179 safe place to touch before-compile.
21180
21181 2014-10-31 Joseph Myers <joseph@codesourcery.com>
21182
21183 * manual/install.texi (Tools for Compilation): Update autoconf
21184 version requirements.
21185 * INSTALL: Regenerated.
21186
21187 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21188 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21189 (__libc_pselect): Likewise.
21190
21191 [BZ #14138]
21192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21196
21197 2014-10-31 Torvald Riegel <triegel@redhat.com>
21198
21199 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21200 correct barrier instruction.
21201 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21202 Likewise.
21203 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21204 Likewise.
21205
21206 2014-10-30 Roland McGrath <roland@hack.frob.com>
21207
21208 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21209 after defining inlines. Instead, just use parens to defeat macro
21210 expansion of __isctype in its declaration.
21211
21212 2014-10-30 Joseph Myers <joseph@codesourcery.com>
21213
21214 * include/sys/uio.h (__libc_readv): Remove declaration.
21215 (__libc_writev): Likewise.
21216 * misc/readv.c (__libc_readv): Rename to __readv.
21217 (__readv): Do not define as alias.
21218 (readv): Define as alias of __readv.
21219 * misc/writev.c (__libc_writev): Rename to __writev.
21220 (__writev): Do not define as alias.
21221 (writev): Define as alias of __writev.
21222 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21223 (__readv): Do not define as alias.
21224 (readv): Define unconditionally as alias of __readv.
21225 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21226 (__writev): Do not define as alias.
21227 (writev): Define unconditionally as alias of __writev.
21228 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21229 name.
21230 (writev): Do not define __libc_writev name.
21231
21232 2014-10-30 Roland McGrath <roland@hack.frob.com>
21233
21234 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21235 (convert_charseq): New function, broken out of ...
21236 (use_from_charmap): ... here. Call it.
21237 (use_to_charmap): Use convert_charseq and free instead of duplicating
21238 its code with a variable-length stack struct.
21239
21240 2014-10-30 Joseph Myers <joseph@codesourcery.com>
21241
21242 * include/fcntl.h (__libc_creat): Remove declaration.
21243 * io/creat.c (__libc_creat): Rename to creat.
21244 (creat): Do not define as alias.
21245 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21246 of creat instead of __libc_creat.
21247 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21248 to creat.
21249 (creat): Do not define as alias.
21250 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21251 __libc_creat.
21252 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21253 __libc_creat name.
21254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21255 Likewise.
21256
21257 2014-10-29 Carlos O'Donell <carlos@redhat.com>
21258
21259 * manual/llio.texi: Add comments discussing why write() may be
21260 considered MT-unsafe on Linux.
21261
21262 2014-10-28 Carlos O'Donell <carlos@redhat.com>
21263
21264 * dl-load.c (local_strdup): Remove.
21265 (expand_dynamic_string_token): Use __strdup.
21266 (decompose_rpath): Likewise.
21267 (_dl_map_object): Likewise.
21268
21269 2014-10-28 Joseph Myers <joseph@codesourcery.com>
21270
21271 [BZ #14132]
21272 * sysdeps/generic/unwind-dw2-fde.c
21273 (__register_frame_info_bases_internal): Do not declare.
21274 (__register_frame_info_table_bases_internal): Likewise.
21275 (__deregister_frame_info_bases_internal): Likewise.
21276 (__register_frame_info_bases): Declare and use hidden_proto before
21277 definition. Use hidden_def instead of INTDEF.
21278 (__register_frame_info_table_bases): Likewise.
21279 (__deregister_frame_info_bases): Likewise.
21280 (__register_frame_info): Do not use INTUSE.
21281 (__register_frame): Likewise.
21282 (__register_frame_info_table): Likewise.
21283 (__register_frame_table): Likewise.
21284 (__deregister_frame_info): Likewise.
21285 (__deregister_frame): Likewise.
21286
21287 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
21288
21289 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21290 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21291 not undefine.
21292 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21293 Likewise.
21294 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21295 Likewise.
21296
21297 2014-10-27 Joseph Myers <joseph@codesourcery.com>
21298
21299 [BZ #14138]
21300 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21301 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21302 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21303 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21304 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21305 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21306 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21307 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21308 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21309 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21310 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21311 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21312 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21313 syscall.
21314 (setfsuid): Likewise.
21315 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21316 (setfsuid): Likewise.
21317 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21318 (setfsuid): Likewise.
21319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21320 Likewise.
21321 (setfsuid): Likewise.
21322 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21323 (setfsuid): Likewise.
21324 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21325 Likewise.
21326 (setfsuid): Likewise.
21327
21328 2014-10-27 Andreas Schwab <schwab@suse.de>
21329
21330 [BZ #17501]
21331 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21332 check for Slow_SSE4_2 feature bit.
21333 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21334 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21335 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21336 Likewise. Fix check for Fast_Unaligned_Load feature bit.
21337
21338 2014-10-24 Roland McGrath <roland@hack.frob.com>
21339
21340 * configure.ac: Validate compiler version with a empirical test of
21341 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21342 $CC -v output.
21343 * configure: Regenerated.
21344
21345 * inet/htons.c (htons): Prototypify.
21346 * inet/htonl.c (htonl): Likewise.
21347
21348 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21349
21350 * string/strncat.c (strncat): Improve performance by using strlen.
21351
21352 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21353
21354 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21355
21356 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21357
21358 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21359 Call libc_fetestexcept_aarch64.
21360
21361 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21362
21363 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21364 Call libc_feholdexcept_aarch64.
21365
21366 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21367
21368 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21369 Call get_rounding_mode.
21370
21371 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21372
21373 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21374 Simplify logic.
21375
21376 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21377
21378 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21379 Simplify logic.
21380
21381 2014-10-24 Joseph Myers <joseph@codesourcery.com>
21382
21383 [BZ #14138]
21384 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21385 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21386 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21387 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21388 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21389 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21390 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21391 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21392 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21393 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21394 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21395 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21396 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21397 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21398 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21399 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21400 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21401 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21402 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21403 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21404 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21405 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21406 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21407 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21408 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21409 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21410 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21411 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21412 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21413 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21414 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21415 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21416 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21417 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21418 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21419 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21420 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21421 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21422 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21423 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21424 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21425 syscall.
21426 (geteuid): Likewise.
21427 (getgid): Likewise.
21428 (getuid): Likewise.
21429 (getresgid): Likewise.
21430 (getresuid): Likewise.
21431 (getgroups): Likewise.
21432 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21433 (geteuid): Likewise.
21434 (getgid): Likewise.
21435 (getuid): Likewise.
21436 (getresgid): Likewise.
21437 (getresuid): Likewise.
21438 (getgroups): Likewise.
21439 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21440 (geteuid): Likewise.
21441 (getgid): Likewise.
21442 (getuid): Likewise.
21443 (getresgid): Likewise.
21444 (getresuid): Likewise.
21445 (getgroups): Likewise.
21446 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21447 Likewise.
21448 (geteuid): Likewise.
21449 (getgid): Likewise.
21450 (getuid): Likewise.
21451 (getresgid): Likewise.
21452 (getresuid): Likewise.
21453 (getgroups): Likewise.
21454 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21455 (geteuid): Likewise.
21456 (getgid): Likewise.
21457 (getuid): Likewise.
21458 (getresgid): Likewise.
21459 (getresuid): Likewise.
21460 (getgroups): Likewise.
21461 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21462 Likewise.
21463 (geteuid): Likewise.
21464 (getgid): Likewise.
21465 (getuid): Likewise.
21466 (getgroups): Likewise.
21467
21468 [BZ #14138]
21469 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21470 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21471 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21472 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21473 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21474 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21475 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21476 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21477 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21478 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21479 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21480 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21481 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21482 __chown.
21483 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21484 (lchown): Likewise.
21485 (fchown): Likewise.
21486 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21487 Likewise.
21488 (lchown): Likewise.
21489 (fchown): Likewise.
21490 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21491 (lchown): Likewise.
21492 (fchown): Likewise.
21493 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21494 Likewise.
21495 (lchown): Likewise.
21496 (fchown): Likewise.
21497
21498 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21499
21500 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21501 Simplify logic.
21502
21503 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21504
21505 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21506 Cleanup logic.
21507
21508 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21509
21510 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21511 Remove unused include.
21512
21513 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21514
21515 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21516 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21517 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21518 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21519
21520 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
21521 Helge Deller <deller@gmx.de>
21522
21523 [BZ #17508]
21524 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21525 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21526 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21527
21528 2014-10-23 Joseph Myers <joseph@codesourcery.com>
21529
21530 [BZ #14132]
21531 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21532 Remove macro definition.
21533 (__ashrdi3_v_glibc20): Likewise.
21534 (__lshrdi3_v_glibc20): Likewise.
21535 (__cmpdi2_v_glibc20): Likewise.
21536 (__ucmpdi2_v_glibc20): Likewise.
21537 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21538 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21539 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21540 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21541 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21542 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21543
21544 2014-10-22 Roland McGrath <roland@hack.frob.com>
21545
21546 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21547 old GNU extension [0] syntax.
21548 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21549 alloca rather than an array member with variable length.
21550 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21551 * nscd/nscd.c (invalidate_db): New function, broken out of ...
21552 (parse_opt): ... here. Likewise use alloca there.
21553 Validate the -i argument before checking for rootness.
21554 (send_shutdown): New function, broken out of ...
21555 (parse_opt): ... here.
21556
21557 2014-10-22 Roland McGrath <roland@hack.frob.com>
21558
21559 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21560 macro to get at the _rt_local_ro field.
21561 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21562 ([PIC] case) or _dl_hwcap ([!PIC] case).
21563 * sysdeps/arm/setjmp.S: Likewise.
21564
21565 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21566 * sysdeps/arm/configure.ac: New check to define it.
21567 * sysdeps/arm/configure: Regenerated.
21568 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21569 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21570 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21571 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21572 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21573 Use move/movt pair instead of a load.
21574 (LDST_GLOBAL): Macro removed.
21575 (LDR_GLOBAL): New macro replaces it.
21576 (LDR_HIDDEN): New macro.
21577 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21578 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21579
21580 * setjmp/tst-setjmp-static.c: New file.
21581 * setjmp/Makefile (tests): Add it.
21582 (tests-static): New variable.
21583
21584 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
21585
21586 [BZ #17485]
21587 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21588
21589 2014-10-21 Joseph Myers <joseph@codesourcery.com>
21590
21591 [BZ #14132]
21592 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21593
21594 2014-10-21 Roland McGrath <roland@hack.frob.com>
21595
21596 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21597
21598 2014-10-20 Roland McGrath <roland@hack.frob.com>
21599
21600 * io/fts.c (dirent_not_directory): New function.
21601 (fts_build): Call it.
21602
21603 2014-10-20 Roland McGrath <roland@hack.frob.com>
21604
21605 * nptl/version.c (__nptl_main): Use normal __write rather than
21606 INTERNAL_SYSCALL.
21607 (banner): Update copyright years.
21608
21609 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21610 gettimeofday.
21611 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21612 * nptl/pthread_cond_timedwait.c: Likewise.
21613 * nptl/pthread_mutex_timedlock.c: Likewise.
21614 * nptl/sem_timedwait.c: Likewise.
21615
21616 * sysdeps/nptl/bits/libc-lock.h
21617 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21618 (__libc_lock_init_recursive): Return void, not 0.
21619 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21620 (__libc_rwlock_init): Likewise.
21621 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21622
21623 2014-10-20 Torvald Riegel <triegel@redhat.com>
21624
21625 [BZ #15215]
21626 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21627 (__pthread_once_slow): ... here.
21628 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21629 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21630
21631 2014-10-20 Torvald Riegel <triegel@redhat.com>
21632
21633 [BZ #15215]
21634 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21635 __PTHREAD_ONCE_FORK_GEN_INCR): New.
21636 * sysdeps/nptl/fork.c (__libc_fork): Use them.
21637 * nptl/pthread_once.c (__pthread_once): Likewise.
21638 Update comments.
21639
21640 2014-10-20 Joseph Myers <joseph@codesourcery.com>
21641
21642 [BZ #14138]
21643 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21644 name.
21645 (writev): Use __libc_writev as strong name.
21646 * sysdeps/unix/sysv/linux/readv.c: Remove file.
21647 * sysdeps/unix/sysv/linux/writev.c: Likewise.
21648
21649 2014-10-17 Roland McGrath <roland@hack.frob.com>
21650
21651 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21652
21653 * sysdeps/i386/nptl/tls.h
21654 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21655 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21656 New macros.
21657 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21658 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21659 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21660 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21661 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21662 Call CHECK_THREAD_SYSINFO instead of doing an assert.
21663
21664 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21665 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21666 on [__NR_futex].
21667 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21668 broken out of ...
21669 (__pthread_mutex_init): ... here. Call it.
21670 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21671 Conditionalize PI cases on [__NR_futex].
21672 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21673 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21674 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21675
21676 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21677 conditional on [SIGSETXID].
21678 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21679 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21680 is defined. Likewise for SIGSETXID.
21681 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21682 Conditionalize definitions on [SIGSETXID].
21683 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21684 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21685 unblocking on [SIGCANCEL].
21686
21687 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21688 [__NR_set_robust_list].
21689
21690 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21691
21692 * string/strcoll_l.c (get_next_seq): Fix up formatting.
21693 (do_compare): Likewise.
21694
21695 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
21696
21697 [BZ #15884]
21698 * string/strcoll_l.c: Don't include stdio.h.
21699 (coll_seq): Remove members idxarr and rulearr.
21700 (get_next_seq_cached): Remove function.
21701 (get_next_seq): Likewise.
21702 (get_next_seq_nocache): Rename to get_next_seq.
21703 (do_compare): Remove function.
21704 (do_compare_nocache): Rename to do_compare.
21705 (STRCOLL): Remove weight and rules cache.
21706
21707 2014-10-16 Roland McGrath <roland@hack.frob.com>
21708
21709 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21710 * sysdeps/arm/sfp-machine.h: ... to here.
21711 * sysdeps/arm/Implies: Remove arm/soft-fp.
21712
21713 2014-10-14 Joseph Myers <joseph@codesourcery.com>
21714
21715 * conform/data/sys/utsname.h-data (*_t): Allow.
21716 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21717 [POSIX] (WEXITED): Do not expect constant.
21718 [POSIX] (WSTOPPED): Likewise.
21719 [POSIX] (WNOHANG): Likewise.
21720 [POSIX] (WNOWAIT): Likewise.
21721 [POSIX] (siginfo_t): Do not expect type or elements.
21722 [POSIX] (pid_t): Do not expect type.
21723 [POSIX] (signal.h): Do not allow header.
21724 [POSIX] (sys/resource.h): Likewise.
21725 [POSIX] (si_*): Do not allow pattern.
21726 [POSIX] (W*): Likewise.
21727 [POSIX] (P_*): Likewise.
21728 [POSIX] (BUS_*): Likewise.
21729 [POSIX] (CLD_*): Likewise.
21730 [POSIX] (FPE_*): Likewise.
21731 [POSIX] (ILL_*): Likewise.
21732 [POSIX] (POLL_*): Likewise.
21733 [POSIX] (SEGV_*): Likewise.
21734 [POSIX] (SI_*): Likewise.
21735 [POSIX] (TRAP_*): Likewise.
21736 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21737 variable.
21738
21739 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21740
21741 [BZ #12926]
21742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21743 infinite loop when __recvmsg returns 0.
21744
21745 2014-10-10 Joseph Myers <joseph@codesourcery.com>
21746
21747 * CANCEL-FCT-WAIVE: Remove file.
21748 * CANCEL-FILE-WAIVE: Likewise.
21749
21750 [BZ #14132]
21751 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21752 instead of INTVARDEF.
21753 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21754 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21755 rtld_hidden_data_def instead of INTVARDEF.
21756 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21757 * elf/dl-deps.c (expand_dst): Likewise.
21758 * elf/dl-load.c (_dl_dst_count): Likewise.
21759 (_dl_dst_substitute): Likewise.
21760 (decompose_rpath): Likewise.
21761 (_dl_init_paths): Likewise.
21762 (open_path): Likewise.
21763 (_dl_map_object): Likewise.
21764 * elf/rtld.c (dl_main): Likewise.
21765 (process_dl_audit): Likewise.
21766 (process_envvars): Likewise.
21767 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21768 Remove declaration.
21769 (__libc_enable_secure): Use rtld_hidden_proto.
21770
21771 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21772
21773 * elf/dl-load.c
21774 (add_path): New function broken out of _dl_rtld_di_serinfo.
21775 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
21776
21777 2014-10-09 Joseph Myers <joseph@codesourcery.com>
21778
21779 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21780 parentheses around macro arguments.
21781 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21782 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21783 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21784 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21785 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21786 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21787 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21788 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21789 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21790 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21791 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21792 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21793 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21794 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21795 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21796 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21797 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21798 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21799 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21800 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21801 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21802 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21803 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21804 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21805 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21806 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21807 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21808 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21809 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21810 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21811 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21812 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21813 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21814 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21815 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21816 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21817 Likewise.
21818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21819 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21820 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21821 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21822 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21823 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21824 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21825 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21826 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21827 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21828 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21829 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21830 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21832 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21833 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21834 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21835 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21836 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21837 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21838 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21839 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21840 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21841 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21842 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21843 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21844 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21845 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21846 (_FP_FRAC_SRS_1): Likewise.
21847 (_FP_FRAC_CLZ_1): Likewise.
21848 (_FP_MUL_MEAT_1_imm): Likewise.
21849 (_FP_MUL_MEAT_1_wide): Likewise.
21850 (_FP_MUL_MEAT_1_hard): Likewise.
21851 (_FP_SQRT_MEAT_1): Likewise.
21852 (_FP_FRAC_ASSEMBLE_1): Likewise.
21853 (_FP_FRAC_DISASSEMBLE_1): Likewise.
21854 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21855 (__FP_CLZ_2): Likewise.
21856 (_FP_MUL_MEAT_2_wide): Likewise.
21857 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21858 (_FP_MUL_MEAT_2_gmp): Likewise.
21859 (_FP_MUL_MEAT_2_120_240_double): Likewise.
21860 (_FP_SQRT_MEAT_2): Likewise.
21861 (_FP_FRAC_ASSEMBLE_2): Likewise.
21862 (_FP_FRAC_DISASSEMBLE_2): Likewise.
21863 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21864 (_FP_FRAC_CLZ_4): Likewise.
21865 (_FP_MUL_MEAT_4_wide): Likewise.
21866 (_FP_MUL_MEAT_4_gmp): Likewise.
21867 (_FP_SQRT_MEAT_4): Likewise.
21868 (_FP_FRAC_ASSEMBLE_4): Likewise.
21869 (_FP_FRAC_DISASSEMBLE_4): Likewise.
21870 * soft-fp/op-common.h (_FP_CMP): Likewise.
21871 (_FP_CMP_EQ): Likewise.
21872 (_FP_CMP_UNORD): Likewise.
21873 (_FP_TO_INT): Likewise.
21874 (_FP_FROM_INT): Likewise.
21875 [!__FP_CLZ] (__FP_CLZ): Likewise.
21876 (_FP_DIV_HELP_imm): Likewise.
21877 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21878 Likewise.
21879 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21880 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21881 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21882 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21883 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21884 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21885 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21886 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21887 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21888 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21889 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21890 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21891 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21892 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21893 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21894 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21895 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21896 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21897 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21898 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21899 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21900 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21901 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21902 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21903 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21904 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21905 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21906 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21907 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21908 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21909 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21910 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21911 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21912 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21913 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21914 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21915 (FP_UNPACK_RAW_SP): Likewise.
21916 (FP_PACK_RAW_S): Likewise.
21917 (FP_PACK_RAW_SP): Likewise.
21918 (FP_UNPACK_S): Likewise.
21919 (FP_UNPACK_SP): Likewise.
21920 (FP_UNPACK_SEMIRAW_S): Likewise.
21921 (FP_UNPACK_SEMIRAW_SP): Likewise.
21922 (FP_PACK_S): Likewise.
21923 (FP_PACK_SP): Likewise.
21924 (FP_PACK_SEMIRAW_S): Likewise.
21925 (FP_PACK_SEMIRAW_SP): Likewise.
21926 (_FP_SQRT_MEAT_S): Likewise.
21927 (FP_CMP_S): Likewise.
21928 (FP_CMP_EQ_S): Likewise.
21929 (FP_CMP_UNORD_S): Likewise.
21930 (FP_TO_INT_S): Likewise.
21931 (FP_FROM_INT_S): Likewise.
21932
21933 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21934
21935 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21936 (FP_EX_INVALID_IMZ): Likewise.
21937 (FP_EX_INVALID_IMZ_FMA): Likewise.
21938 (FP_EX_INVALID_ISI): Likewise.
21939 (FP_EX_INVALID_ZDZ): Likewise.
21940 (FP_EX_INVALID_IDI): Likewise.
21941 (FP_EX_INVALID_SQRT): Likewise.
21942 (FP_EX_INVALID_CVI): Likewise.
21943 (FP_EX_INVALID_VC): Likewise.
21944 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21945 "invalid" exceptions.
21946 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21947 (_FP_ADD_INTERNAL): Likewise.
21948 (_FP_MUL): Likewise.
21949 (_FP_FMA): Likewise.
21950 (_FP_DIV): Likewise.
21951 (_FP_CMP_CHECK_NAN): Likewise.
21952 (_FP_SQRT): Likewise.
21953 (_FP_TO_INT): Likewise.
21954 (FP_EXTEND): Likewise.
21955
21956 2014-10-09 Allan McRae <allan@archlinux.org>
21957
21958 * po/fr.po: Update French translation from translation project.
21959
21960 2014-10-09 Joseph Myers <joseph@codesourcery.com>
21961
21962 [BZ #14132]
21963 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21964 of INTDEF.
21965 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21966 (__cxa_atexit): Use libc_hidden_proto.
21967 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21968
21969 [BZ #14132]
21970 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21971 declaration.
21972 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21973 [!_ISOMAC] (__iswspace_l_internal): Likewise.
21974 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21975 [!_ISOMAC] (__iswctype_internal): Likewise.
21976 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21977 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21978 alias.
21979 (fcntl): Remove __fcntl_internal alias.
21980 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21981 __connect_internal alias.
21982 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21983 Likewise.
21984
21985 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21986 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21987 FP_DENORM_ZERO.
21988 (_FP_CHECK_FLUSH_ZERO): New macro.
21989 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21990 (_FP_CMP): Likewise.
21991 (_FP_CMP_EQ): Likewise.
21992 (_FP_TO_INT): Do not set inexact for subnormal arguments if
21993 FP_DENORM_ZERO.
21994 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21995 (FP_TRUNC): Likewise.
21996
21997 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21998 treated as invalid conversion, not as normal exponent.
21999
22000 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22001 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
22002 (_FP_CMP_EQ): Likewise.
22003 (_FP_CMP_UNORD): Likewise.
22004 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22005 (FP_CMP_EQ_D): Likewise.
22006 (FP_CMP_UNORD_D): Likewise.
22007 * soft-fp/extended.h (FP_CMP_E): Likewise.
22008 (FP_CMP_EQ_E): Likewise.
22009 (FP_CMP_UNORD_E): Likewise.
22010 * soft-fp/quad.h (FP_CMP_Q): Likewise.
22011 (FP_CMP_EQ_Q): Likewise.
22012 (FP_CMP_UNORD_Q): Likewise.
22013 * soft-fp/single.h (FP_CMP_S): Likewise.
22014 (FP_CMP_EQ_S): Likewise.
22015 (FP_CMP_UNORD_S): Likewise.
22016 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22017 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22018 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22019 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22020 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22021 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22022 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22023 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22024 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22025 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22026 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22027 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22028 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22029 to FP_CMP_Q.
22030 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22031 FP_CMP_Q.
22032 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22033 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22034 FP_CMP_EQ_Q.
22035 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22036 FP_CMP_Q.
22037 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22038 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22039 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22040 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22041 FP_CMP_EQ_Q.
22042 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22043 FP_CMP_Q.
22044 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22045 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22046 FP_CMP_EQ_Q.
22047 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22048 FP_CMP_Q.
22049 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22050 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22051 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22052 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22053 FP_CMP_EQ_Q.
22054
22055 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22056 a subnormal result, set the underflow exception if trapping on
22057 underflow is enabled.
22058 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22059 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22060 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22061 redefine to 0.
22062 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22063 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22064 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22065 * soft-fp/extendxftf2.c (__extendxftf2): Use
22066 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22067
22068 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22069 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22070 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22071 FP_HANDLE_EXCEPTIONS.
22072 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22073 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22074 FP_HANDLE_EXCEPTIONS.
22075 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22076 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22077 FP_HANDLE_EXCEPTIONS.
22078 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22079 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22080 FP_HANDLE_EXCEPTIONS.
22081
22082 2014-10-08 Joseph Myers <joseph@codesourcery.com>
22083
22084 [BZ #14132]
22085 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22086 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22087 use INTUSE.
22088 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22089 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22090 Remove alias.
22091 (__adjtimex): Define using libc_hidden_ver.
22092 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22093 Remove declaration.
22094 (ntp_gettime): Call __adjtimex directly.
22095 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22096 Remove declaration.
22097 (ntp_gettimex): Call __adjtimex directly.
22098 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22099 __adjtimex_internal alias.
22100
22101 2014-10-08 Roland McGrath <roland@hack.frob.com>
22102
22103 [BZ #17460]
22104 * nscd/nscd.c (more_help): Rewrite list of tables collection
22105 using xstrdup and asprintf.
22106
22107 * nscd/nscd_conf.c: Remove local xstrdup declaration.
22108
22109 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22110 Roland McGrath <roland@hack.frob.com>
22111
22112 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22113 (do_lookup_unique): ... local function 'enter' here; update callers.
22114
22115 2014-10-06 Joseph Myers <joseph@codesourcery.com>
22116
22117 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22118 compat_symbol calls on [SHARED].
22119 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22120 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22121 Remove.
22122 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22123 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22124 (oldsetrlimit): Remove.
22125 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22127 (lchown): New syscall entry.
22128 (oldsetrlimit): Remove.
22129 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22130 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22131 (oldsetrlimit): Remove.
22132 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22133
22134 [BZ #14138]
22135 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22136 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22137 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22138 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22139 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22140 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22141 (fchown): Likewise.
22142 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22143 (fchown): Likewise.
22144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22145 Likewise.
22146
22147 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22148
22149 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22150 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22151 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22152 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22153 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22154 Likewise.
22155 (__old_sem_post): Likewise.
22156
22157 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
22158
22159 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22160 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22161 HAVE_CLOCK_GETTIME_VSYSCALL macros.
22162 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22163 Use INLINE_VSYSCALL macro.
22164 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22165 __vdso_clock_gettime.
22166 * sysdeps/unix/sysv/linux/tile/init-first.c
22167 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22168 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22169 __vdso_clock_gettime.
22170
22171 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22172 to set up frame more cleanly.
22173
22174 * sysdeps/tile/memcmp.c: New file.
22175
22176 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22177
22178 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22179 * sysdeps/tile/tilegx/strcasestr.c: New file.
22180 * sysdeps/tile/tilegx/strnlen.c: New file.
22181 * sysdeps/tile/tilegx/strstr.c: New file.
22182
22183 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22184
22185 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
22186
22187 * nptl/tst-setuid3.c: Write errors to stdout.
22188
22189 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22190
22191 * elf/dl-deps.c
22192 (preload): New functions broken out of _dl_map_object_deps.
22193 (_dl_map_object_deps): Remove a nested function. Update call sites.
22194
22195 2014-10-01 Joseph Myers <joseph@codesourcery.com>
22196
22197 [BZ #14138]
22198 * sysdeps/unix/sysv/linux/execve.c: Remove file.
22199 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22200
22201 2014-10-01 Steve Ellcey <sellcey@mips.com>
22202
22203 * sysdeps/mips/strcmp.S: New.
22204
22205 2014-09-30 Joseph Myers <joseph@codesourcery.com>
22206
22207 [BZ #14138]
22208 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22209 (linkat): Likewise.
22210 (mkdirat): Likewise.
22211 (readlinkat): Likewise.
22212 (renameat): Likewise.
22213 (symlinkat): Likewise.
22214 (unlinkat): Likewise.
22215 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22216 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22217 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22218 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22219 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22220 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22221 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22222
22223 2014-09-30 Will Newton <will.newton@linaro.org>
22224
22225 * math/math.h: Define long double math functions if
22226 _LIBC_TEST is defined.
22227 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22228
22229 * localedata/Makefile: Move assignment to tests-special
22230 into an ifdef testing run-built-tests.
22231 * timezone/Makefile: Likewise.
22232
22233 2014-09-29 Joseph Myers <joseph@codesourcery.com>
22234
22235 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22236 with $(BASH) not $(SHELL).
22237
22238 2014-09-29 Carlos O'Donell <carlos@redhat.com>
22239 Matthew LeGendre <legendre1@llnl.gov>
22240
22241 [BZ #17411]
22242 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22243 l_reloc_result.
22244
22245 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22246
22247 * stdio-common/printf_fp.c
22248 (hack_digit): New function, broken out of ...
22249 (__printf_fp): ... local function here. Update call sites.
22250 hack_digit now takes an additional parameter that is a pointer
22251 to a struct of the referenced locals. Those locals moved inside
22252 the struct and references updated.
22253
22254 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
22255
22256 * aclocal.m4: Require autoconf 2.69.
22257 * configure: Regenerated.
22258 * sysdeps/aarch64/configure: Likewise.
22259 * sysdeps/alpha/configure: Likewise.
22260 * sysdeps/arm/armv7/configure: Likewise.
22261 * sysdeps/arm/configure: Likewise.
22262 * sysdeps/ia64/configure: Likewise.
22263 * sysdeps/mach/configure: Likewise.
22264 * sysdeps/mips/configure: Likewise.
22265 * sysdeps/s390/configure: Likewise.
22266 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22268
22269 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22270 file.
22271 * sysdeps/ia64/configure.ac: Likewise.
22272
22273 2014-09-26 Joseph Myers <joseph@codesourcery.com>
22274
22275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22276 specify symbol version for ld.so. Do not include entry for
22277 libpthread.
22278 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22279 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22280 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22281
22282 [BZ #14171]
22283 * Makeconfig [$(build-shared) = yes]
22284 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22285 makefiles.
22286 [$(build-shared) = yes && $(soversions.mk-done) = t]
22287 ($(common-objpfx)gnu/lib-names.h): Remove rule.
22288 [$(build-shared) = yes && $(soversions.mk-done) = t]
22289 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
22290 to Makerules.
22291 [$(build-shared) = yes && $(soversions.mk-done) = t]
22292 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22293 here.
22294 [$(build-shared) = yes && $(soversions.mk-done) = t]
22295 (common-generated): Don't append gnu/lib-names.h and
22296 gnu/lib-names.stmp here.
22297 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22298 (lib-names-h-abi): New variable.
22299 [$(build-shared) = yes && $(soversions.mk-done) = t]
22300 (lib-names-stmp-abi): Likewise.
22301 [$(build-shared) = yes && $(soversions.mk-done) = t &&
22302 abi-variants] (before-compile): Append
22303 $(common-objpfx)$(lib-names-h-abi).
22304 [$(build-shared) = yes && $(soversions.mk-done) = t &&
22305 abi-variants] (common-generated): Append gnu/lib-names.h.
22306 [$(build-shared) = yes && $(soversions.mk-done) = t &&
22307 abi-variants] (install-others-nosubdir): Depend on
22308 $(inst_includedir)/$(lib-names-h-abi).
22309 [$(build-shared) = yes && $(soversions.mk-done) = t &&
22310 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22311 [$(build-shared) = yes && $(soversions.mk-done) = t]
22312 ($(common-objpfx)$(lib-names-h-abi)): New rule.
22313 [$(build-shared) = yes && $(soversions.mk-done) = t]
22314 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22315 [$(build-shared) = yes && $(soversions.mk-done) = t]
22316 (common-generated): Append $(lib-names-h-abi) and
22317 $(lib-names-stmp-abi).
22318 * scripts/lib-names.awk: Do not handle multi being set.
22319 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22320 Remove variable.
22321 (abi-lp64_be-ld-soname): Likewise.
22322 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22323 Likewise.
22324 (abi-hard-ld-soname): Likewise.
22325 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22326 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22327 Remove variable.
22328 (abi-o32_hard-ld-soname): Likewise.
22329 (abi-o32_soft_2008-ld-soname): Likewise.
22330 (abi-o32_hard_2008-ld-soname): Likewise.
22331 (abi-n32_soft-ld-soname): Likewise.
22332 (abi-n32_hard-ld-soname): Likewise.
22333 (abi-n32_soft_2008-ld-soname): Likewise.
22334 (abi-n32_hard_2008-ld-soname): Likewise.
22335 (abi-n64_soft-ld-soname): Likewise.
22336 (abi-n64_hard-ld-soname): Likewise.
22337 (abi-n64_soft_2008-ld-soname): Likewise.
22338 (abi-n64_hard_2008-ld-soname): Likewise.
22339 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22340 Likewise.
22341 (abi-64-v2-ld-soname): Likewise.
22342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22343 ld.so entries.
22344 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22345 variable.
22346 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22347 entry.
22348 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22349 variable.
22350 (abi-64-ld-soname): Likewise.
22351 (abi-x32-ld-soname): Likewise.
22352 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22353 entry.
22354 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22355
22356 2014-09-23 Joseph Myers <joseph@codesourcery.com>
22357
22358 [BZ #14138]
22359 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22360 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22361 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22362 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22363 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22364 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22365 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22366 syscall entry for GLIBC_2.2 symbol version.
22367 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22368 Likewise.
22369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22370 (setrlimit): Likewise.
22371 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22372 Likewise.
22373
22374 2014-09-23 Will Newton <will.newton@linaro.org>
22375
22376 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22377 _LINUX_ARM_SYSDEP_H include guard too.
22378 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22379 define.
22380
22381 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
22382
22383 * sysdeps/unix/sysv/linux/eventfd.c:
22384 Make first argument unsigned.
22385 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22386 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22387
22388 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
22389
22390 * socket/recvmmsg.c (recvmmsg): Drop const argument.
22391 * socket/sys/socket.h: Likewise.
22392 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22393
22394 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22395
22396 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22397
22398 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
22399
22400 * time/tst-ftime.c: New test.
22401 * time/Makefile (tests): Add tst-ftime.
22402
22403 2014-09-17 Joseph Myers <joseph@codesourcery.com>
22404
22405 * soft-fp/extended.h: Fix comment formatting.
22406 * soft-fp/op-1.h: Likewise.
22407 * soft-fp/op-2.h: Likewise.
22408 * soft-fp/op-4.h: Likewise.
22409 * soft-fp/op-8.h: Likewise.
22410 * soft-fp/op-common.h: Likewise.
22411 * soft-fp/soft-fp.h: Likewise.
22412
22413 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22414
22415 2014-09-16 Joseph Myers <joseph@codesourcery.com>
22416
22417 [BZ #6652]
22418 * Makeconfig (soversions-default-setname): Remove variable.
22419 ($(common-objpfx)soversions.i): Don't pass default_setname to
22420 soversions.awk.
22421 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22422 oldest_abi to abi-versions.awk.
22423 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22424 * config.make.in (oldest-abi): Remove variable.
22425 * configure.ac (--enable-oldest-abi): Remove configure option.
22426 * configure: Regenerated.
22427 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22428 text.
22429 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22430 * scripts/soversions.awk: Do not handle default_setname variable.
22431 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22432 variable.
22433 * sysdeps/mach/hurd/configure: Regenerated.
22434 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22435 variable.
22436 * sysdeps/unix/sysv/linux/configure: Regenerated.
22437
22438 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22439
22440 * elf/Makefile (CFLAGS-interp.c): Remove.
22441 ($(elf-objpfx)runtime-linker.h): Generate header with linker
22442 path string.
22443 * elf/interp.c: Include generated runtime-linker.h
22444
22445 * Makerules (lib%.so): Don't include $(+interp) in
22446 prerequisites.
22447 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22448 * dlfcn/eval.c: Remove file.
22449
22450 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22451 macros.
22452
22453 [BZ #17266]
22454 * misc/sys/cdefs.h: Define __extern_always_inline for clang
22455 4.2 and newer.
22456
22457 [BZ #17370]
22458 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22459
22460 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22461 Jakub Jelinek <jakub@redhat.com>
22462
22463 [BZ #17266]
22464 * libio/stdio.h: Check definition of __fortify_function
22465 instead of __extern_always_inline to include bits/stdio2.h.
22466 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22467 check if __extern_always_inline is defined.
22468 [__USE_MISC || __USE_XOPEN]: Likewise.
22469 [__USE_ISOC99] Likewise.
22470 * misc/sys/cdefs.h (__fortify_function): Define only if
22471 __extern_always_inline is defined.
22472 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22473 __extern_always_inline and __extern_inline only for g++-4.3
22474 and newer or a compatible gcc.
22475
22476 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
22477
22478 [BZ #17371]
22479 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22480 last change to handle zero prefix length.
22481
22482 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22483
22484 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22485 _SC_REGEX_VERSION.
22486
22487 * posix/getconf.c (vars): Add _POSIX_IPV6 and
22488 _POSIX_RAW_SOCKETS.
22489
22490 2014-09-13 Allan McRae <allan@archlinux.org>
22491
22492 * po/ru.po: Update Russian translation from translation project.
22493
22494 2014-09-12 Roland McGrath <roland@hack.frob.com>
22495
22496 * locale/programs/locale.c (show_locale_vars): Inline local function
22497 into its sole call site. Clean up some style nits.
22498 (print_item): New function, broken out of ...
22499 (show_info): ... local function here. Clean up style nits.
22500
22501 * locale/programs/ld-ctype.c (set_one_default): New function, broken
22502 out of ...
22503 (set_class_defaults): ... local function set_default here.
22504 Define set_default as a macro locally to pass constant parameters.
22505 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22506 rather than a shared local.
22507
22508 * stdlib/rpmatch.c (try): New function, broken out of ...
22509 (rpmatch): ... local function here. Also, prototypify definition.
22510
22511 2014-09-12 Joseph Myers <joseph@codesourcery.com>
22512
22513 * scripts/soversions.awk: Do not handle configuration names.
22514 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22515 vendor and os variables to soversions.awk.
22516 * configure.ac: Do not modify gnu-* host_os.
22517 * configure: Regenerated
22518 * shlib-versions: Remove first column with configuration names.
22519 * nptl/shlib-versions: Likewise.
22520 * nptl_db/shlib-versions: Likewise.
22521 * sysdeps/hppa/shlib-versions: Likewise.
22522 * sysdeps/m68k/shlib-versions: Likewise.
22523 * sysdeps/mach/hurd/shlib-versions: Likewise.
22524 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22525 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22526 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22527 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22528 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22529 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22530 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22531 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22533 Likewise.
22534 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22535 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22536 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22538 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22539 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22540 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22541 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22542
22543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22544 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22546 Regenerated.
22547 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22549 Condition symbol version definitions on [HAVE_ELFV2_ABI].
22550
22551 * shlib-versions: Remove OS-specific entries. Moved to files in
22552 sysdeps.
22553 * sysdeps/mach/hurd/shlib-versions: New file.
22554 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22555
22556 * nptl/shlib-versions: Remove architecture-specific entries.
22557 Moved to files in sysdeps.
22558 * shlib-versions: Likewise.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22560 file.
22561 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22562 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22563 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22564 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22565
22566 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22567 (UDP_NO_CHECK6_RX): Likewise.
22568
22569 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22570
22571 * sysdeps/posix/sysconf.c (__sysconf): Spell
22572 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22573
22574 2014-08-12 Florian Weimer <fweimer@redhat.com>
22575
22576 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22577 loading.
22578 * iconv/Versions (__gconv_transliterate): Export for use from
22579 gconv modules.
22580 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22581 (struct __gconv_trans_data, __gconv_trans_fct,
22582 __gconv_trans_context_fct, __gconv_trans_query_fct,
22583 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22584 definitions.
22585 (struct __gconv_step_data): Remove __trans member.
22586 (__gconv_transliterate): Declaration moved from gconv_int.h. No
22587 longer hidden. Remove unused trans_data argument.
22588 * iconv/gconv_int.h (struct trans_struct): Remove definition.
22589 (__gconv_translit_find): Remove declaration.
22590 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
22591 prototype.
22592 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22593 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22594 trans_data argument. Add hidden definition.
22595 (__gconv_translit_find): Remove.
22596 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22597 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22598 * iconv/skeleton.c: Remove transliteration initialization.
22599 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22600 __gconv_step_data initialization.
22601 * libio/iofwide.c (__libio_translit_): Remove.
22602 (_IO_fwide): Adjust struct __gconv_step_data initialization.
22603 * wcsmbs/btowc.c (__btowc): Likewise.
22604 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22605 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22606 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22607 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22608 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22609 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22610 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22611 * wcsmbs/wctob.c (wctob): Likewise.
22612
22613 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22614
22615 [BZ #16194]
22616 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22617 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
22618 register usage.
22619 * sysdeps/x86/Makefile: Adjust.
22620
22621 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22622 Roland McGrath <roland@hack.frob.com>
22623
22624 * locale/weight.h: Add include guard.
22625 (findidx): Make static rather than auto; take new parameters
22626 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22627 * locale/weightwc.h: Likewise.
22628 * posix/fnmatch_loop.c
22629 (FCT): Change type of EXTRA from int32_t to wint_t.
22630 Don't include either header inside the function.
22631 Call FINDIDX rather than findidx, and pass new arguments.
22632 #undef FINDIDX at the end of the file.
22633 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22634 FINDIDX before including fnmatch_loop.c for the non-wide version.
22635 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22636 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22637 for the wide version.
22638 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22639 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22640 Pass new arguments to findidx.
22641 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22642 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22643 Don't #include it inside the function. Pass new arguments to findidx.
22644 * posix/regex_internal.h
22645 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22646 (re_string_elem_size_at): Don't #include it inside the function.
22647 Pass new arguments to findidx.
22648 * string/strcoll_l.c: #include WEIGHT_H at top level.
22649 (get_next_seq): Don't #include it inside the function.
22650 Pass new arguments to findidx.
22651 (get_next_seq_nocache): Likewise.
22652 * string/strxfrm_l.c: #include WEIGHT_H at top level.
22653 (STRXFRM): Don't #include it inside the function.
22654 Pass new arguments to findidx.
22655
22656 2014-09-11 Florian Weimer <fweimer@redhat.com>
22657
22658 [BZ #17344]
22659 * malloc/malloc.c (unlink): Turn asserts into a call to
22660 malloc_printerr.
22661
22662 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
22663
22664 [BZ #17370]
22665 * libio/wfileops (do_ftell_wide): Free OUT.
22666
22667 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
22668
22669 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22670
22671 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22672
22673 [BZ #17363]
22674 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22675 group if the current group is empty.
22676
22677 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22678
22679 * benchtests/bench-memset.c (test_main): Add more test from size
22680 from 32 to 512 bytes.
22681 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22682 Add POWER8 memset object.
22683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22684 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22685 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22686 implementation.
22687 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22688 Likewise.
22689 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22690 multiarch POWER8 memset optimization.
22691 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22692 POWER8 memset optimization.
22693
22694 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22695 Remove bzero multiarch objects.
22696 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22697 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22698 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22699 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22700 Remove define.
22701 [__bzero]: Redefine to specific name.
22702 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22703 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22704 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22705 define.
22706 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22707 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22708
22709 2014-09-10 Florian Weimer <fweimer@redhat.com>
22710
22711 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22712 warnings into errors.
22713
22714 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22715 __cxa_thread_atexit_impl prototype.
22716
22717 2014-09-09 Steve Ellcey <sellcey@mips.com>
22718
22719 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22720 Fix capitalization of error message.
22721
22722 2014-09-09 Steve Ellcey <sellcey@mips.com>
22723
22724 * sysdeps/mips/preconfigure: Modify ABI tests.
22725
22726 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
22727
22728 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22729
22730 2014-09-07 Roland McGrath <roland@hack.frob.com>
22731 Carlos O'Donell <carlos@systemhalted.org>
22732
22733 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22734 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22735 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22736 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22737 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22738 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22739 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22740 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22741 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22742 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22743 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22744 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22745 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22746 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22747 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22748 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22749 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22750 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22751 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22752 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22753 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22754 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22755 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22756 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22757 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22758 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22759 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22760 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22761 Deconditionalize the code that was previously under [RESET_PID].
22762 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22763 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22764 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22765 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22766 include sysdep.h.
22767
22768 2014-09-08 Allan McRae <allan@archlinux.org>
22769
22770 * version.h (RELEASE): Set to "development".
22771 (VERSION): Set to "2.20.90"
22772
22773 2014-09-07 Allan McRae <allan@archlinux.org
22774
22775 * version.h (RELEASE): Set to "stable".
22776 (VERSION): Set to "2.20"
22777 * include/features.h (__GLIBC_MINOR__): Set to 20.
22778
22779 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22780 Liebler.
22781
22782 * po/ko.po: Update Korean translation from translation project.
22783
22784 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
22785
22786 [BZ #17354]
22787 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22788 macro for handling signed relocations.
22789
22790 2014-09-03 Florian Weimer <fweimer@redhat.com>
22791
22792 [BZ #17325]
22793 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22794 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22795 assert.
22796 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22797 * iconvdata/ibm935.c (BODY): Likewise.
22798 * iconvdata/ibm937.c (BODY): Likewise.
22799 * iconvdata/ibm939.c (BODY): Likewise.
22800 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22801 assert.
22802 * iconvdata/Makefile (iconv-test.out): Pass module list to test
22803 script.
22804 * iconvdata/run-iconv-test.sh: New test loop for checking for
22805 decoder crashers.
22806
22807 2014-09-02 Khem Raj <raj.khem@gmail.com>
22808
22809 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22810 libm_hidden_ver.
22811
22812 2014-09-01 Allan McRae <allan@archlinux.org>
22813
22814 * po/eo.po: Update Esperanto translation from translation project.
22815
22816 * po/ca.po: Update Catalan translation from translation project.
22817
22818 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
22819
22820 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22821 __proc_dostop call.
22822
22823 2014-08-27 Mark Wielaard <mjw@redhat.com>
22824
22825 [BZ #17319]
22826 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22827 to call set_thread_area instead of hand written asm.
22828 (__NR_set_thread_area): Removed define.
22829 (TLS_FLAG_WRITABLE): Likewise.
22830 (__ASSUME_SET_THREAD_AREA): Remove check.
22831 (TLS_EBX_ARG): Remove define.
22832 (TLS_LOAD_EBX): Likewise.
22833
22834 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22835
22836 Simplify atomicity of socket creation in bind.
22837
22838 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22839 looking up the name after linking the file.
22840
22841 2014-08-27 Allan McRae <allan@archlinux.org>
22842
22843 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22844
22845 2014-08-26 Florian Weimer <fweimer@redhat.com>
22846
22847 [BZ #17187]
22848 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22849 trans_compare, open_translit, __gconv_translit_find):
22850 Remove module loading code.
22851
22852 2014-08-26 Allan McRae <allan@archlinux.org>
22853
22854 * po/vi.po: Update Vietnamese translation from translation project.
22855
22856 * po/uk.po: Update Ukrainian translation from translation project.
22857
22858 * po/fr.po: Update French translation from translation project.
22859
22860 * po/ru.po: Update Russian translation from translation project.
22861
22862 * po/pl.po: Update Polish translation from translation project.
22863
22864 * po/cs.po: Update Czech translation from translation project.
22865
22866 * po/de.po: Update German translation from translation project.
22867
22868 * po/bg.po: Update Bulgarian translation from translation project.
22869
22870 * po/sv.po: Update Sweedish translation from translation project.
22871
22872 * po/nl.po: Update Dutch translation from translation project.
22873
22874 * po/es.po: Update Spanish translation from translation project.
22875
22876 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22877
22878 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22879
22880 * catgets/Makefile (CPPFLAGS-gencat): Remove.
22881 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22882 (CPPFLAGS-iconvconfig): Likewise.
22883 * timezone/Makefile (CPPFLAGS-zic): Likewise.
22884
22885 * include/libc-symbols.h: Remove unnecessary check for
22886 NOT_IN_libc.
22887 * nptl/pthreadP.h: Likewise.
22888 * sysdeps/aarch64/setjmp.S: Likewise.
22889 * sysdeps/alpha/setjmp.S: Likewise.
22890 * sysdeps/arm/sysdep.h: Likewise.
22891 * sysdeps/i386/setjmp.S: Likewise.
22892 * sysdeps/m68k/setjmp.c: Likewise.
22893 * sysdeps/posix/getcwd.c: Likewise.
22894 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22895 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22896 * sysdeps/s390/s390-32/setjmp.S: Likewise.
22897 * sysdeps/s390/s390-64/setjmp.S: Likewise.
22898 * sysdeps/sh/sh3/setjmp.S: Likewise.
22899 * sysdeps/sh/sh4/setjmp.S: Likewise.
22900 * sysdeps/unix/alpha/sysdep.h: Likewise.
22901 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22902 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22903 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22904 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22909 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22912 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22914 * sysdeps/x86_64/setjmp.S: Likewise.
22915
22916 2014-08-13 Joseph Myers <joseph@codesourcery.com>
22917
22918 [BZ #17263]
22919 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22920 <stdint.h>.
22921 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22922 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22923
22924 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22925
22926 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22927
22928 [BZ #17262]
22929 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22930 and __x86_64__ when disabling x87 inline functions.
22931
22932 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
22933
22934 [BZ #17259]
22935 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22936 asm statement with __cpuid_count.
22937
22938 2014-08-12 Mike Frysinger <vapier@gentoo.org>
22939
22940 * configure.ac: Change __ehdr_start code to dereference the struct.
22941 Run readelf on the output to look for relocations.
22942 * configure: Regenerated.
22943
22944 2014-08-12 Joseph Myers <joseph@codesourcery.com>
22945
22946 [BZ #17261]
22947 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22948 value to 0.
22949 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22950
22951 2014-08-12 Roland McGrath <roland@hack.frob.com>
22952
22953 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22954
22955 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
22956
22957 [BZ #16892]
22958 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22959 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22960
22961 2014-08-12 Sean Anderson <seanga2@gmail.com>
22962
22963 * malloc/malloc.c: Fix typo in comment.
22964
22965 2014-08-09 Allan McRae <allan@archlinux.org>
22966
22967 * Regenerate libc.po.
22968
22969 2014-08-08 Mike Frysinger <vapier@gentoo.org>
22970
22971 * intl/tst-gettext2.sh: Check every lang file for creation.
22972
22973 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
22974
22975 * sysdeps/aarch64/fpu/math_private.h
22976 (libc_feholdsetround_noex_aarch64_ctx): New function.
22977
22978 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
22979
22980 * sysdeps/arm/armv6/strcpy.S (strcpy):
22981 Fix performance issue in misaligned cases.
22982
22983 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22984
22985 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22986 Move definition from termios.h.
22987 (struct termio): Likewise.
22988 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22989 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22990 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22991 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22992 Likewise.
22993 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22994 Move definition to ioctl-types.h
22995 (struct termio): Likewise.
22996 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22997 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22998 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22999 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23000 Likewise.
23001
23002 2014-08-05 Richard Henderson <rth@redhat.com>
23003
23004 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23005 exceptions.
23006 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23007 Add fraiseexcpt.
23008 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23009 Use __feraiseexcept.
23010 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23011 Protect libm symbols with IS_IN_libm.
23012
23013 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23014
23015 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
23016
23017 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23018
23019 2014-08-04 Will Newton <will.newton@linaro.org>
23020
23021 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23022 file.
23023
23024 2014-08-04 Mike Frysinger <vapier@gentoo.org>
23025
23026 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23027 variants for each function.
23028
23029 2014-08-04 Roland McGrath <roland@hack.frob.com>
23030
23031 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23032 appended ...
23033 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23034 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23035 appended ...
23036 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23037 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23038 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23039 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23040 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23041 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23042 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23043 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23044 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23045 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23046 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23047 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23048 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23049 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23050 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23051 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23052 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23053 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23054 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23055 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23056 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23057 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23058 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23059 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23060 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23061 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23062 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23063 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23064 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23065 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23066 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23067 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23068 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23069 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23070 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23071 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23072 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23073 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23074 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23075 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23076 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23077 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23078 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23079 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23080 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23081 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23082 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23083 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23084 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23085 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23086 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23087 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23088 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23089 Update #include.
23090 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23091 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23092
23093 2014-08-04 Roland McGrath <roland@hack.frob.com>
23094
23095 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23096 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23097 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23098 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23099 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23100 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23101
23102 2014-08-04 Roland McGrath <roland@hack.frob.com>
23103
23104 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23105 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23106 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23107 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23108
23109 2014-08-04 Roland McGrath <roland@hack.frob.com>
23110
23111 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23112 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23113 (__libc_vfork): Define function under this name.
23114 (__vfork): Define as an alias.
23115 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23116 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23117
23118 2014-08-04 Roland McGrath <roland@hack.frob.com>
23119
23120 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23121 that was previously under [RESET_PID].
23122 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23123
23124 2014-08-04 Andreas Schwab <schwab@suse.de>
23125
23126 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23127
23128 2014-08-03 Mike Frysinger <vapier@gentoo.org>
23129
23130 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23131 (main): Likewise.
23132
23133 2014-08-01 Roland McGrath <roland@hack.frob.com>
23134
23135 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23136
23137 2014-08-01 Richard Henderon <rth@redhat.com>
23138
23139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23140 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23141 typo in exact zero test.
23142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23143 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23145
23146 2014-08-01 Roland McGrath <roland@hack.frob.com>
23147
23148 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23149 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23150 * sysdeps/arm/sysdep.h: ... here.
23151 [!__ASSEMBLER__]: Include <stdint.h>.
23152
23153 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23154
23155 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23156 (HAVE_WCTYPE_H): Likewise.
23157 (HAVE_ISWCTYPE): Likewise.
23158 (ENABLE_NLS): Likewise.
23159 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23160 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23161
23162 * posix/regex_internal.c: Check if DEBUG is defined and is
23163 set.
23164
23165 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23166 (HAVE_MBSRTOWCS): Likewise.
23167 * posix/fnmatch.c: Include string.h unconditionally.
23168
23169 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23170
23171 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23172 reversal.
23173
23174 2014-07-31 Roland McGrath <roland@hack.frob.com>
23175
23176 * sysdeps/generic/safe-fatal.h: New file.
23177 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23178 * nptl/forward.c: Include it.
23179 (__pthread_unwind): Use __safe_fatal as default action, rather
23180 than a bogus use of INTERNAL_SYSCALL that could never work.
23181
23182 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23183 * configure.ac (libc_cv_builtin_trap): New test.
23184 * configure: Regenerated.
23185 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23186 (ABORT_INSTRUCTION): Define using __builtin_trap.
23187
23188 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23189 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23190 * sysdeps/nptl/nptl-signals.h: New file.
23191 * nptl/pthreadP.h: Include <nptl-signals.h>.
23192
23193 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23194
23195 * sysdeps/s390/s390-64/utf16-utf32-z9.c
23196 (ONE_DIRECTION): Define.
23197 * sysdeps/s390/s390-64/utf8-utf16-z9.c
23198 (ONE_DIRECTION): Define.
23199 * sysdeps/s390/s390-64/utf8-utf32-z9.c
23200 (ONE_DIRECTION): Define.
23201
23202 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23203
23204 * sysdeps/s390/Makefile: Delete file.
23205 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23206 * sysdeps/s390/__longjmp.c: Delete file.
23207 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23208 Remove fields __flags and __reserved.
23209 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23210 and add versioning.
23211 * sysdeps/s390/rtld-__longjmp.c: Delete file.
23212 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23213 * sysdeps/s390/rtld-setjmp.S: Likewise.
23214 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23215 * sysdeps/s390/s390-32/__longjmp.c: ... here.
23216 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23217 * sysdeps/s390/s390-32/setjmp.S: ... here.
23218 Add versioning.
23219 (__sigsetjmp): Remove setting __flags field.
23220 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23221 * sysdeps/s390/s390-64/__longjmp.c: ... here.
23222 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23223 * sysdeps/s390/s390-64/setjmp.S: ... here.
23224 Add versioning.
23225 (__sigsetjmp): Remove setting __flags field.
23226 * sysdeps/s390/setjmp.S: Delete file.
23227 * sysdeps/s390/sigjmp.c: Likewise.
23228 * sysdeps/s390/v1-longjmp.c: Likewise.
23229 * sysdeps/s390/v1-setjmp.h: Likewise.
23230 * sysdeps/s390/v1-sigjmp.c: Likewise.
23231 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23232 Remove v1-longjmp_chk.
23233 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23234 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23235 Include debug/longjmp_chk.c and add versioning.
23236 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23237 Include nptl/pt-longjmp.c and add versioning.
23238 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23239 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23240 Include __longjmp.c.
23241 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23242 Move to ...
23243 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23244 (__getcontext): Remove setting __flags field.
23245 Add versioning.
23246 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23247 Don't restore upper high grps.
23248 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23249 Likewise.
23250 (__swapcontext): Remove setting uc_flags field.
23251 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23252 Delete file.
23253 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23254 Include __longjmp.c.
23255 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23256 Move to ...
23257 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23258 (__getcontext): Remove setting __flags field.
23259 Add versioning.
23260 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23261 (__swapcontext): Remove setting uc_flags field.
23262 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23263 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23264 Remove fields uc_high_gprs and __reserved.
23265 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23266 New file with reverted content.
23267 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23268 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23269 Regenerated.
23270 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23271 Regenerated.
23272
23273 2014-07-31 Andreas Schwab <schwab@suse.de>
23274
23275 * config.h.in (HAVE_IFUNC): Define to 0.
23276 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23277 definedness.
23278
23279 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
23280
23281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23282 memmove-avx-unaligned, memcpy-avx-unaligned and
23283 mempcpy-avx-unaligned.
23284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23285 Add tests for AVX memcpy functions.
23286 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23287 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23288 memcpy_chk.
23289 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23290 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23291 memmove_chk.
23292 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23293 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23294 mempcpy_chk.
23295 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23296 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23297 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23298
23299 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23300
23301 [BZ #17213]
23302 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23303 powerpc64le.
23304
23305 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
23306
23307 [BZ #16839]
23308 * manual/llio.texi: Add section about open file description locks.
23309 * manual/examples/ofdlocks.c: Example of open file description
23310 lock usage.
23311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23312 F_OFD_SETLK, and F_OFD_SETLKW.
23313
23314 2014-07-23 Allan McRae <allan@archlinux.org>
23315
23316 * po/es.po: Update Spanish translation from translation project.
23317
23318 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
23319
23320 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23321
23322 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
23323
23324 [BZ #17078]
23325 * sysdeps/arm/dl-machine.h (elf_machine_rela)
23326 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23327 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23328
23329 2014-07-17 Joseph Myers <joseph@codesourcery.com>
23330
23331 [BZ #17088]
23332 * math/fesetenv.c (__fesetenv)
23333 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23334 * math/feupdateenv.c (__feupdateenv)
23335 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23336
23337 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23338 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23339 (__ASSUME_SOCKETCALL): Do not define.
23340
23341 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23342 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23343 (__ASSUME_SOCKETCALL): Do not define.
23344 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23345 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23346 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23347 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23348 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23349 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23350 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23351 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23352
23353 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23354 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23355 (__ASSUME_SOCKETCALL): Do not define.
23356 (__ASSUME_IPC64): Define unconditionally.
23357 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23358 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23359 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23360 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23361 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23362 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23363 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23364 Likewise.
23365
23366 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23367 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23368 (__ASSUME_SOCKETCALL): Do not define.
23369 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23370 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23371 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23372 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23373 (__ASSUME_REQUEUE_PI): Define unconditionally.
23374 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23375 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23376 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23377 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23378 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23379 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23380
23381 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23382 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23383 (__ASSUME_SOCKETCALL): Do not define.
23384 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23385 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23386 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23387 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23388 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23389 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23390
23391 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23392 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23393 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23394 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23395 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23396 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23397 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23398 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23399 (__ASSUME_GETCPU_SYSCALL): Likewise.
23400
23401 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23402 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
23403 cases for individual architectures.
23404 * sysdeps/gnu/configure: Regenerated.
23405 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23406 LIBC_SLIBDIR_RTLDDIR.
23407 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23408 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23409 LIBC_SLIBDIR_RTLDDIR.
23410 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23412 LIBC_SLIBDIR_RTLDDIR.
23413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23414 Regenerated.
23415 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23416 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23417 file.
23418 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23419 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23420 file.
23421 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23422 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23423 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23424 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23425
23426 * sysdeps/aarch64/shlib-versions: Move to ...
23427 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23428 * sysdeps/alpha/shlib-versions: Move to ...
23429 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23430 * sysdeps/arm/shlib-versions: Move to ...
23431 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23432 * sysdeps/hppa/shlib-versions: Move all contents except for
23433 libgcc_s entry to ...
23434 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
23435 entry from ...
23436 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
23437 * sysdeps/ia64/shlib-versions: Move to ...
23438 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
23439 entry from ...
23440 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
23441 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23442 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23443 * sysdeps/microblaze/shlib-versions: Move to ...
23444 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23445 * sysdeps/mips/shlib-versions: Move to ...
23446 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
23447 entry from ...
23448 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
23449 * sysdeps/tile/shlib-versions: Move to ...
23450 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23451 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23452 from ...
23453 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
23454 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23455 entry from ...
23456 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
23457
23458 2014-07-17 Will Newton <will.newton@linaro.org>
23459
23460 * sysdeps/arm/bits/atomic.h
23461 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23462 (__arch_compare_and_exchange_bool_16_int): Likewise.
23463 (__arch_compare_and_exchange_bool_64_int): Likewise.
23464
23465 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23466 into an #else block.
23467
23468 2014-07-16 Roland McGrath <roland@hack.frob.com>
23469
23470 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23471 just Linux configurations. Test empirically that the compiler sets
23472 __ARM_EABI__, rather than using the tuple to decide.
23473 * sysdeps/arm/preconfigure: Regenerated.
23474 * sysdeps/unix/sysv/linux/arm/configure: File removed.
23475 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23476 contents appended ...
23477 * sysdeps/arm/configure.ac: ... here.
23478 * sysdeps/arm/configure: Regenerated.
23479
23480 2014-07-15 Roland McGrath <roland@hack.frob.com>
23481
23482 * nptl/pthread_kill.c: New file.
23483 * nptl/pthread_sigmask.c: New file.
23484 * nptl/pthread_sigqueue.c: New file.
23485
23486 * sysdeps/nptl/lowlevellock.h: New file.
23487 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23488 * sysdeps/nptl/lowlevellock-futex.h: New file.
23489
23490 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23491 Remove dead declarations.
23492
23493 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
23494
23495 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23496 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23497 config-cflags-avx2.
23498 * sysdeps/x86_64/configure.ac: Likewise.
23499 * sysdeps/i386/configure: Regenerated.
23500 * sysdeps/x86_64/configure: Likewise.
23501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23502 memset-avx2 only if config-cflags-avx2 is yes.
23503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23504 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23505 defined.
23506 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23507 only if HAVE_AVX2_SUPPORT is defined.
23508 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23509
23510 2014-07-14 Alan Modra <amodra@gmail.com>
23511
23512 [BZ #17153]
23513 * elf/elf.h (DT_PPC64_NUM): Correct value.
23514 * NEWS: Add to fixed bug list.
23515
23516 2014-07-13 Jim Meyering <meyering@fb.com>
23517
23518 [BZ 17150]
23519 regex: don't deref NULL upon heap allocation failure
23520 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23521 failure in one more place.
23522 To trigger the segfault, configure grep -with-included-regex,
23523 build it, and run these commands:
23524 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23525
23526 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
23527
23528 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23529
23530 2014-07-11 Richard Henderson <rth@redhat.com>
23531
23532 * sysdeps/aarch64/libm-test-ulps: Update.
23533
23534 2014-07-10 Florian Weimer <fweimer@redhat.com>
23535
23536 [BZ #17135]
23537 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23538 * nptl/allocatestack.c (__nptl_setxid_error): New function.
23539 (__nptl_setxid): Initialize error member. Call
23540 __nptl_setxid_error.
23541 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23542 * nptl/descr.h (struct xid_command): Add error member.
23543 * nptl/tst-setuid3.c: New file.
23544 * nptl/Makefile (tests): Add it.
23545
23546 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23547
23548 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23549 New define.
23550 (__lll_trylock): Use __lll_base_trylock.
23551 (__lll_cond_trylock): Likewise.
23552
23553 2014-07-10 Roland McGrath <roland@hack.frob.com>
23554
23555 * nptl/pthread_create.c (start_thread): Use atomic_or and
23556 lll_futex_wake directly rather than lll_robust_dead.
23557 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23558 (lll_robust_dead): Macro removed.
23559 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23560 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23561 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23562 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23563 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23564 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23565 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23566 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23567 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23568 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23569 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23570 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23571 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23572 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23573 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23574
23575 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23576 Use atomic_compare_and_exchange_val_acq directly rather than
23577 lll_robust_trylock.
23578 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23579 (__lll_robust_trylock, lll_robust_trylock): Removed.
23580 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23581 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23582 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23583 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23584 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23585 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23586 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23587 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23588 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23589 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23590 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23591 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23592 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23593 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23594
23595 2014-07-02 Florian Weimer <fweimer@redhat.com>
23596
23597 * manual/locale.texi (Locale Names): New section documenting
23598 locale name syntax. Adjust menu and node chaining accordingly.
23599 (Choosing Locale): Reference Locale Names, Locale Categories.
23600 Mention setting LC_ALL=C. Reflect that name syntax is now
23601 documented.
23602 (Locale Categories): New section title. Reference Locale Names.
23603 LC_ALL is an environment variable, but not a category.
23604 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23605 description, now in Locale Name. Reference that section. Locale
23606 name syntax is now documented.
23607
23608 2014-07-02 Florian Weimer <fweimer@redhat.com>
23609
23610 [BZ #17137]
23611 * locale/findlocale.c (name_present, valid_locale_name): New
23612 functions.
23613 (_nl_find_locale): Use the loc_name variable to store name
23614 candidates. Call name_present and valid_locale_name to check and
23615 validate locale names. Return an error if the locale is invalid.
23616
23617 2014-07-02 Florian Weimer <fweimer@redhat.com>
23618
23619 * locale/setlocale.c (setlocale): Use strdup for allocating
23620 composite name copy.
23621
23622 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23623
23624 Sync up with gnulib.
23625 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23626 [!_LIBC && ENABLE_NLS]: Include gettext.h.
23627 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23628 and _GL_ARG_NONNULL.
23629 [USE_UNLOCKED_IO]: Include unlocked-io.h.
23630 [!_LIBC]: Include code for Windows and Cygwin.
23631 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23632 Include prototype for int strerror_r.
23633 [!_LIBC] (is_open): New function.
23634 (flush_stdout): New function.
23635 (print_errno_message): Use it.
23636 (error): Likewise.
23637 (error_at_line): Likewise.
23638 (error_tail) Add function attribute macros. Use
23639 __builtin_expect.
23640
23641 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23642
23643 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23644
23645 * io/ftw.c: Include sys/param.h unconditionally.
23646
23647 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23648
23649 [BZ #17125]
23650 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23651 libc_freeres_ptr.
23652 (freecache): New function to free CACHE on exit.
23653
23654 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23655 initialization.
23656
23657 2014-07-09 David S. Miller <davem@davemloft.net>
23658
23659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23660
23661 * sysdeps/sparc/nptl/internaltypes.h: Delete.
23662 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23663 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23664 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23665 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23666 * sysdeps/sparc/nptl/sem_init.c: Likewise.
23667 * sysdeps/sparc/nptl/sem_post.c: Likewise.
23668 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23669 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23670 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23671 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23672 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23673 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23674
23675 2014-07-09 Andreas Schwab <schwab@suse.de>
23676
23677 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23678 output.
23679 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23680 (do_test): Likewise.
23681
23682 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23683
23684 2014-07-09 Will Newton <will.newton@linaro.org>
23685
23686 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23687 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23688 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23689 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23690 * sysdeps/hppa/start.S (_start): Likewise.
23691
23692 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23693
23694 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23695
23696 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23697 defined.
23698
23699 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23700
23701 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23702 after checking that it is non-NULL.
23703
23704 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23705
23706 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23707
23708 * sysdeps/powerpc/memmove.c: Remove file.
23709 * sysdeps/powerpc/powerpc32/power4/memcopy.h
23710 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23711 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23712 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23713 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23714 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23715 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23716 string memmove instead of removed powerpc one.
23717
23718 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23719 [weak_alias]: Fix compiler warning due trailing data.
23720 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23721 [weak_alias]: Likewise.
23722 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23723 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23724
23725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23726 (__libc_ifunc_impl_list): Add memmove functions.
23727
23728 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23729
23730 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23731 Remove code.
23732 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23733 Likewise.
23734 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23735 Likewise.
23736 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23737 Likewise.
23738 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23739 Likewise.
23740 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23741 Likewise.
23742 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23743 Likewise.
23744 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23745 Likewise.
23746 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23747 Likewise.
23748 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23749 Likewise.
23750 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23751 Likewise.
23752 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23753 Likewise.
23754 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23755 Likewise.
23756 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23757 Likewise.
23758 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23759 Likewise.
23760 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23761 Likewise.
23762 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23763 Likewise.
23764
23765 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23766
23767 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23768 to avoid alignment traps in non-cacheable memory.
23769 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23770
23771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23772 multiarch objects.
23773 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23774 file: multiarch power7 memmove.
23775 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23776 multiarch default memmove.
23777 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23778 multiarch memove for powerpc32/power4.
23779
23780 * string/bcopy.c: Use full path to include memmove.c.
23781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23782 multiarch objects.
23783 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23784 bcopy for powerpc64.
23785 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23786 bcopy for powerpc64.
23787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23788 and memmove implementations.
23789 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23790 optimized multiarch memmove for POWER7/powerpc64.
23791 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23792 default multiarch memmove for powerpc64.
23793 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23794 multiarch for powerpc64.
23795 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23796 for POWER7/powerpc64.
23797 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23798 memmove for POWER7/powerpc64.
23799
23800 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23801 glibc default one.
23802
23803 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23804 __ELF_NATIVE_CLASS equal to 64.
23805
23806 2014-07-07 Roland McGrath <roland@hack.frob.com>
23807
23808 * sysdeps/nptl/lowlevellock.h: File removed.
23809
23810 * NEWS: NPTL is no longer an add-on!
23811 * nptl/internaltypes.h: Moved ...
23812 * sysdeps/nptl/internaltypes.h: ... here.
23813 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23814 * sysdeps/nptl/fork.c: Likewise.
23815 * sysdeps/nptl/gai_misc.h: Likewise.
23816 * sysdeps/nptl/librt-cancellation.c: Likewise.
23817 * sysdeps/nptl/jmp-unwind.c: Likewise.
23818 * sysdeps/nptl/setxid.h: Likewise.
23819 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23820 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23821 * sysdeps/unix/sysv/linux/arm/Implies: New file.
23822 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23823 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23824 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23825 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23826 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23827 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23828 * sysdeps/unix/sysv/linux/mips/Implies: New file.
23829 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23830 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23831 * sysdeps/unix/sysv/linux/sh/Implies: New file.
23832 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23833 * sysdeps/unix/sysv/linux/tile/Implies: New file.
23834 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23835 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23836 * nptl/Makeconfig: Moved ...
23837 * sysdeps/nptl/Makeconfig: ... here.
23838 * nptl/configure: File removed.
23839 * nptl/ANNOUNCE: File removed.
23840 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23841 * sysdeps/unix/sysv/linux/configure: Regenerated.
23842
23843 * nptl/Makefile (routines): Add libc_pthread_init,
23844 libc_multiple_threads, register-atfork and unregister-atfork.
23845 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23846 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23847 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23848 pthread-pi-defines.sym, structsem.sym.
23849 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23850 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23851 [$(subdir) = nptl] (tests): Add tst-setgetname.
23852 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23853 * sysdeps/unix/sysv/linux/sigaction.c: Just include
23854 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23855 [!LIBC_SIGACTION]: Remove aliases.
23856 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23857 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23858 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23859 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23860 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23861 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23862 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23863 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23864 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23865 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23866 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23867 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23868 __libc_allocate_rtsig_private.
23869 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23870 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23871 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23872 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23873 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23874 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23875 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23876 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23877 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23878 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23879 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23880 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23881 * nptl/internaltypes.h: ... here.
23882 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23883 * sysdeps/nptl/jmp-unwind.c: ... here.
23884 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23885 * nptl/libc-lowlevellock.c: ... here.
23886 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23887 * nptl/libc_multiple_threads.c: ... here.
23888 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23889 * nptl/libc_pthread_init.c: ... here.
23890 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23891 * nptl/lowlevelbarrier.sym: ... here.
23892 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23893 * nptl/lowlevelcond.sym: ... here.
23894 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23895 * nptl/lowlevellock.c: ... here.
23896 * nptl/lowlevellock.h: Moved ...
23897 * sysdeps/nptl/lowlevellock.h: ... here.
23898 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23899 * nptl/lowlevelrobustlock.c: ... here.
23900 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23901 * nptl/lowlevelrobustlock.sym: ... here.
23902 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23903 * nptl/lowlevelrwlock.sym: ... here.
23904 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23905 * nptl/pt-fork.c: ... here.
23906 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23907 * nptl/pthread-pi-defines.sym: ... here.
23908 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23909 * nptl/pthread_attr_getaffinity.c: ... here.
23910 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23911 * nptl/pthread_attr_setaffinity.c: ... here.
23912 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23913 * nptl/pthread_mutex_cond_lock.c: ... here.
23914 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23915 Update #include.
23916 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23917 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23918 * nptl/pthread_once.c: ... here, replacing old file.
23919 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23920 * nptl/pthread_yield.c: ... here.
23921 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23922 * nptl/register-atfork.c: ... here.
23923 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23924 * nptl/sem_post.c: ... here.
23925 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23926 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23927 * nptl/sem_timedwait.c: ... here.
23928 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23929 * nptl/sem_trywait.c: ... here.
23930 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23931 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23932 * nptl/sem_wait.c: ... here.
23933 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23934 * nptl/structsem.sym: ... here.
23935 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23936 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23937 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23938 * nptl/unregister-atfork.c: ... here.
23939 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23940 * nptl/unwindbuf.sym: ... here.
23941 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23942 * sysdeps/nptl/fork.c: ... here.
23943 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23944 * sysdeps/nptl/fork.h: ... here.
23945 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23946 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23947 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23948 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23949 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23950 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23951 * sysdeps/unix/sysv/linux/getpid.c: ... here.
23952 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23953 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23954 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23955 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23956 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23957 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23958 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23959 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23960 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23961 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23962 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23963 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23964 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23965 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23966 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23967 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23968 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23969 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23970 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23971 * sysdeps/unix/sysv/linux/raise.c: ... here.
23972 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23973 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23974 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23975 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23976 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23977 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23978 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23979 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23980 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23981 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23982 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23983 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23984 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23985 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23986 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23987
23988 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23989
23990 * sysdeps/generic/memcopy.h: Add comment for
23991 MEMCPY_OK_FOR_FWD_MEMMOVE.
23992
23993 2014-07-04 Will Newton <will.newton@linaro.org>
23994
23995 * string/memchr.c: Merge from gnulib.
23996 [_LIBC]: Remove conditionals.
23997 (__ptr_t): Remove define.
23998 (LONG_MAX_32_BITS): Likewise.
23999 (LONG_MAX): Likewise.
24000 (MEMCHR): Use ANSI prototype and optimize algorithm.
24001
24002 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24003
24004 2014-07-03 Roland McGrath <roland@hack.frob.com>
24005
24006 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24007 (lll_futex_timed_wait_bitset): Fix syscall argument count.
24008
24009 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24010 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24011 in a bare environment with no <stdlib.h> installed.
24012 * sysdeps/nptl/configure: Regenerated.
24013
24014 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24015
24016 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24017 AC_EGREP_CPP for kernel header checks, so they only succeed if
24018 including <linux/version.h> actually works right.
24019 * sysdeps/unix/sysv/linux/configure: Regenerated.
24020
24021 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24022 value so it's not diagnosed as unused.
24023
24024 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24025 thing) with "ifeq ($(subdir),rt)".
24026
24027 2014-07-03 Richard Henderson <rth@redhat.com>
24028
24029 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24030 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24031 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24032
24033 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24034 (math_force_eval): New.
24035
24036 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24037 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24038
24039 * sysdeps/alpha/fpu/s_round.c: Remove file.
24040 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24041
24042 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24043 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24044 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24045 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24046 (_dl_start, print_statistics): Likewise.
24047 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24048 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24049
24050 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24051 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24052 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24053 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24054 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24055 (HP_SMALL_TIMING_AVAIL): Define.
24056 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24057 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24058 (HP_SMALL_TIMING_AVAIL): Define.
24059 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24060 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24061
24062 * sysdeps/aarch64/hp-timing.h: New file.
24063
24064 * sysdeps/generic/hp-timing.h: Remove dead comment.
24065 * sysdeps/generic/hp-timing-common.h: New file.
24066 * sysdeps/alpha/hp-timing.h: Include it.
24067 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24068 * sysdeps/i386/i686/hp-timing.h: Likewise.
24069 * sysdeps/ia64/hp-timing.h: Likewise.
24070 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24071 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24072 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24073 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24074 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24075 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24076 (hp_timing_t): New.
24077
24078 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24079 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24080 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24081 * elf/rtld.c (_dl_start_final): Likewise.
24082 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24083 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24084 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24085 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24086 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24087 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24088 (HP_TIMING_DIFF_INIT): Remove.
24089 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24090 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24091 (HP_TIMING_DIFF_INIT): Remove.
24092 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24093 * sysdeps/i386/i686/hp-timing.c: Remove file.
24094 * sysdeps/x86_64/hp-timing.c: Remove file.
24095 * sysdeps/ia64/hp-timing.c: Remove file.
24096 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24097 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24098 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24099 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24100
24101 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24102 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24103 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24104 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24106 (HP_TIMING_ACCUM): Remove.
24107 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24108 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24109 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24110
24111 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24112 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24113 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24114 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24115 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24116 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24117 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24118 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24119
24120 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24121
24122 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
24123
24124 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24125
24126 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24127
24128 Sync up with gettext.
24129 * intl/loadmsgcat.c: Define O_BINARY if not defined.
24130 [_MSC_VER]: Include malloc.h
24131 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24132 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24133 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
24134 TEMP_FAILURE_RETRY. Cast return of alloca.
24135 [!_LIBC] Call gl_rwlock_init.
24136 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24137
24138 2014-07-02 Roland McGrath <roland@hack.frob.com>
24139
24140 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24141 before checking its value.
24142
24143 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24144
24145 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24146
24147 * debug/memcpy_chk.c: Don't include pagecopy.h.
24148 * debug/mempcpy_chk.c: Likewise.
24149 * string/memcpy.c: Likewise.
24150 * string/memmove.c: Likewise.
24151 * sysdeps/powerpc/memmove.c: Likewise.
24152 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
24153 definition of PAGE_COPY_FWD_MAYBE here...
24154 * sysdeps/generic/pagecopy.h: ... from here.
24155 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24156
24157 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24158 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24159
24160 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24162 optimizations.
24163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24164 (__libc_ifunc_impl_list): Likewise.
24165 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24166 multiarch strcat for PPC64.
24167 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24168 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24169
24170 2014-07-02 Roland McGrath <roland@hack.frob.com>
24171
24172 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24173
24174 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24175
24176 * intl/loadmsgcat.c: Remove declaration of
24177 get_sysdep_segment_value.
24178 (get_sysdep_segment_value): Use ISO C style.
24179 (_nl_load_domain): Use ISO C style. Get rid of redundant
24180 semicolon. Fix typo and formatting in comment.
24181 (_nl_unload_domain): Use ISO C style.
24182
24183 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24184
24185 2014-07-02 Will Newton <will.newton@linaro.org>
24186
24187 * malloc/obstack.c: Merge from gnulib master.
24188 [HAVE_CONFIG_H]: Remove conditional code.
24189 [!_LIBC]: Include config.h.
24190 [!ELIDE_CODE]: Don't include inttypes.h, include
24191 stdint.h unconditionally.
24192 (print_and_abort): Mark as _Noreturn.
24193 (_obstack_allocated_p): Mark as __attribute_pure__.
24194 (obstack_free): Rename to __obstack_free.
24195 [!__attribute__]: Remove conditional code.
24196 * malloc/obstack.h: Merge from gnulib master.
24197 [__cplusplus]: Move conditional down.
24198 [!__attribute_pure__]: Define __attribute_pure__ here
24199 if it is not already defined.
24200 (_obstack_memory_used): Mark as __attribute_pure__.
24201 [!__obstack_free]: Define as obstack_free.
24202 [__GNUC__]: Remove check for ancient NeXT gcc.
24203
24204 2014-07-02 Will Newton <will.newton@linaro.org>
24205 Paul Eggert <eggert@cs.ucla.edu>
24206
24207 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24208
24209 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24210
24211 * resolv/gethnamaddr.c: Add comment warning that the file is
24212 not maintained.
24213
24214 2014-07-01 Carlos O'Donell <carlos@redhat.com>
24215
24216 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24217 entries.
24218
24219 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24220 entry for aio_cancel and aio_cancel64.
24221 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24222 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24223 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24224 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24225 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24226 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24227 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24228 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24229 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24230 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24231 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24232 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24233 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24234
24235 2014-07-01 Roland McGrath <roland@hack.frob.com>
24236
24237 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24238 * nptl/pthread_mutex_lock.c: Likewise.
24239 * nptl/pthread_mutex_timedlock.c: Likewise.
24240 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24241
24242 2014-07-01 Richard henderson <rth@redhat.com>
24243
24244 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24245 (__isnan, __isnanl): Remove.
24246 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24247
24248 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24249
24250 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
24251
24252 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24253
24254 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24255
24256 * resolv/nss_dns/dns-host.c (getanswer_r)
24257 [MULTI_PTRS_ARE_ALIASES]: Remove code.
24258
24259 2014-07-01 Joseph Myers <joseph@codesourcery.com>
24260
24261 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24262 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24263 undefine.
24264 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24265 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24266
24267 2014-07-01 Roland McGrath <roland@hack.frob.com>
24268
24269 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24270 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24271
24272 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24273 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24274
24275 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24276 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24277 ... here.
24278 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24279 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24280
24281 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24282 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24283 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24284 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24285
24286 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24287 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24288 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24289 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24290 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24291 Moved ...
24292 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24293 ... here.
24294 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24295 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24296 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24297 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24298 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24299 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24300 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24301 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24302 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24303 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24304 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24305 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24306 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24307 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24308 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24309 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24310 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24311 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24312 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24313 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24314 ... here.
24315 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24316 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24317 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24318 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24319 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24320 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24321 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24322 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24323
24324 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
24325
24326 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24327 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24328 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24329 Add sysdep.
24330
24331 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24332
24333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24334
24335 2014-06-30 Joseph Myers <joseph@codesourcery.com>
24336
24337 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24338 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24339
24340 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24341
24342 * sysdeps/arm/libm-test-ulps: Regenerated.
24343
24344 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
24345 Roland McGrath <roland@hack.frob.com>
24346
24347 * test-skeleton.c (signal_handler): Kill the whole process group
24348 before killing the child individually.
24349 (main): Report any failure on `setpgid'.
24350
24351 2014-06-30 Roland McGrath <roland@hack.frob.com>
24352
24353 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24354 from _TLS_H to _ARM_NPTL_TLS_H.
24355 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24356 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24357
24358 2014-06-30 Joseph Myers <joseph@codesourcery.com>
24359
24360 [BZ #16539]
24361 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24362 (__expm1l): Return argument unchanged when small but not
24363 subnormal.
24364
24365 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24366 include macro name.
24367 (_FP_UNPACK_RAW_1_P): Likewise.
24368 (_FP_PACK_RAW_1): Likewise.
24369 (_FP_PACK_RAW_1_P): Likewise.
24370 (_FP_MUL_MEAT_1_wide): Likewise.
24371 (_FP_MUL_MEAT_DW_1_hard): Likewise.
24372 (_FP_MUL_MEAT_1_hard): Likewise.
24373 (_FP_DIV_MEAT_1_imm): Likewise.
24374 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24375 (_FP_DIV_MEAT_1_udiv): Likewise.
24376 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24377 (_FP_UNPACK_RAW_2): Likewise.
24378 (_FP_UNPACK_RAW_2_P): Likewise.
24379 (_FP_PACK_RAW_2): Likewise.
24380 (_FP_PACK_RAW_2_P): Likewise.
24381 (_FP_MUL_MEAT_DW_2_wide): Likewise.
24382 (_FP_MUL_MEAT_2_wide): Likewise.
24383 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24384 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24385 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24386 (_FP_MUL_MEAT_2_gmp): Likewise.
24387 (_FP_DIV_MEAT_2_udiv): Likewise.
24388 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24389 (_FP_FRAC_SRL_4): Likewise.
24390 (_FP_FRAC_SRST_4): Likewise.
24391 (_FP_FRAC_SRS_4): Likewise.
24392 (_FP_UNPACK_RAW_4): Likewise.
24393 (_FP_UNPACK_RAW_4_P): Likewise.
24394 (_FP_PACK_RAW_4): Likewise.
24395 (_FP_PACK_RAW_4_P): Likewise.
24396 (_FP_MUL_MEAT_DW_4_wide): Likewise.
24397 (_FP_MUL_MEAT_4_wide): Likewise.
24398 (_FP_MUL_MEAT_4_gmp): Likewise.
24399 (umul_ppppmnnn): Likewise.
24400 (_FP_DIV_MEAT_4_udiv): Likewise.
24401 (__FP_FRAC_ADD_4): Likewise.
24402 (__FP_FRAC_SUB_3): Likewise.
24403 (__FP_FRAC_SUB_4): Likewise.
24404 (__FP_FRAC_DEC_3): Likewise.
24405 (__FP_FRAC_DEC_4): Likewise.
24406 (__FP_FRAC_ADDI_4): Likewise.
24407 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24408 (_FP_FRAC_SRL_8): Likewise.
24409 (_FP_FRAC_SRS_8): Likewise.
24410
24411 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24412 include macro name.
24413 (FP_UNPACK_RAW_EP): Likewise.
24414 (FP_PACK_RAW_E): Likewise.
24415 (FP_PACK_RAW_EP): Likewise.
24416 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24417 (_FP_ISSIGNAN): Likewise.
24418 (_FP_ADD_INTERNAL): Likewise.
24419 (_FP_FMA): Likewise.
24420 (_FP_CMP): Likewise.
24421 (_FP_SQRT): Likewise.
24422 (_FP_TO_INT): Likewise.
24423 (_FP_FROM_INT): Likewise.
24424 (FP_EXTEND): Likewise.
24425 (_FP_DIV_MEAT_N_loop): Likewise.
24426
24427 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
24428
24429 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24430 throughout.
24431
24432 2014-06-29 Joseph Myers <joseph@codesourcery.com>
24433
24434 [BZ #17097]
24435 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24436 result with correct sign in case of exponents that produce
24437 overflow except for X very close to 1.
24438
24439 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
24440
24441 mktime: merge #if/#ifdef usage from glibc
24442 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24443 as that works with both Glibc's and Gnulib's style.
24444 See thread starting at Siddhesh Poyarekar's bug report at:
24445 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24446
24447 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24448
24449 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24450 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24451 * sysdeps/tile/tilegx/memmove.c: Remove file.
24452
24453 2014-06-27 Joseph Myers <joseph@codesourcery.com>
24454
24455 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24456 abi-name definition.
24457 * scripts/soversions.awk: Do not handle or generate ABI lines.
24458 * shlib-versions: Remove ABI entries.
24459 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24460 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24461
24462 2014-06-27 Roland McGrath <roland@hack.frob.com>
24463
24464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24465 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24466 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24467 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24469 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24471 Moved ...
24472 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24473 ... here.
24474 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24475 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24477 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24479 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24481 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24483 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24485 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24487 Moved ...
24488 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24489 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24490 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24491 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24494 Moved ...
24495 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24497 Moved ...
24498 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24502 Moved ...
24503 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24505 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24507 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24509 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24511 Moved ...
24512 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24513 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24514 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24515 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24516 Moved ...
24517 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24519 Moved ...
24520 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24522 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24524 Moved ...
24525 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24526 ... here.
24527 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24528 Identical file removed.
24529 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24530 Moved ...
24531 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24533 Identical file removed.
24534 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24535 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24536 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24537 Moved ...
24538 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24539 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24540 Identical file removed.
24541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24542 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24544 Identical file removed.
24545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24546 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24547 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24548 Identical file removed.
24549 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24550 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24552 Identical file removed.
24553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24554 Moved ...
24555 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24556 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24557 Identical file removed.
24558 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24559 Moved ...
24560 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24562 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24564 Identical file removed.
24565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24566 Moved ...
24567 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24568 ... here.
24569 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24570 Identical file removed.
24571 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24572 Moved ...
24573 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24574 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24575 Identical file removed.
24576 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24577 Moved ...
24578 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24579 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24580 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24582 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24584 Moved ...
24585 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24586 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24587 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24588
24589 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24590 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24591 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24592 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24593 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24594
24595 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
24596
24597 [BZ #17092]
24598 * nscd/nscd.c (monitor_child): Return exit status of child
24599 instead of return value from wait syscall.
24600
24601 2014-06-27 Joseph Myers <joseph@codesourcery.com>
24602
24603 * configure.ac (libc_commonpagesize): Remove variable.
24604 (libc_relro_required): Likewise.
24605 (libc_cv_z_relro): Remove configure test.
24606 * configure: Regenerated.
24607 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24608 variable.
24609 (libc_relro_required): Likewise.
24610 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24611 (libc_relro_required): Likewise.
24612 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24613 (libc_relro_required): Likewise.
24614 * sysdeps/arm/preconfigure: Regenerated.
24615 * sysdeps/ia64/preconfigure: Remove file.
24616 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24617 variable.
24618 (libc_relro_required): Likewise.
24619
24620 [BZ #16561]
24621 [BZ #16562]
24622 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24623 (__ieee754_yn): Set FE_TONEAREST mode internally and then
24624 recompute overflowing results in original rounding mode.
24625 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24626 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24627 recompute overflowing results in original rounding mode.
24628 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24629 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24630 recompute overflowing results in original rounding mode.
24631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24632 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24633 recompute overflowing results in original rounding mode.
24634 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24635 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24636 recompute overflowing results in original rounding mode.
24637 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24638 (libc_feholdsetround_ctx): New macro.
24639 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24640 * sysdeps/i386/fpu/libm-test-ulps: Update.
24641 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24642
24643 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24644
24645 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24646 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24647 corresponding .cpsetup call.
24648
24649 2014-06-26 Roland McGrath <roland@hack.frob.com>
24650
24651 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24652 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24653 * sysdeps/arm/Makefile [$(subdir) = csu]
24654 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24655 (static-only-routines): Add aeabi_read_tp here.
24656 (shared-only-routines): Add libc-aeabi_read_tp here.
24657 (CFLAGS-libc-start.c): Add -fexceptions here.
24658 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24659 (sysdep_routines, static-only-routines, shared-only-routines):
24660 Don't add to these here.
24661 (CFLAGS-libc-start.c): Likewise.
24662
24663 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24664 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24665 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24666 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24667 * sysdeps/arm/Makefile [$(subdir) = rt]
24668 (librt-sysdep_routines, librt-shared-only-routines):
24669 Append rt-aeabi_unwind_cpp_pr1 here.
24670 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24671 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24672 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24673 (libpthread-sysdep_routines, libpthread-shared-only-routines):
24674 Append nptl-aeabi_unwind_cpp_pr1 here.
24675 (tests): Filter out tst-cleanupx4 here.
24676 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24677 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24678 Don't do those here.
24679
24680 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24681
24682 * scripts/list-sources.sh: Do not handle ports specially.
24683
24684 2014-06-26 Roland McGrath <roland@hack.frob.com>
24685
24686 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24687 * sysdeps/arm/feupdateenv.c: Likewise.
24688
24689 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24690
24691 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24692
24693 * manual/texinfo.tex: Update to version 2014-05-05.10 with
24694 trailing whitespace removed.
24695 * scripts/config.guess: Update to version 2014-03-23.
24696 * scripts/config.sub: Update to version 2014-05-01
24697 * scripts/install-sh: Update to version 2013-12-25.23.
24698 * scripts/move-if-change: Update from gnulib.
24699
24700 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24701
24702 * debug/memmove_chk.c: Remove pagecopy.h include.
24703
24704 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
24705
24706 * time/mktime.c (leapyear): Remove inline keyword. The code is now
24707 identical to gnulib mktime.
24708
24709 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24710
24711 * configure.ac: Do not test for machine being rs6000. Do not test
24712 for powerpc*-*soft.
24713 * configure: Regenerated.
24714
24715 [BZ #11505]
24716 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24717 test.
24718 * configure: Regenerated.
24719 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24720 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24721 Remove configure test.
24722 * sysdeps/arm/configure: Regenerated.
24723 * sysdeps/nptl/configure.ac: Do not check
24724 libc_cv_asm_cfi_directives.
24725 * sysdeps/nptl/configure: Regenerated.
24726 * sysdeps/x86_64/nptl/configure.ac: Remove file.
24727 * sysdeps/x86_64/nptl/configure: Remove generated file.
24728 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24729 unconditional.
24730 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24731
24732 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24733
24734 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24735 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24736 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24737 it is defined.
24738
24739 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24740 instead of whether it is defined.
24741 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24742 * sysdeps/hppa/dl-machine.h: Likewise.
24743 * sysdeps/ia64/dl-machine.h: Likewise.
24744 * sysdeps/m68k/dl-machine.h: Likewise.
24745 * sysdeps/microblaze/dl-machine.h: Likewise.
24746 * sysdeps/mips/dl-machine.: Likewise.
24747 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24748 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24749 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24750 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24751 * sysdeps/sh/dl-machine.h: Likewise.
24752 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24753 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24754 * sysdeps/tile/dl-machine.h: Likewise.
24755 * sysdeps/x86_64/dl-machine.h: Likewise.
24756
24757 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24758 code.
24759 (verify_persistent_db): Likewise.
24760
24761 2014-06-26 Roland McGrath <roland@hack.frob.com>
24762
24763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24764 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24766 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24768 Moved ...
24769 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24770 ... here.
24771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24772 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24774 Identical file removed.
24775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24776 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24778 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24780 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24782 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24784 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24786 Moved ...
24787 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24789 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24791 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24793 Moved ...
24794 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24796 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24798 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24800 Identical file removed.
24801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24802 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24804 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24806 Moved ...
24807 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24808 ... here.
24809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24810 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24812 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24814 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24816 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24818 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24820 Moved ...
24821 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24823 Moved ...
24824 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24826 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24828 Moved ...
24829 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24831 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24832
24833 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24834 folded into ...
24835 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24836 * sysdeps/unix/sysv/linux/s390/Versions
24837 (libpthread: GLIBC_2.19): New version set.
24838 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24839 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24840 (librt: GLIBC_2.3.3): New version set.
24841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24842 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24843 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24844 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24845 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24846 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24847 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24848 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24849 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24850 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24851 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24852 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24853 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24854 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24855 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24856 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24857 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24858 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24859 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24860 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24861 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24862 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24863 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24864 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24865 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24866 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24867 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24868 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24869 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24870 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24871 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24872 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24873 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24876 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24877 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24879 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24881 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24882 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24883 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24884 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24885 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24886
24887 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24888 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24889 (__libc_vfork): Define the function under this name.
24890 [!NOT_IN_libc] (__vfork): Make this an alias.
24891 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24892 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24893 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24894 (__libc_vfork): Define the function under this name.
24895 [!NOT_IN_libc] (__vfork): Make this an alias.
24896 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24897 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24898 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24899 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24900 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24901 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24902
24903 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24904 code that was previously under [RESET_PID].
24905 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24906 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24908
24909 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24910 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24911 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24912 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24913 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24914 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24915 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24916 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24917 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24918 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24919 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24920 Moved ...
24921 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24922 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24923 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24924 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24925 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24926 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24927 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24928 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24929 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24930 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24931 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24932 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24933 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24934 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24935 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24936 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24937 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24938 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24939 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24940 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24941 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24942 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24943 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24944 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24945 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24946 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24947 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24948 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24949 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24950
24951 2014-06-25 Roland McGrath <roland@hack.frob.com>
24952
24953 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24954 that was previously under [RESET_PID].
24955 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24956
24957 2014-06-25 Joseph Myers <joseph@codesourcery.com>
24958
24959 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24960 not undefine and redefine.
24961 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24962 [O_CLOEXEC]: Make code unconditional.
24963 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24964 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24965 <kernel-features.h>.
24966 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24967 conditional variable definition.
24968 (shm_open) [O_CLOEXEC]: Make code unconditional.
24969 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24970 code.
24971
24972 * configure.ac (USE_REGPARMS): Don't define here.
24973 * configure: Regenerated.
24974 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24975 * sysdeps/i386/configure: Regenerated.
24976
24977 * nptl/createthread.c: Don't include kernel-features.h.
24978 * nptl/pthread_cancel.c: Likewise.
24979 * nptl/pthread_condattr_setclock.c: Likewise.
24980 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24981 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24982 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24983 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24984 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24985 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24986 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24988 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24989 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24990 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24991 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24992 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24993 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24994 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24995 * nscd/gai.c: Likewise.
24996 * nss/nss_db/db-open.c: Likewise.
24997 * sysdeps/generic/ldsodefs.h: Likewise.
24998 * sysdeps/sh/nptl/tls.h: Likewise.
24999 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25000 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25001 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25002 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25003 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25004 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25005 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25006 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25007 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25008 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25009 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25010 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25011 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25012 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25013 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25014 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25015 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25016 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25017 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25018 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25019 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25020 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25021 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25022 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25023 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25024 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25025 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25026 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25027 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25028 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25029 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25030 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25031 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25032 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25033 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25034 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25035 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25036 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25037 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25038 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25039 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25040 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25041 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25042 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25043 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25044 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25045 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25046 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25047 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25048 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25049 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25050 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25051 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25052 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25053 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25054 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25055 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25056 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25079 * sysdeps/unix/sysv/linux/pread.c: Likewise.
25080 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25081 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25082 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25083 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25084 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25085 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25086 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25087 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25088 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25089 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25090 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25091 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25092 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25093 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25094 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25095 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25096 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25097 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25098 * sysdeps/unix/sysv/linux/system.c: Likewise.
25099 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25100 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25101 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25102 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25103 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25104 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25105 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25106
25107 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25108 * configure: Regenerated.
25109 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25110
25111 * configure.ac (base_machine): Do not set specially for particular
25112 machines here.
25113 * configure: Regenerated.
25114 * sysdeps/powerpc/preconfigure: Move machine and base_machine
25115 settings from configure.ac.
25116 * sysdeps/i386/preconfigure: New file.
25117 * sysdeps/s390/preconfigure: Likewise.
25118 * sysdeps/sh/preconfigure: Likewise.
25119 * sysdeps/sparc/preconfigure: Likewise.
25120
25121 2014-06-25 Roland McGrath <roland@hack.frob.com>
25122
25123 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25124 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25125 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25126 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25127 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25128 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25129 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25130 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25131 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25132 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25133 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25134 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25135 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25136 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25137 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25138 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25139 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25140 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25141 * sysdeps/sparc/sparc64/Makefile: ... appended here.
25142
25143 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25144 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25145 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25146 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25147 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25148 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25149 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25150 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25151 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25152 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25153 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25154 * sysdeps/sparc/sparc32/sem_post.c: ... here.
25155 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25156 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25157 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25158 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25159 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25160 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25161 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25162 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25163 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25164 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25165 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25166 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25168 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25169 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25170 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25171 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25172 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25173 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25174 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25175 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25176 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25177 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25178 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25179 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25180 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25181
25182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25183 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25185 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25187 Moved ...
25188 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25189 ... here.
25190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25191 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25193 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25195 Moved ...
25196 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25198 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25200 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25202 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25204 Moved ...
25205 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25207 Moved ...
25208 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25210 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25212 Moved ...
25213 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25215 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25217 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25219 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25221 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25223 Moved ...
25224 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25225 ... here.
25226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25227 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25229 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25231 Moved ...
25232 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25234 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25236 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25238 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25240 Moved ...
25241 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25243 Moved ...
25244 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25246 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25248 Moved ...
25249 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25251 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25253 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25254
25255 2014-06-25 Joseph Myers <joseph@codesourcery.com>
25256
25257 * timezone/checktab.awk: Update from tzcode 2014e.
25258 * timezone/private.h: Likewise.
25259 * timezone/tzfile.h: Likewise.
25260 * timezone/zdump.c: Likewise.
25261 * timezone/zic.c: Likewise.
25262
25263 * sysdeps/unix/sysv/linux/kernel-features.h
25264 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25265 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25266 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25267 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25268 Remove conditional code.
25269
25270 2014-06-25 Will Newton <will.newton@linaro.org>
25271
25272 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25273 (_dl_arm_cap_flags): Add HWCAP2 values.
25274 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25275 (_DL_HWCAP_COUNT): Increase to 37.
25276 (_DL_HWCAP_LAST): New define.
25277 (_DL_HWCAP2_LAST): New define.
25278 (_dl_procinfo): Add support for printing
25279 AT_HWCAP2 entries.
25280 (_dl_string_hwcap): Use _dl_hwcap_string.
25281
25282 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25283
25284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25285
25286 2014-06-25 Joseph Myers <joseph@codesourcery.com>
25287
25288 * README: Do not mention ports directory.
25289
25290 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25291 Remove macro.
25292 * sysdeps/unix/sysv/linux/futimes.c: Do not include
25293 <kernel-features.h>.
25294 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25295 conditional variable definition.
25296 (__futimes): Update comment.
25297 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25298 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25299
25300 [BZ #16560]
25301 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25302 arguments close to 0.
25303 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25304 Likewise.
25305 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25306 Likewise.
25307 * math/auto-libm-test-in: Add more tests of exp10.
25308 * math/auto-libm-test-out: Regenerated.
25309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25310
25311 * sysdeps/unix/sysv/linux/kernel-features.h
25312 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25313 * sysdeps/unix/sysv/linux/readv.c: Do not include
25314 <kernel-features.h>.
25315 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25316 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25317 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25318 unconditional.
25319 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25320 conditional code.
25321 * sysdeps/unix/sysv/linux/writev.c: Do not include
25322 <kernel-features.h>.
25323 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25324 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25325 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25326 unconditional.
25327 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25328 conditional code.
25329
25330 2014-06-25 Will Newton <will.newton@linaro.org>
25331
25332 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25333 comment changes throughout the file. Remove checks
25334 for HAVE_*_H definitions that are not required.
25335 (__gen_tempname): Call abort if an unknown kind value is
25336 passed.
25337
25338 2014-06-25 Andreas Schwab <schwab@suse.de>
25339
25340 [BZ #17086]
25341 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25342 scalbln, scalblnf, scalblnl in libc.
25343
25344 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25345
25346 [BZ #17086]
25347 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25348 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25349 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25350
25351 2014-06-24 Roland McGrath <roland@hack.frob.com>
25352
25353 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25354 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25355 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25356 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25357 Update #include.
25358 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25359 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25360 Update #include.
25361 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25362 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25363 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25364 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25365 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25366 * sysdeps/x86/bits/pthreadtypes.h: ... here.
25367 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25368 * sysdeps/x86/bits/semaphore.h: ... here.
25369 * sysdeps/x86/nptl/elide.h: Moved ...
25370 * sysdeps/x86/elide.h: ... here.
25371 * sysdeps/x86_64/nptl/Implies: File removed.
25372 * sysdeps/i386/nptl/Implies: File removed.
25373
25374 2014-06-24 Joseph Myers <joseph@codesourcery.com>
25375
25376 [BZ #16539]
25377 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25378 return the argument for normal arguments with exponent below -64.
25379 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25380 Likewise.
25381 * math/auto-libm-test-in: Add another test of expm1.
25382 * math/auto-libm-test-out: Regenerated.
25383
25384 [BZ #16287]
25385 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25386 calling __erfcl for arguments at least 16.
25387 * math/auto-libm-test-in: Add more tests of erf.
25388 * math/auto-libm-test-out: Regenerated.
25389
25390 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25391 individual architectures.
25392 * sysdeps/unix/sysv/linux/configure: Regenerated.
25393 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25394 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25395 * sysdeps/unix/sysv/linux/powerpc/configure.ac
25396 (ldd_rewrite_script): Define variable.
25397 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25399 file.
25400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25401 generated file.
25402 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25403 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25404 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25405 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25406 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25407 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25408 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25409 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25410
25411 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25412
25413 [BZ #17084]
25414 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25415 Rename member __data.d to __data.__elision_data.
25416
25417 2014-06-24 Wilco <wdijkstr@arm.com>
25418
25419 * NEWS: Add 16918 to fixed bug list.
25420
25421 2014-06-24 Wilco <wdijkstr@arm.com>
25422
25423 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25424
25425 2014-06-24 Wilco <wdijkstr@arm.com>
25426
25427 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25428 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25429 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25430 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25431 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25432 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25433 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25434 Use _FPU_MASK_RM.
25435
25436 2014-06-24 Wilco <wdijkstr@arm.com>
25437
25438 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25439
25440 2014-06-24 Wilco <wdijkstr@arm.com>
25441
25442 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25443 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25444 * sysdeps/arm/fesetround.c (fesetround): Remove space.
25445 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25446
25447 2014-06-24 Wilco <wdijkstr@arm.com>
25448
25449 [BZ #16918]
25450 * sysdeps/arm/feupdateenv.c (feupdateenv):
25451 Rewrite to reduce FPSCR accesses and fix return value.
25452
25453 2014-06-24 Wilco <wdijkstr@arm.com>
25454
25455 * sysdeps/arm/fclrexcpt.c (feclearexcept):
25456 Optimize to avoid unnecessary FPSCR writes.
25457 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25458 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25459 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25460 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25461
25462 2014-06-24 Wilco <wdijkstr@arm.com>
25463
25464 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25465 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25466 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25467 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25468 Call libc_fetestexcept_vfp.
25469 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25470 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25471 __SOFTFP__ ifdef so that they can be built for softfp.
25472
25473 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25474
25475 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25476 argument type signed char.
25477
25478 * Makerules (check-abi): Dump diff of symlist if the test
25479 fails.
25480
25481 2014-06-23 Roland McGrath <roland@hack.frob.com>
25482
25483 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25484 using abort.
25485
25486 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25487 Remove unused variable ST.
25488
25489 2014-06-23 Joseph Myers <joseph@codesourcery.com>
25490
25491 [BZ #16354]
25492 [BZ #17061]
25493 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25494 small arguments before calling __expm1.
25495 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25496 small arguments before calling __expm1f.
25497 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25498 small arguments before calling __expm1l.
25499 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25500 Likewise.
25501 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25502 * math/auto-libm-test-in: Add more cosh tests. Do not allow
25503 spurious underflow for some cosh tests.
25504 * math/auto-libm-test-out: Regenerated.
25505 * sysdeps/i386/fpu/libm-test-ulps: Update.
25506
25507 [BZ #17050]
25508 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25509 (__ieee754_y1): Set errno if return value overflows.
25510 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25511 (__ieee754_y1f): Set errno if return value overflows.
25512 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25513 (__ieee754_y1l): Set errno if return value overflows.
25514 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25515 (__ieee754_y1l): Set errno if return value overflows.
25516 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25517 * math/auto-libm-test-out: Regenerated.
25518
25519 * math/gen-auto-libm-tests.c: Document use of
25520 ignore-zero-inf-sign.
25521 (input_flag_type): Add value flag_ignore_zero_inf_sign.
25522 (input_flags): Add ignore-zero-inf-sign.
25523 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25524 * math/gen-libm-test.pl (generate_testfile): Handle
25525 ignore-zero-inf-sign.
25526 * math/auto-libm-test-in: Mark some cpow tests with
25527 ignore-zero-inf-sign and some with xfail-rounding.
25528 * math/auto-libm-test-out: Regenerated.
25529 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25530 * sysdeps/i386/fpu/libm-test-ulps: Update.
25531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25532
25533 [BZ #16315]
25534 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25535 overflowing or underflowing operations take place with sign of
25536 result.
25537 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25538 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25539 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25540 (__ieee754_pow): Recompute overflowing and underflowing results in
25541 original rounding mode.
25542 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25543 (__powl_helper): Allow negative argument X and scale negated value
25544 as needed. Avoid passing value outside [-1, 1] to f2xm1.
25545 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25546 overflowing or underflowing operations take place with sign of
25547 result.
25548 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25549 Include <math.h>.
25550 * math/auto-libm-test-in: Add more tests of pow.
25551 * math/auto-libm-test-out: Regenerated.
25552 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25553 (pow_tonearest_test_data): Remove.
25554 (pow_test_tonearest): Likewise.
25555 (pow_towardzero_test_data): Likewise.
25556 (pow_test_towardzero): Likewise.
25557 (pow_downward_test_data): Likewise.
25558 (pow_test_downward): Likewise.
25559 (pow_upward_test_data): Likewise.
25560 (pow_test_upward): Likewise.
25561 (main): Don't call removed functions.
25562 * sysdeps/i386/fpu/libm-test-ulps: Update.
25563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25564
25565 2014-06-23 Roland McGrath <roland@hack.frob.com>
25566
25567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25568 Moved ...
25569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25571 Moved ...
25572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25574 Moved ...
25575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25577 Moved ...
25578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25580 File removed.
25581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25582 File removed.
25583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25584 File removed.
25585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25586 File removed.
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25588 File removed.
25589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25590 File removed.
25591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25592 File removed.
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25594 File removed.
25595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25596 File removed.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25598 File removed.
25599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25600 File removed.
25601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25602 File removed.
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25604 Moved ...
25605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25607 Moved ...
25608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25609 ... here.
25610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25611 Moved ...
25612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25614 Moved ...
25615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25617 Moved ...
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25620 Moved ...
25621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25623 Moved ...
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25626 Moved ...
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25629 Moved ...
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25633 ... here.
25634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25635 Moved ...
25636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25638 Moved ...
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25640 ... here.
25641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25642 Moved ...
25643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25644 ... here.
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25646 Moved ...
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25648 ... here.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25650 Moved ...
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25653 Moved ...
25654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25658 Moved ...
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25660 ... here.
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25662 Moved ...
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25664 ... here.
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25666 Moved ...
25667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25669 Moved ...
25670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25672 Moved ...
25673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25675 Moved ...
25676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25678 Moved ...
25679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25680 ... here.
25681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25682 Moved ...
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25685 Moved ...
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25688 Moved ...
25689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25691 Moved ...
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25696 Moved ...
25697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25699 Moved ...
25700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25702 Moved ...
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25704 ... here.
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25706 Moved ...
25707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25708 ... here.
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25710 Moved ...
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25712 ... here.
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25714 Moved ...
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25717 Moved ...
25718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25720 Moved ...
25721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25723 Moved ...
25724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25725 ... here.
25726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25727 Moved ...
25728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25729 ... here.
25730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25731 Moved ...
25732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25733 ... here.
25734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25735 Moved ...
25736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25738 Moved ...
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25740
25741 2014-06-23 Will Newton <will.newton@linaro.org>
25742 Wilco <wdijkstr@arm.com>
25743
25744 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25745 implementation. Include get-rounding-mode.h.
25746 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25747 [!libc_feholdsetround_noex_ctx]: Define
25748 libc_feholdsetround_noex_ctx.
25749 [!libc_feholdsetround_noexf_ctx]: Define
25750 libc_feholdsetround_noexf_ctx.
25751 [!libc_feholdsetround_noexl_ctx]: Define
25752 libc_feholdsetround_noexl_ctx.
25753 (libc_feholdsetround_ctx): New function.
25754 (libc_feresetround_ctx): New function.
25755 (libc_feholdsetround_noex_ctx): New function.
25756 (libc_feresetround_noex_ctx): New function.
25757
25758 2014-06-23 Roland McGrath <roland@hack.frob.com>
25759
25760 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25761 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25762 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25763 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25764 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25765 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25766
25767 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25768 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25769 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25770 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25771 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25772 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25774 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25776 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25777 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25778 Moved ...
25779 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25780 ... here.
25781 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25782 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25783 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25784 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25786 Moved ...
25787 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25789 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25791 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25793 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25795 Moved ...
25796 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25797 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25798 Moved ...
25799 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25801 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25802 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25803 Moved ...
25804 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25806 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25807 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25808 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25809 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25810 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25812 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25814 Moved ...
25815 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25816 ... here.
25817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25818 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25819 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25820 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25822 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25823 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25824 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25826 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25827 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25828 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25829 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25830 Moved ...
25831 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25833 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25835 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25837 Moved ...
25838 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25839 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25840 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25841 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25842 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25843
25844 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25845 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25846 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25847 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25848 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25849 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25850 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25851 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25853 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25854 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25855 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25856 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25857 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25858 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25859 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25860 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25861 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25862 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25863 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25864 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25865 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25866 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25867 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25868 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25869 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25870 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25871 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25872
25873 2014-06-23 Joseph Myers <joseph@codesourcery.com>
25874
25875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25876 (FALLOC_FL_COLLAPSE_RANGE): New macro.
25877 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25878 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25879 (IPV6_PMTUDISC_INTERFACE): Likewise.
25880 (IPV6_PMTUDISC_OMIT): Likewise.
25881
25882 2014-06-23 Andreas Schwab <schwab@suse.de>
25883
25884 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25885 Remove unused errout label.
25886
25887 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25888
25889 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25890 macro: hardware supports Vector Crypto instructions.
25891
25892 2014-06-23 Will Newton <will.newton@linaro.org>
25893
25894 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25895 rather than __builtin_expect.
25896
25897 * elf/dl-lookup.c (undefined_msg): Remove variable.
25898 (_dl_lookup_symbol_x): Replace undefined_msg with string
25899 literal.
25900
25901 * elf/dl-lookup.c (do_lookup_unique): New function.
25902 (do_lookup_x): Move STB_GNU_UNIQUE handling code
25903 to a separate function.
25904
25905 2014-06-23 Andreas Schwab <schwab@suse.de>
25906
25907 [BZ #17079]
25908 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25909 before reading the next line.
25910
25911 2014-06-23 Will Newton <will.newton@linaro.org>
25912
25913 * test-skeleton.c (signal_handler): Use printf and %m
25914 rather than perror. Use printf rather than fprintf to
25915 stderr. Use puts rather than fputs to stderr.
25916 (main): Likewise.
25917
25918 2014-06-22 Ludovic Courtès <ludo@gnu.org>
25919
25920 * nscd/nscd.c (thread_info_t): Remove typedef.
25921 (thread_info): Remove variable.
25922
25923 2014-06-21 Allan McRae <allan@archlinux.org>
25924
25925 * NEWS: Mention CVE-2014-4043.
25926
25927 2014-06-20 Roland McGrath <roland@hack.frob.com>
25928
25929 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25930 * nptl/smp.h: ... here.
25931
25932 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25933
25934 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25935 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25936 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25937 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25938
25939 * nptl/allocatestack.c: Include <stack-aliasing.h>.
25940 * nptl/stack-aliasing.h: New file.
25941 * sysdeps/i386/i686/stack-aliasing.h: New file.
25942 * sysdeps/i386/i686/nptl/Makefile: File removed.
25943 * sysdeps/x86_64/stack-aliasing.h: New file.
25944 * sysdeps/x86_64/nptl/Makefile
25945 (CFLAGS-pthread_create.c): Variable removed.
25946
25947 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25948 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25949 old file.
25950 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25951 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25952 old file.
25953
25954 2014-06-21 Joseph Myers <joseph@codesourcery.com>
25955
25956 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25957 (__ASSUME_SIGFRAME_V2): Remove macro.
25958 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25959 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25960 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25961 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25962 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25963 Declare as function. Remove conditional macro definitions.
25964 (__default_rt_sa_restorer): Likewise.
25965 (__default_sa_restorer_v1): Remove declaration.
25966 (__default_sa_restorer_v2): Likewise.
25967 (__default_rt_sa_restorer_v1): Likewise.
25968 (__default_rt_sa_restorer_v2): Likewise.
25969 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25970 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25971 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25972
25973 2014-06-20 Roland McGrath <roland@hack.frob.com>
25974
25975 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25976 (libpthread-routines): Add sysdep.
25977 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25978 * sysdeps/unix/sysv/linux/sparc/Versions
25979 (libpthread: GLIBC_2.3.3): New version set.
25980 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25981 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25982 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25983 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25984 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
25985 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25986 Moved ...
25987 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25988 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25989 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25990 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25991 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25992 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25993 * sysdeps/sparc/nptl/sem_init.c: ... here.
25994 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25995 * sysdeps/sparc/nptl/sem_post.c: ... here.
25996 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25997 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25998 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25999 * sysdeps/sparc/nptl/sem_wait.c: ... here.
26000 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26001 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26002 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26003 (libpthread-routines): Add cpu_relax.
26004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26005 File removed.
26006 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26007 (librt: GLIBC_2.3.3): New version set.
26008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26009 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26010 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26011 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26014 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26016 Moved ...
26017 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26019 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26021 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26023 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26025 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26027 Moved ...
26028 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26029 Update #include.
26030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26031 Moved ...
26032 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26033 Update #include.
26034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26035 Moved ...
26036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26037 Update #include.
26038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26039 Moved ...
26040 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26041 Update #include.
26042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26043 Moved ...
26044 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26045 Update #include.
26046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26047 Moved ...
26048 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26049 Update #include.
26050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26051 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26057 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26058 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26059 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26061 Moved ...
26062 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26064 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26067
26068 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26069
26070 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26071 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26072 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26073 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26074 * nscd/nscd.c: Likewise.
26075 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26076 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26077 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26078 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26079
26080 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26081 <kernel-features.h>.
26082 (init_mq_netlink): Remove conditional have_sock_cloexec
26083 definitions. Remove code conditional on have_sock_cloexec < 0.
26084 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26085 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26086 * sysdeps/unix/sysv/linux/opensock.c: Do not include
26087 <kernel-features.h>.
26088 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26089 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26090
26091 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
26092
26093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26094 Add tests for memset_chk and memset.
26095
26096 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26097 with AVX2_Usable.
26098
26099 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26100
26101 [BZ #16046]
26102 * elf/tst-dl-iter-static.c: New file.
26103 * elf/Makefile (tests-static): Add tst-dl-iter-static.
26104
26105 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26106 error.
26107
26108 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26109
26110 * sysdeps/unix/sysv/linux/kernel-features.h
26111 (__ASSUME_F_GETOWN_EX): Remove macro.
26112 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26113 <kernel-features.h>.
26114 (miss_F_GETOWN_EX): Remove variable or macro.
26115 (do_fcntl): Do not check miss_F_GETOWN_EX.
26116 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26117
26118 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26119 Remove macro.
26120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26121 [!__ASSUME_AT_RANDOM]: Remove conditional code.
26122 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26123
26124 * sysdeps/unix/sysv/linux/kernel-features.h
26125 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26126 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26127 [ADJ_OFFSET_SS_READ]: Make code unconditional.
26128 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26129
26130 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26131
26132 [BZ #17075]
26133 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26134 Fix calculation of the symbol's value.
26135 * sysdeps/arm/tst-armtlsdescloc.c: New file.
26136 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26137 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26138 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26139 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26140 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26141 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26142 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26143 (modules-names): Add `tst-armtlsdescmod',
26144 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26145 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26146 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26147 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26148 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26149 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26150 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26151 ($(objpfx)tst-armtlsdescloc): New dependency.
26152 ($(objpfx)tst-armtlsdescextnow): Likewise.
26153 ($(objpfx)tst-armtlsdescextlazy): Likewise.
26154 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26155 TLS scheme support.
26156 * sysdeps/arm/configure: Regenerate.
26157
26158 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26159
26160 * include/fcntl.h (__atfct_seterrno): Remove prototype.
26161 (__atfct_seterrno_2): Likewise.
26162 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26163 <kernel-features.h>.
26164 (__ASSUME_ATFCTS): Do not undefine and redefine.
26165 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26166 (__have_atfcts): Remove conditional definition.
26167 (__fxstatat([__NR_fstatat64]: Make code unconditional.
26168 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26169 unreachable if [__ASSUME_ATFCTS].
26170 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26171 not undefine and redefine.
26172 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26173 <kernel-features.h>.
26174 (faccessat) [__NR_faccessat]: Make code unconditional.
26175 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26176 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26177 <kernel-features.h>.
26178 (fchmodat) [__NR_fchmodat]: Make code unconditional.
26179 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26180 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26181 <kernel-features.h>.
26182 (fchownat) [__NR_fchownat]: Make code unconditional.
26183 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26184 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26185 <kernel-features.h>.
26186 (futimesat) [__NR_futimesat]: Make code unconditional.
26187 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26188 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26189 <kernel-features.h>.
26190 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26191 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26192 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26193 <kernel-features.h>.
26194 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26195 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26196 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26197 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26198 <kernel-features.h>.
26199 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26200 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26201 * sysdeps/unix/sysv/linux/linkat.c: Do not include
26202 <kernel-features.h>.
26203 (linkat) [__NR_linkat]: Make code unconditional.
26204 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26205 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26206 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26207 <kernel-features.h>.
26208 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26209 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26210 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26211 <kernel-features.h>.
26212 (mkdirat) [__NR_mkdirat]: Make code unconditional.
26213 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26214 * sysdeps/unix/sysv/linux/openat.c: Do not include
26215 <kernel-features.h>.
26216 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26217 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26218 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26219 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26220 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26221 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26222 <kernel-features.h>.
26223 (readlinkat) [__NR_readlinkat]: Make code unconditional.
26224 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
26225 result of INLINE_SYSCALL directly, not via int variable.
26226 * sysdeps/unix/sysv/linux/renameat.c: Do not include
26227 <kernel-features.h>.
26228 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26229 (renameat) [__NR_renameat]: Make code unconditional.
26230 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26231 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26232 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26233 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26234 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26235 (__ASSUME_ATFCTS): Do not undefine and redefine.
26236 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26237 <kernel-features.h>.
26238 (symlinkat) [__NR_symlinkat]: Make code unconditional.
26239 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26240 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26241 <kernel-features.h>.
26242 (unlinkat) [__NR_unlinkat]: Make code unconditional.
26243 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26244 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26245 (__ASSUME_ATFCTS): Do not undefine and redefine.
26246 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26247 <kernel-features.h>.
26248 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26249 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26250 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26251 <kernel-features.h>.
26252 (__xmknodat) [__NR_mknodat]: Make code unconditional.
26253 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26254
26255 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
26256
26257 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26258
26259 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
26260
26261 [BZ #17069]
26262 * posix/regcomp.c (parse_reg_exp): Deallocate partially
26263 constructed tree before returning error.
26264 * posix/bug-regexp36.c: Expand test case.
26265
26266 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26267
26268 [BZ #6803]
26269 * math/libm-test.inc (scalbln_test_date):
26270 Add errno expectations.
26271 * math/w_scalblnf.c: New File.
26272 Add wrapper which checks for setting errno to ERANGE.
26273 Add weak_alias for corresponding scalbln function.
26274 * math/w_scalbln.c: Likewise.
26275 * math/w_scalblnl.c: Likewise.
26276 * math/Makefile (libm-calls): Add w_scalbln.
26277 * sysdeps/ieee754/flt-32/s_scalblnf.c:
26278 Remove weak_alias for corresponding scalbln function.
26279 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26280 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26281 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26283 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26284 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26285 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26286 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26287 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26288 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26289 Remove long_double_symbol for scalblnl function in libm, libc.
26290 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26291 Add wrapper which checks for setting errno to ERANGE.
26292 Add long_double_symbol for scalblnl function in libm, libc.
26293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26294 Remove long_double_symbol for scalblnl in libm.
26295 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26296 Add wrapper which checks for setting errno to ERANGE.
26297 Add long_double_symbol for scalblnl function in libm.
26298 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26299 Do not use wrapper because of own implementation.
26300
26301 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
26302
26303 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26304 3 bytes for __pad1 for x32.
26305 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26306
26307 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
26308 H.J. Lu <hongjiu.lu@intel.com>
26309
26310 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26311 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26312 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26313 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26314 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26315
26316 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
26317
26318 [BZ #17069]
26319 * posix/regcomp.c (parse_expression): Deallocate partially
26320 constructed tree before returning error.
26321 * posix/Makefile.c (tests): Add bug-regex36.
26322 (generated): Add bug-regex36.mtrace.
26323 (tests-special): Add $(objpfx)bug-regex36-mem.out
26324 (bug-regex36-ENV): New variable.
26325 ($(objpfx)bug-regex36-mem.out): New rule.
26326 * posix/bug-regex36.c: New file.
26327
26328 2014-06-19 Will Newton <will.newton@linaro.org>
26329
26330 * malloc/malloc.c (systrim): If extra is zero then return
26331 early.
26332
26333 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26334
26335 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26336
26337 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
26338
26339 * sysdeps/aarch64/strchr.S: New file.
26340
26341 2014-06-18 Joseph Myers <joseph@codesourcery.com>
26342
26343 [BZ #17022]
26344 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26345 from arguments -2 or below.
26346 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26347 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26348
26349 2014-06-18 Andreas Schwab <schwab@suse.de>
26350
26351 [BZ #17062]
26352 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26353 of a bracket expr not to run off the end of the string.
26354 * posix/Makefile (tests): Add tst-fnmatch3.
26355 * posix/tst-fnmatch3.c: New file.
26356
26357 2014-06-18 Joseph Myers <joseph@codesourcery.com>
26358
26359 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26360 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26361 [$(cross-compiling) = no]: Likewise.
26362 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26363 [$(cross-compiling) = no]: Likewise.
26364
26365 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26366
26367 [BZ #17031]
26368 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26369 double, adjusted for any remainder from the high double.
26370 * math/libm-test.inc (nearbyint): Add tests.
26371 (rint): Likewise.
26372
26373 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26374
26375 * nptl/sysdeps/powerpc/Makefile: Moved ...
26376 * sysdeps/powerpc/nptl/Makefile: ... here.
26377 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26378 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26379 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26380 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26381 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26382 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26383 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26384 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26385 * nptl/sysdeps/powerpc/tls.h: Moved ...
26386 * sysdeps/powerpc/nptl/tls.h: ... here.
26387
26388 2014-06-16 Joseph Myers <joseph@codesourcery.com>
26389
26390 [BZ #16681]
26391 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26392 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26393 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26394 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26395 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26396 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26397 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26398 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26399 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26400
26401 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
26402
26403 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26404
26405 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
26406
26407 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26408 defined operator.
26409
26410 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26411 $TIMEOUTFACTOR.
26412
26413 2014-06-16 Florian Weimer <fweimer@redhat.com>
26414
26415 [BZ #17058]
26416 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26417 non-executed part of the test.
26418
26419 2014-06-16 Andreas Schwab <schwab@suse.de>
26420
26421 * string/bits/string2.h (strdup, strndup): Update feature guard.
26422
26423 2014-06-14 David S. Miller <davem@davemloft.net>
26424
26425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26426
26427 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
26428
26429 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26430 that was previously under [RESET_PID].
26431 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26432
26433 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26434 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26435 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26436 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26437 (__libc_vfork): New strong alias.
26438 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26439
26440 2014-06-14 Andi Kleen <ak@linux.intel.com>
26441
26442 * sysdeps/generic/elide.h: New file.
26443
26444 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26445
26446 * Makefile (installed-headers): Adjust path of pthread.h header.
26447
26448 2014-06-13 Roland McGrath <roland@hack.frob.com>
26449
26450 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26451 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26452 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26453 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26454
26455 * nptl/sysdeps/s390/Makefile: Moved ...
26456 * sysdeps/s390/nptl/Makefile: ... here.
26457 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26458 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26459 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26460 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26461 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26462 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26463 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26464 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26465 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26466 * sysdeps/s390/nptl/pthreaddef.h: ... here.
26467 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26468 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26469 * nptl/sysdeps/s390/tls.h: Moved ...
26470 * sysdeps/s390/nptl/tls.h: ... here.
26471
26472 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26473 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26474
26475 2014-06-13 David S. Miller <davem@davemloft.net>
26476
26477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26480 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26484 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26485 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26486 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26487 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26488 Remove RESET_PID cpp guards.
26489 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26490 Remove RESET_PID cpp guards.
26491 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26492
26493 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
26494
26495 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26496 __sp to uintptr_t.
26497
26498 2014-06-13 Andi Kleen <ak@linux.intel.com>
26499
26500 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26501 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26502 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26503 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26504 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26506 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26507 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26508 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26509 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26511 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26512 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26513 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26514 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26515 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26516 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26517 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26519 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26520
26521 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26522 (pthread_rwlock_rdlock): Add elision.
26523 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26524 (pthread_rwlock_wrlock): Add elision.
26525 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26526 (pthread_rwlock_trywrlock): Add elision.
26527 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26528 (pthread_rwlock_tryrdlock): Add elision.
26529 * nptl/pthread_rwlock_unlock.c: Include elide.h.
26530 (pthread_rwlock_tryrdlock): Add elision unlock.
26531 * nptl/sysdeps/pthread/pthread.h:
26532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26533 (PTHREAD_RWLOCK_INITIALIZER,
26534 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26535 Handle new elision field.
26536 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26537 * sysdeps/arm/nptl/bits/pthreadtypes.h
26538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26539 * sysdeps/sh/nptl/bits/pthreadtypes.h
26540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26541 * sysdeps/tile/nptl/bits/pthreadtypes.h
26542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26543 * sysdeps/a/nptl/bits/pthreadtypes.h
26544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26545 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26547 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26549 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26551 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26552 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26553 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26555 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26556 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26557 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26558 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26559 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26561 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26562 (elision_init): Set try_xbegin to zero when no RTM.
26563 * sysdeps/x86/nptl/bits/pthreadtypes.h
26564 (pthread_rwlock_t): Change __pad1 to __rwelision.
26565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26566
26567 2014-06-13 Andi Kleen <ak@linux.intel.com>
26568
26569 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26570 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26571 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26572 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26573
26574 2014-06-13 Meador Inge <meadori@codesourcery.com>
26575
26576 [BZ #16996]
26577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26578 that the cached result has been set before returning it.
26579
26580 2014-06-12 Roland McGrath <roland@hack.frob.com>
26581
26582 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26583 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26584 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26585 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26586 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26587 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26588
26589 * nptl/sysdeps/sparc/Makefile: Moved ...
26590 * sysdeps/sparc/nptl/Makefile: ... here.
26591 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26592 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26593 * nptl/sysdeps/sparc/tls.h: Moved ...
26594 * sysdeps/sparc/nptl/tls.h: ... here.
26595 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26596 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26597 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26598 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26599 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26600 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26601 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26602 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26603 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26604 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26605 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26606 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26607 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26608 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26609 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26610 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26611 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26612 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26613 Update #include.
26614 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26615 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26616 Update #include.
26617 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26618 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26619 Update #include.
26620 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26621 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26622 Update #include.
26623
26624 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26625
26626 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26627 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26628
26629 * sysdeps/pthread/posix-timer.h: Include <list.h>.
26630 (struct list_links): Type removed.
26631 (struct thread_node, struct timer_node): Replace struct list_links
26632 with struct list_head.
26633 (list_unlink_ip): Likewise.
26634 * sysdeps/pthread/timer_routines.c
26635 (timer_free_list, thread_free_list, thread_active_list): Likewise.
26636 (list_append, list_insbefore): Likewise.
26637 (list_init): Function removed.
26638 (thread_init, init_module): Use INIT_LIST_HEAD instead.
26639 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26640 * sysdeps/pthread/Makefile: ... here, new file.
26641
26642 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26643 * sysdeps/nptl/Implies: ... here.
26644 * sysdeps/unix/sysv/linux/Implies: Add nptl.
26645 * nptl/sysdeps/pthread/list.h: Moved ...
26646 * include/list.h: ... here.
26647 * nptl/sysdeps/pthread/createthread.c: Moved ...
26648 * nptl/createthread.c: ... here.
26649 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26650 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26651 * nptl/pt-longjmp.c: ... here.
26652 * nptl/sysdeps/pthread/Makefile: Moved ...
26653 * sysdeps/nptl/Makefile: ... here.
26654 * nptl/sysdeps/pthread/Subdirs: Moved ...
26655 * sysdeps/nptl/Subdirs: ... here.
26656 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26657 * sysdeps/nptl/aio_misc.h: ... here.
26658 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26659 * sysdeps/nptl/bits/libc-lock.h: ... here.
26660 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26661 * sysdeps/nptl/bits/libc-lockP.h: ... here.
26662 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26663 * sysdeps/nptl/bits/stdio-lock.h: ... here.
26664 * nptl/sysdeps/pthread/configure: Moved ...
26665 * sysdeps/nptl/configure: ... here.
26666 * nptl/sysdeps/pthread/configure.ac: Moved ...
26667 * sysdeps/nptl/configure.ac: ... here.
26668 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26669 * sysdeps/nptl/gai_misc.h: ... here.
26670 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26671 * sysdeps/nptl/librt-cancellation.c: ... here.
26672 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26673 * sysdeps/nptl/malloc-machine.h: ... here.
26674 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26675 * sysdeps/nptl/pthread-functions.h: ... here.
26676 * nptl/sysdeps/pthread/pthread.h: Moved ...
26677 * sysdeps/nptl/pthread.h: ... here.
26678 * nptl/sysdeps/pthread/setxid.h: Moved ...
26679 * sysdeps/nptl/setxid.h: ... here.
26680 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26681 * sysdeps/nptl/sigfillset.c: ... here.
26682 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26683 * sysdeps/nptl/tcb-offsets.h: ... here.
26684 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26685 * sysdeps/nptl/tst-mqueue8x.c: ... here.
26686 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26687 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26688 * nptl/sysdeps/pthread/allocalim.h: Moved ...
26689 * sysdeps/pthread/allocalim.h: ... here.
26690 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26691 * sysdeps/pthread/bits/sigthread.h: ... here.
26692 * nptl/sysdeps/pthread/flockfile.c: Moved ...
26693 * sysdeps/pthread/flockfile.c: ... here.
26694 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26695 * sysdeps/pthread/ftrylockfile.c: ... here.
26696 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26697 * sysdeps/pthread/funlockfile.c: ... here.
26698 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26699 * sysdeps/pthread/posix-timer.h: ... here.
26700 * nptl/sysdeps/pthread/timer_create.c: Moved ...
26701 * sysdeps/pthread/timer_create.c: ... here.
26702 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26703 * sysdeps/pthread/timer_delete.c: ... here.
26704 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26705 * sysdeps/pthread/timer_getoverr.c: ... here.
26706 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26707 * sysdeps/pthread/timer_gettime.c: ... here.
26708 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26709 * sysdeps/pthread/timer_routines.c: ... here.
26710 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26711 * sysdeps/pthread/timer_settime.c: ... here.
26712 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26713 * sysdeps/pthread/tst-timer.c: ... here.
26714 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26715 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26716
26717 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26718 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26719
26720 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26721 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26722 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26723 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26724 Update #include target.
26725 * nptl/sysdeps/i386/i686/Makefile: Moved ...
26726 * sysdeps/i386/i686/nptl/Makefile: ... here.
26727 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26728 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26729 Update #include target.
26730 * nptl/sysdeps/i386/i686/tls.h: Moved ...
26731 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
26732 * nptl/sysdeps/i386/Makefile: Moved ...
26733 * sysdeps/i386/nptl/Makefile: ... here.
26734 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26735 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26736 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26737 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26738 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26739 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26740 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26741 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26742 * sysdeps/i386/nptl/pthreaddef.h: ... here.
26743 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26744 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26745 * nptl/sysdeps/i386/tls.h: Moved ...
26746 * sysdeps/i386/nptl/tls.h: ... here.
26747
26748 * sysdeps/sh/Makefile [$(subdir) = csu]
26749 (gen-as-const-headers): Add tcb-offsets.sym.
26750 * nptl/sysdeps/sh/Makefile: File removed.
26751 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26752 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26753 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26754 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26755 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26756 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26757 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26758 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26759 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26760 * sysdeps/sh/nptl/pthreaddef.h: ... here.
26761 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26762 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26763 * nptl/sysdeps/sh/tls.h: Moved ...
26764 * sysdeps/sh/nptl/tls.h: ... here.
26765 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26766 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26767 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26768 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26769 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26770 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26771 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26772 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26773 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26774 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26776 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26778 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26779 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26780 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26781 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26782 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26784 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26786 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26787 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26788 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26789 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26790 Moved ...
26791 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26793 Moved ...
26794 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26795 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26796 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26797 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26798 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26799 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26800 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26801 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26802 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26803 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26804 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26805 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26806 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26807 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26808 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26809 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26810 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26811 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26812 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26813
26814 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
26815
26816 * posix/spawn_faction_addopen.c: Include string.h.
26817
26818 2014-06-11 Roland McGrath <roland@hack.frob.com>
26819
26820 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26821 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26822 * nptl/sysdeps/x86_64/Makefile: Moved ...
26823 * sysdeps/x86_64/nptl/Makefile: ... here.
26824 * nptl/sysdeps/x86_64/configure: Moved ...
26825 * sysdeps/x86_64/nptl/configure: ... here.
26826 * nptl/sysdeps/x86_64/configure.ac: Moved ...
26827 * sysdeps/x86_64/nptl/configure.ac: ... here.
26828 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26829 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26830 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26831 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26832 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26833 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26834 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26835 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26836 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26837 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26838 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26839 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26840 * nptl/sysdeps/x86_64/tls.h: Moved ...
26841 * sysdeps/x86_64/nptl/tls.h: ... here.
26842 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26843 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26844 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26845 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26846
26847 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26848
26849 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26850
26851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26852
26853 2014-06-11 Joseph Myers <joseph@codesourcery.com>
26854
26855 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26856 type.
26857 [POSIX] (off_t): Likewise.
26858 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26859 [POSIX] (S_ISBLK): Require macro.
26860 [POSIX] (S_ISCHR): Likewise.
26861 [POSIX] (S_ISDIR): Likewise.
26862 [POSIX] (S_ISFIFO): Likewise.
26863 [POSIX] (S_ISREG): Likewise.
26864 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26865 optional-macro.
26866 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26867 type.
26868 [POSIX] (time_t): Likewise.
26869 [POSIX] (timer_t): Likewise.
26870
26871 2014-06-11 Florian Weimer <fweimer@redhat.com>
26872
26873 [BZ #17048]
26874 * posix/spawn_int.h (struct __spawn_action): Make the path string
26875 non-const to support deallocation.
26876 * posix/spawn_faction_addopen.c
26877 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26878 * posix/spawn_faction_destroy.c
26879 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
26880 path in all spawn_do_open actions.
26881 * posix/tst-spawn.c (do_test): Exercise the copy operation in
26882 posix_spawn_file_actions_addopen.
26883
26884 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
26885
26886 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26887 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26888 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26889 conditional code always true.
26890 (__libc_vfork): New alias.
26891
26892 2014-06-11 Roland McGrath <roland@hack.frob.com>
26893
26894 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26895 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26896
26897 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26898
26899 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26900 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26901
26902 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26903 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26904
26905 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26906 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26907
26908 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
26909
26910 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26911 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26912 multiarch strcmp for PPC64.
26913 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26914 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26916 multiarch optimizations.
26917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26918 (__libc_ifunc_impl_list): Likewise.
26919
26920 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26921
26922 * benchtests/scripts/validate_benchout.py: New script.
26923 * benchtests/Makefile (bench-func): Call it.
26924 * benchtests/scripts/benchout.schema.json: New file.
26925
26926 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
26927
26928 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26929 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26930 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26931 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26932 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26933 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26934 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26935 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26936 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26937 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26938 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26939 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26940 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26941 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26942 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26943 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26945 Moved ...
26946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26947 ... here.
26948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26949 Moved ...
26950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26952 Moved ...
26953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26954 ... here.
26955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26956 Moved ...
26957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26958 ... here.
26959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26960 Moved ...
26961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26963 Moved ...
26964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26965 ... here.
26966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26967 Moved ...
26968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26969 ... here.
26970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26971 Moved ...
26972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26974 Moved ...
26975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26976 ... here.
26977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26978 Moved ...
26979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26980 ... here.
26981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26982 Moved ...
26983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26984 ... here.
26985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26986 Moved ...
26987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26989 Moved ...
26990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26991 ... here.
26992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26993 Moved ...
26994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26995 ... here.
26996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26997 Moved ...
26998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26999 ... here.
27000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27001 Moved ...
27002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27004 Moved ...
27005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27006 ... here.
27007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27008 Moved ...
27009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27010 ... here.
27011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27012 Moved ...
27013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27015 Moved ...
27016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27017 ... here.
27018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27019 Moved ...
27020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27022 Moved ...
27023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27025 Moved ...
27026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27027 ... here.
27028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27029 Moved ...
27030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27031 ... here.
27032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27033 Moved ...
27034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27035 ... here.
27036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27037 Moved ...
27038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27040 Moved ...
27041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27042 ... here.
27043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27044 Moved ...
27045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27046 ... here.
27047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27048 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27050 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27052 Moved ...
27053 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27054 ... here.
27055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27056 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27057 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27058 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27060 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27062 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27064 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27065 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27066 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27067 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27068 Moved ...
27069 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27071 Moved ...
27072 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27074 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27075 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27076 Moved ...
27077 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27079 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27080 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27081 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27082 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27083 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27084
27085 2014-06-10 Wilco <wdijkstr@arm.com>
27086
27087 * math/test-fenv-return.c: New file.
27088 * math/Makefile: Add new test test-fenv-return.
27089
27090 2014-06-10 Joseph Myers <joseph@codesourcery.com>
27091
27092 [BZ #17042]
27093 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27094 when x - 1 is zero.
27095 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27096 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27097 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27098 0.0L for an argument of 1.0L.
27099 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27100 Likewise.
27101 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27102 value when x - 1 is zero.
27103 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27104 * sysdeps/i386/fpu/libm-test-ulps: Update.
27105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27106
27107 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
27108
27109 [BZ #15119]
27110 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27111
27112 2014-06-09 Roland McGrath <roland@hack.frob.com>
27113
27114 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27115 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27116
27117 2014-06-09 Roland McGrath <roland@hack.frob.com>
27118
27119 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27120 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27121
27122 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27123 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27124
27125 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27126 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27127
27128 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27129 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27130
27131 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27132 if not already defined.
27133 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27134 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27135 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27136 (TLS_INIT_TP): Use it.
27137 (TLS_DEFINE_INIT_TP): New macro.
27138 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27139
27140 2014-06-09 Joseph Myers <joseph@codesourcery.com>
27141
27142 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27143 constant.
27144 [POSIX] (IXANY): Likewise.
27145 [POSIX] (OLCUC): Likewise.
27146 [POSIX || POSIX2008] (CBAUD): Do not allow.
27147 [POSIX || POSIX2008] (DEFECHO): Likewise.
27148 [POSIX || POSIX2008] (ECHOCTL): Likewise.
27149 [POSIX || POSIX2008] (ECHOKE): Likewise.
27150 [POSIX || POSIX2008] (ECHOPRT): Likewise.
27151 [POSIX || POSIX2008] (EXTA): Likewise.
27152 [POSIX || POSIX2008] (EXTB): Likewise.
27153 [POSIX || POSIX2008] (FLUSHO): Likewise.
27154 [POSIX || POSIX2008] (LOBLK): Likewise.
27155 [POSIX || POSIX2008] (PENDIN): Likewise.
27156 [POSIX || POSIX2008] (SWTCH): Likewise.
27157 [POSIX || POSIX2008] (VDISCARD): Likewise.
27158 [POSIX || POSIX2008] (VDSUSP): Likewise.
27159 [POSIX || POSIX2008] (VLNEXT): Likewise.
27160 [POSIX || POSIX2008] (VREPRINT): Likewise.
27161 [POSIX || POSIX2008] (VSTATUS): Likewise.
27162 [POSIX || POSIX2008] (VWERASE): Likewise.
27163 (B*): Change to B[0123456789]*.
27164 * conform/data/time.h-data [POSIX || UNIX98]
27165 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27166 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27167 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27168 [POSIX] (tm_*): Do not allow.
27169
27170 2014-06-07 Joseph Myers <joseph@codesourcery.com>
27171
27172 * Makefile (install): Don't set LANGUAGE.
27173 * Makefile.in (install): Likewise.
27174 * assert/Makefile (test-assert-ENV): Remove variable.
27175 (test-assert-perr-ENV): Likewise.
27176 * elf/Makefile (neededtest4-ENV): Likewise.
27177 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27178 [$(cross-compiling) = no]: Don't set LANGUAGE.
27179 * io/ftwtest-sh (LANG): Remove variable.
27180 * libio/Makefile (tst-widetext-ENV): Likewise.
27181 * manual/install.texi (Running make install): Don't refer to
27182 environment settings for make install.
27183 * INSTALL: Regenerated.
27184 * nptl/tst-tls6.sh: Don't set LANG.
27185 * posix/globtest.sh (LANG): Remove variable.
27186 * string/Makefile (tester-ENV): Likewise.
27187 (inl-tester-ENV): Likewise.
27188 (noinl-tester-ENV): Likewise.
27189 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27190 [$(cross-compiling) = no]: Don't set LANGUAGE.
27191 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27192 without explicit environment settings.
27193
27194 2014-06-06 Roland McGrath <roland@hack.frob.com>
27195
27196 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27197 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27198 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27199 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27200
27201 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
27202
27203 * crypt/crypt-private.h [DOS]: Add some includes taken from the
27204 other files in the crypt directory.
27205 * crypt/crypt.c: Remove duplicate includes.
27206 * crypt/crypt-entry.c: Likewise.
27207 * crypt/crypt_util.c: Likewise.
27208
27209 2014-06-06 Joseph Myers <joseph@codesourcery.com>
27210
27211 * Makeconfig (run-program-env): New variable.
27212 (run-program-prefix-before-env): Likewise.
27213 (run-program-prefix-after-env): Likewise.
27214 (run-program-prefix): Define in terms of new variables.
27215 (built-program-cmd-before-env): New variable.
27216 (built-program-cmd-after-env): Likewise.
27217 (built-program-cmd): Define in terms of new variables.
27218 (test-program-prefix-before-env): New variable.
27219 (test-program-prefix-after-env): Likewise.
27220 (test-program-prefix): Define in terms of new variables.
27221 (test-program-cmd-before-env): New variable.
27222 (test-program-cmd-after-env): Likewise.
27223 (test-program-cmd): Define in terms of new variables.
27224 * Rules (make-test-out): Use $(run-program-env).
27225 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27226 (help): Do not mention environment variables. Mention
27227 --timeoutfactor option.
27228 (timeoutfactor): New variable.
27229 (blacklist_exports): Remove function.
27230 (exports): Remove variable.
27231 (command): Do not include ${exports}.
27232 * manual/install.texi (Configuring and compiling): Do not mention
27233 test wrappers preserving environment variables. Mention that last
27234 assignment to a variable must take precedence.
27235 * INSTALL: Regenerated.
27236 * benchtests/Makefile (run-bench): Use $(run-program-env).
27237 * catgets/Makefile ($(objpfx)test1.cat): Use
27238 $(built-program-cmd-before-env), $(run-program-env) and
27239 $(built-program-cmd-after-env).
27240 ($(objpfx)test2.cat): Do not specify environment variables
27241 explicitly.
27242 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27243 $(run-program-env) and $(built-program-cmd-after-env).
27244 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27245 $(run-program-env) and $(test-program-cmd-after-env).
27246 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27247 explicitly.
27248 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27249 run_program_env and test_program_cmd_after_env arguments.
27250 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27251 * elf/tst-pathopt.sh: Use run_program_env argument.
27252 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27253 $(test-wrapper-env) and $(run-program-env).
27254 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27255 run_program_env arguments.
27256 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27257 * intl/Makefile ($(objpfx)tst-gettext.out): Use
27258 $(test-program-prefix-before-env), $(run-program-env) and
27259 $(test-program-prefix-after-env).
27260 ($(objpfx)tst-gettext2.out): Likewise.
27261 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27262 run_program_env and test_program_prefix_after_env arguments.
27263 * intl/tst-gettext2.sh: Likewise.
27264 * intl/tst-gettext4.sh: Do not set environment variables
27265 explicitly.
27266 * intl/tst-gettext6.sh: Likewise.
27267 * intl/tst-translit.sh: Likewise.
27268 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27269 $(test-program-prefix-before-env), $(run-program-env) and
27270 $(test-program-prefix-after-env).
27271 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27272 run_program_env and test_program_prefix_after_env arguments.
27273 * math/Makefile (run-regen-ulps): Use $(run-program-env).
27274 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27275 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
27276 explicitly with each use of ${test_wrapper_env}.
27277 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27278 $(test-program-prefix-before-env), $(run-program-env) and
27279 $(test-program-prefix-after-env).
27280 * posix/tst-getconf.sh: Do not set environment variables
27281 explicitly.
27282 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27283 run_program_env and test_program_prefix_after_env arguments.
27284 * stdio-common/tst-printf.sh: Do not set environment variables
27285 explicitly.
27286 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27287 $(test-program-prefix-before-env), $(run-program-env) and
27288 $(test-program-prefix-after-env).
27289 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27290 run_program_env and test_program_prefix_after_env arguments.
27291 Split $test calls into $test_pre and $test.
27292 * timezone/Makefile (build-testdata): Use
27293 $(built-program-cmd-before-env), $(run-program-env) and
27294 $(built-program-cmd-after-env).
27295
27296 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27297
27298 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27299 strlen for non SHARED builds.
27300
27301 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27302
27303 * nptl/allocatestack.c (check_list): Inlined function...
27304 (__reclaim_stacks): ... here.
27305
27306 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
27307
27308 [BZ #15698]
27309 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27310 memory overrun.
27311
27312 2014-06-05 Joseph Myers <joseph@codesourcery.com>
27313
27314 * Rules (make-test-out): Include
27315 LOCPATH=$(common-objpfx)localedata in default environment.
27316 * debug/Makefile (tst-chk1-ENV): Remove variable.
27317 (tst-chk2-ENV): Likewise.
27318 (tst-chk3-ENV): Likewise.
27319 (tst-chk4-ENV): Likewise.
27320 (tst-chk5-ENV): Likewise.
27321 (tst-chk6-ENV): Likewise.
27322 (tst-lfschk1-ENV): Likewise.
27323 (tst-lfschk2-ENV): Likewise.
27324 (tst-lfschk3-ENV): Likewise.
27325 (tst-lfschk4-ENV): Likewise.
27326 (tst-lfschk5-ENV): Likewise.
27327 (tst-lfschk6-ENV): Likewise.
27328 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27329 (tst-iconv7-ENV): Likewise.
27330 * intl/Makefile (LOCPATH-ENV): Likewise.
27331 (tst-codeset-ENV): Likewise.
27332 (tst-gettext3-ENV): Likewise.
27333 (tst-gettext5-ENV): Likewise.
27334 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27335 (tst-fopenloc-ENV): Likewise.
27336 (tst-fgetws-ENV): Remove variable.
27337 (tst-ungetwc1-ENV): Likewise.
27338 (tst-ungetwc2-ENV): Likewise.
27339 (bug-ungetwc2-ENV): Likewise.
27340 (tst-swscanf-ENV): Likewise.
27341 (bug-ftell-ENV): Likewise.
27342 (tst-fgetwc-ENV): Likewise.
27343 (tst-fseek-ENV): Likewise.
27344 (tst-ftell-partial-wide-ENV): Likewise.
27345 (tst-ftell-active-handler-ENV): Likewise.
27346 (tst-ftell-append-ENV): Likewise.
27347 * posix/Makefile (tst-fnmatch-ENV): Likewise.
27348 (tst-regexloc-ENV): Likewise.
27349 (bug-regex1-ENV): Likewise.
27350 (tst-regex-ENV): Likewise.
27351 (tst-regex2-ENV): Likewise.
27352 (bug-regex5-ENV): Likewise.
27353 (bug-regex6-ENV): Likewise.
27354 (bug-regex17-ENV): Likewise.
27355 (bug-regex18-ENV): Likewise.
27356 (bug-regex19-ENV): Likewise.
27357 (bug-regex20-ENV): Likewise.
27358 (bug-regex22-ENV): Likewise.
27359 (bug-regex23-ENV): Likewise.
27360 (bug-regex25-ENV): Likewise.
27361 (bug-regex26-ENV): Likewise.
27362 (bug-regex30-ENV): Likewise.
27363 (bug-regex32-ENV): Likewise.
27364 (bug-regex33-ENV): Likewise.
27365 (bug-regex34-ENV): Likewise.
27366 (bug-regex35-ENV): Likewise.
27367 (tst-rxspencer-ENV): Likewise.
27368 (tst-rxspencer-no-utf8-ENV): Likewise.
27369 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27370 (tst-sscanf-ENV): Likewise.
27371 (tst-swprintf-ENV): Likewise.
27372 (tst-swscanf-ENV): Likewise.
27373 (test-vfprintf-ENV): Likewise.
27374 (scanf13-ENV): Likewise.
27375 (bug14-ENV): Likewise.
27376 (tst-grouping-ENV): Likewise.
27377 * stdlib/Makefile (tst-strtod-ENV): Likewise.
27378 (tst-strtod3-ENV): Likewise.
27379 (tst-strtod4-ENV): Likewise.
27380 (tst-strtod5-ENV): Likewise.
27381 (testmb2-ENV): Likewise./
27382 * string/Makefile (tst-strxfrm-ENV): Likewise.
27383 (tst-strxfrm2-ENV): Likewise.
27384 (bug-strcoll1-ENV): Likewise.
27385 (test-strcasecmp-ENV): Likewise.
27386 (test-strncasecmp-ENV): Likewise.
27387 * time/Makefile (tst-strptime-ENV): Likewise.
27388 (tst-ftime_l-ENV): Likewise.
27389 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27390 (tst-mbrtowc-ENV): Likewise.
27391 (tst-wcrtomb-ENV): Likewise.
27392 (tst-mbrtowc2-ENV): Likewise.
27393 (tst-c16c32-1-ENV): Likewise.
27394 (tst-mbsnrtowcs-ENV): Likewise.
27395
27396 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
27397
27398 * manual/resource.texi (How to get information about the memory
27399 subsystem?): Fix typo.
27400 Reported by Peon de la Parra Ivan <peon@keba.com>
27401
27402 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
27403
27404 [BZ #16882]
27405 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27406 (pthread_spin_lock): Branch out of spin loop to proper location.
27407 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27408 (pthread_spin_lock): Likewise.
27409
27410 * nptl/tst-spin4.c: New test.
27411 * nptl/Makefile (tests): Add tst-spin4.
27412
27413 2014-06-03 Andreas Schwab <schwab@suse.de>
27414
27415 [BZ #15946]
27416 * resolv/res_send.c (send_dg): Reload file descriptor after
27417 calling reopen.
27418
27419 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
27420
27421 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27422
27423 2014-06-03 Richard Henderson <rth@redhat.com>
27424
27425 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27426 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27427 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27428 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
27429 in the SAVE_PID block.
27430 (__libc_vfork): New alias.
27431 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27432
27433 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27434 child in registers, not on the stack. Remove RESET_PID conditionals.
27435 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27436
27437 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
27438
27439 * sysdeps/aarch64/libm-test-ulps: Regenerate.
27440
27441 2014-06-03 Wilco <wdijkstr@arm.com>
27442
27443 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27444 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27445 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27446 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27447 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27448 Likewise.
27449
27450 2014-06-03 Wilco <wdijkstr@arm.com>
27451
27452 * sysdeps/aarch64/fpu/math_private.h
27453 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27454 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27455 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27456 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27457 Fix declarations.
27458
27459 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27460
27461 * crypt/crypt-private.h: Include ufc-crypt.h.
27462 (__b64_from_24bit): Declare extern.
27463 * crypt/crypt_util.c(__b64_from_24bit): New function.
27464 (b64t): New static const variable.
27465 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27466 (b64t): Remove variable.
27467 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27468 * crypt/sha256-crypt.c: Include crypt-private.h.
27469 (b64t): Remove variable.
27470 (__sha256_crypt_r): Remove b64_from_24bit and replace
27471 with __b64_from_24bit.
27472 * crypt/sha512-crypt.c: Likewise.
27473
27474 2014-06-02 Roland McGrath <roland@hack.frob.com>
27475
27476 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27477 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27478 Label the code __libc_vfork rather than __vfork.
27479 [!NOT_IN_libc] (vfork): Define as weak alias.
27480 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27481 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27482 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27483
27484 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27485
27486 * malloc/malloc.c (malloc_info): Fix format specifier for
27487 n_mmaps.
27488
27489 2014-06-02 Wilco <wdijkstr@arm.com>
27490
27491 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27492 FPCR write.
27493
27494 2014-06-02 Wilco <wdijkstr@arm.com>
27495
27496 [BZ #17009]
27497 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27498 Rewrite to reduce FPCR/FPSR accesses.
27499
27500 2014-06-01 David S. Miller <davem@davemloft.net>
27501
27502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27503
27504 2014-05-31 David S. Miller <davem@davemloft.net>
27505
27506 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27507 to occur in round to nearest mode when |x| >= 2.0
27508
27509 2014-05-30 Richard Henderson <rth@twiddle.net>
27510
27511 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27512 (PSEUDO_RET_NOERRNO): Remove.
27513 (ret): Don't redefine.
27514 (ret_NOERRNO): Define in terms of ret.
27515 (ret_ERRVAL): Likewise.
27516
27517 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27518 use of PSEUDO_RET; perform the error check directly.
27519
27520 2014-05-30 Marko Myllynen <myllynen@redhat.com>
27521
27522 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27523 with __int128_t.
27524
27525 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27526
27527 * malloc/malloc (malloc_info): Fix formatting.
27528
27529 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27530 Roland McGrath <roland@hack.frob.com>
27531
27532 * malloc/malloc (malloc_info): Also print mmapped statistics.
27533
27534 2014-05-30 Roland McGrath <roland@hack.frob.com>
27535
27536 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27537 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27538
27539 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
27540
27541 * malloc/malloc.c (malloc_info): Inline mi_arena.
27542
27543 2014-05-29 Richard Henderson <rth@twiddle.net>
27544
27545 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27546 Remove comma before expanding ASM_ARGS_##nr.
27547 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27548 Make _x0 a strict output; make _x8 a strict input; adjust expansion
27549 of ASM_ARGS_##nr.
27550 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27551 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27552 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27553 (ASM_ARGS_1): Add leading comma.
27554
27555 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27556 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27557 to __errno_location.
27558 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27559 Remove the expected plt for __errno_location.
27560
27561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27562 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27563 call to __read_tp.
27564
27565 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27566 Always allocate 64 bytes of stack frame. Use ldp/stp to create
27567 it and break it down.
27568 (DOCARGS_0, DOCARGS_1): Do nothing.
27569 (DOCARGS_2): Update to store into the new stack frame.
27570 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27571 (UNDOCARGS_1): Update to restore from the new stack frame.
27572 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27573 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27574
27575 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27576 (SINGLE_THREAD_P): New parameter for result regno.
27577 (PSEUDO): Update to match; use cbz instead of beq.
27578
27579 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27580 Use ENTRY to define the _nocancel entry point. Share the syscall
27581 and syscall error check paths with the cancel path.
27582 (PSEUDO_END): New.
27583
27584 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27585 whitespace; tabs before and after asm mnemonics.
27586
27587 2014-05-29 Eric Wong <normalperson@yhbt.net>
27588
27589 [BZ #15132]
27590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27591 Call fstat64 or stat64 internally, depending on arguments passed.
27592 Replace stat buffer argument with file descriptor argument.
27593 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27594 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27595 Pass fd to __internal_statvfs instead of calling fstat64.
27596 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27597 Pass fd to __internal_statvfs64 instead of calling fstat64.
27598 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27599 Pass -1 to __internal_statvfs instead of calling stat64.
27600 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27601 Pass -1 to __internal_statvfs64 instead of calling stat64.
27602
27603 2014-05-28 Roland McGrath <roland@hack.frob.com>
27604
27605 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27606 that was previously under [RESET_PID].
27607 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27608
27609 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27610 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27611
27612 2014-05-27 Roland McGrath <roland@hack.frob.com>
27613
27614 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27615
27616 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27617 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27618
27619 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
27620
27621 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27622
27623 2014-05-27 Andreas Schwab <schwab@suse.de>
27624
27625 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27626 TLS_INIT_TP macro.
27627 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27628 * elf/rtld.c (init_tls, dl_main): Likewise.
27629 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27630 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27631 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27632 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27633 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27634 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27635 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27636 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27637 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27638 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27639 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27640 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27641 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27642 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27643 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27644 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27645 * sysdeps/generic/tls.h: Update description.
27646
27647 2014-05-27 Will Newton <will.newton@linaro.org>
27648
27649 [BZ #16990]
27650 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27651 and restore r2 rather than just restoring.
27652
27653 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27654
27655 [BZ #16724]
27656 * libio/tst-ftell-append.c: New test case.
27657 * libio/Makefile (tests): Add test case.
27658 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27659 append mode.
27660 * libio/wfileops.c (do_ftell_wide): Likewise.
27661
27662 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27663
27664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27665
27666 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27667 ...
27668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27670 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27671 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27672 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27673 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27674 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27675 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27676 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27677 Moved ...
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27680 Moved ...
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27682 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27683 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27684 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27685 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27686 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27687 ...
27688 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27689 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27690 Moved ...
27691 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27692 here.
27693 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27694 ...
27695 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27696 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27697 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27698
27699 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27700 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27701 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27702 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27703
27704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27705 merge into ...
27706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27708 ...
27709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27711 ...
27712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27714 Moved ...
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27716 here.
27717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27718 Moved ...
27719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27721 Moved ...
27722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27723
27724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27725 conditional [RESET_PID].
27726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27727 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27728 removed.
27729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27730 removed.
27731
27732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27733 <tcb-offsets.h>.
27734 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27735 (__libc_vfork): New strong alias.
27736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27737 removed.
27738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27739 Removed.
27740
27741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27742 <tcb-offsets.h>.
27743 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27744 (__libc_vfork): New strong alias.
27745 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27746 removed.
27747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27748 removed.
27749
27750 2014-05-26 Carlos O'Donell <carlos@redhat.com>
27751
27752 * malloc/malloc.c (mi_arena): New function.
27753 (malloc_info): Remove nested function mi_arena. Call non-nosted
27754 function mi_arena.
27755
27756 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27757
27758 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27759 by insrwi.
27760 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27761 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27762 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27763 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27764 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27765 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27766 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27767
27768 2014-05-26 Andreas Schwab <schwab@suse.de>
27769
27770 [BZ #16984]
27771 * locale/programs/repertoire.c (repertoire_read): Add slash
27772 between I18NPATH element and file name.
27773 * locale/programs/locfile.c (locfile_read): Likewise.
27774
27775 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
27776
27777 * nptl/pthread_mutexattr_settype.c
27778 (__pthread_mutexattr_settype):
27779 Disable lock elision for PTHREAD_MUTEX_NORMAL.
27780
27781 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
27782
27783 * nptl/tst-mutex5 (do_test):
27784 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27785
27786 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27787
27788 * benchtests/README: Document 'init' directive.
27789 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27790 BENCH_INIT.
27791 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27792 (parse_file): Recognize 'init' directive.
27793
27794 2014-05-26 Kyle McMartin <kyle@redhat.com>
27795
27796 [BZ #16796]
27797 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27798 alignment of struct pthread.
27799
27800 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27801
27802 [BZ #16878]
27803 * nscd/netgroupcache.c (addgetnetgrentX): Look for
27804 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27805 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27806 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27807
27808 2014-05-25 Richard Henderson <rth@twiddle.net>
27809
27810 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27811 (SINGLE_THREAD_P_PIC): Remove.
27812 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27813 (SINGLE_THREAD_P_PIC): Remove.
27814
27815 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27816 branch to syscall error ...
27817 (PSEUDO): ... here.
27818 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27819 from __local_syscall_error to .Lsyscall_error.
27820 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27821 (SYSCALL_ERROR): Update label name.
27822
27823 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27824 Do not use DOARGS/UNDOARGS.
27825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27826 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27827 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27828 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27829 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27830
27831 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27832 block comment.
27833
27834 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27835 define if !NOT_IN_libc.
27836 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27837 define with non-default symbol versions.
27838
27839 2014-05-23 Richard Henderson <rth@twiddle.net>
27840
27841 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27842 (vfork, __vfork): Define via compat_symbol.
27843
27844 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27845 [!HAVE_IFUNC] (vfork_compat): Remove.
27846 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27847
27848 2014-05-23 Joseph Myers <joseph@codesourcery.com>
27849
27850 [BZ #16978]
27851 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27852 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27853 variable.
27854
27855 2014-05-23 Richard Henderson <rth@twiddle.net>
27856
27857 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27858 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27859 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27860 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27861
27862 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27863 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27864 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27865 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27866 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27867 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27868 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27869 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27870 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27871 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27872 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27873 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27874 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27875 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27876 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27877 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27878 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27879 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27880 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27881 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27882 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27883 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27884 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27885 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27886 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27887 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27888 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27889 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27890 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27891 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27892 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27893 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27894 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27895 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27896 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27897 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27898 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27899 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27900 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27901 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27902 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27903 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27904 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27905 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27906 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27907 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27908 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27909 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27910 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27911 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27912 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27913 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27914 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27915 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27916 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27917 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27918
27919 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27920 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27921 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
27922 before exiting on error.
27923 (__libc_vfork): New strong alias.
27924 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27925 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27926
27927 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27928 that was previously under [RESET_PID].
27929 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27930
27931 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27932
27933 2014-05-23 Joseph Myers <joseph@codesourcery.com>
27934
27935 [BZ #16977]
27936 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27937 value when x - 1 is zero.
27938 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27939 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27940 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27941 0.0L for an argument of 1.0L.
27942 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27943 Likewise.
27944 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27945 value when x - 1 is zero.
27946 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27947 * sysdeps/i386/fpu/libm-test-ulps: Update.
27948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27949
27950 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27951
27952 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27953 alphasort and versionsort.
27954
27955 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27956
27957 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27958 macro.
27959 [copysignf]: Likewise.
27960
27961 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27962
27963 * crypt/md5-crypt.c: Fix formatting.
27964
27965 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27966
27967 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27968 (b64_from_24bit): New function.
27969
27970 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27971
27972 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27973 libc_hidden_builtin_def to ifunc.
27974 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27975 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27976
27977 2014-05-21 Roland McGrath <roland@hack.frob.com>
27978
27979 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27980 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27981
27982 2014-05-21 Joseph Myers <joseph@codesourcery.com>
27983
27984 * nscd/Depend (linuxthreads): Remove.
27985 (nptl): Add.
27986 * resolv/Depend (linuxthreads): Remove.
27987 * rt/Depend (linuxthreads): Remove.
27988
27989 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27990 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27991 $(common-objpfx)elf/.
27992 (link-libc-before-gnulib): Likewise.
27993 (elfobjdir): Remove variable.
27994 * Makefile (install): Use $(elf-objpfx) instead of
27995 $(common-objpfx)elf/.
27996 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27997 $(elfobjdir)/.
27998 (link-libc-deps): Likewise.
27999 ($(common-objpfx)libc.so): Likewise.
28000 ($(common-objpfx)linkobj/libc.so): Likewise.
28001 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28002 instead of $(common-objpfx)elf/.
28003 (symbolic-link-list): Likewise.
28004 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28005 [$(cross-compiling) = no]: Likewise.
28006 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28007 $(elfobjdir)/.
28008 (static-gnulib-arch): Likewise.
28009 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28010 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28011 $(common-objpfx)elf/.
28012
28013 2014-05-21 Richard Henderson <rth@redhat.com>
28014
28015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28016 (SINGLE_THREAD_P): Use the correct width load. Fold
28017 into the ldr offset.
28018
28019 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28020 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28021
28022 2014-05-20 Joseph Myers <joseph@codesourcery.com>
28023
28024 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28025 (libgcc_s_resume): Use __attribute_used__.
28026 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28027 Likewise.
28028
28029 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28030
28031 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28032 optimization when used with float constants.
28033
28034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28035
28036 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
28037
28038 [BZ #16915]
28039 * locale/nl_langinfo_l.c: Make direct reference to every
28040 _nl_current_CATEGORY symbol.
28041 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28042 (tests-static): Add tst-langinfo-static.
28043 (tests-special): Add tst-langinfo-static.out.
28044 ($(objpfx)tst-langinfo.out): Redirect output.
28045 ($(objpfx)tst-langinfo-static.out): New.
28046 * localedata/tst-langinfo.sh: Send output to stdout.
28047 * localedata/tst-langinfo-static.c: New file.
28048
28049 [BZ #16965]
28050 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28051 when the shift amount is modulo the limb size.
28052
28053 2014-05-20 Richard Henderson <rth@redhat.com>
28054
28055 [BZ #16967]
28056 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28057 Change type of sa_flags from unsigned int to int.
28058
28059 [BZ #16966]
28060 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28061
28062 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28063
28064 2014-05-20 Will Newton <will.newton@linaro.org>
28065
28066 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28067 Test the return value of the system call in the nocancel case.
28068
28069 2014-05-20 Will Newton <will.newton@linaro.org>
28070 Yvan Roux <yvan.roux@linaro.org>
28071
28072 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28073 #include of asm/ptrace.h.
28074 (PTRACE_GET_THREAD_AREA): Remove #undef.
28075 (PTRACE_GETHBPREGS): Likewise.
28076 (PTRACE_SETHBPREGS): Likewise.
28077 (struct user_regs_struct): New structure.
28078 (struct user_fpsimd_struct): New structure.
28079 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28080 #include of asm/ptrace.h and second #include of sys/user.h.
28081 (PTRACE_GET_THREAD_AREA): Remove #undef.
28082 (PTRACE_GETHBPREGS): Likewise.
28083 (PTRACE_SETHBPREGS): Likewise.
28084 (ELF_NGREG): Use new struct user_regs_struct.
28085 (elf_fpregset_t): Use new struct user_fpsimd_struct.
28086
28087 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28088
28089 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28090 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28091
28092 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
28093
28094 [BZ #16958]
28095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28096 membar to avoid block loads/stores to overlap previous stores.
28097
28098 2014-05-17 Richard Henderson <rth@redhat.com>
28099
28100 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28101 Create the __##syscall_name##_nocancel entry point.
28102 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28103 Remove; let the sysdep-cancel.h code create it.
28104
28105 2014-05-17 David S. Miller <davem@davemloft.net>
28106
28107 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28108 Protect with __USE_GNU.
28109 (TIOCSET_TEMPT): Likewise.
28110 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28111 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28112 these are already provided in bits/ioctl-types.h
28113
28114 2014-05-16 Roland McGrath <roland@hack.frob.com>
28115
28116 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28117 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28118
28119 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28120 Use wait4 regardless of [__NR_waitpid].
28121
28122 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28123
28124 PR libgcc/60166
28125 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28126 (_FP_NANSIGN_Q): Set the quiet bit.
28127
28128 2014-05-16 Joseph Myers <joseph@codesourcery.com>
28129
28130 * benchtests/Makefile
28131 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28132 not $(common-objpfx)math/libm.so.
28133 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28134 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28135 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28136 $(common-objpfx)dlfcn/libdl.so.
28137 ($(objpfx)tst-audit8): Depend on $(libm), not
28138 $(common-objpfx)math/libm.so.
28139 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28140 not $(common-objpfx)dlfcn/libdl.so.
28141 * math/Makefile
28142 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28143 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
28144 [$(build-shared) = yes].
28145 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28146 $(common-objpfx)nptl/libpthread.so.
28147 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28148 $(common-objpfx)math/libm.so$(libm.so-version) or
28149 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28150 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28151 $(common-objpfx)dlfcn/libdl.so.
28152 * setjmp/Makefile (link-libm): Remove variable.
28153 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28154 * stdio-common/Makefile (link-libm): Remove variable.
28155 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28156 * stdlib/Makefile (link-libm): Remove variable.
28157 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28158 ($(objpfx)tst-strtod-round): Likewise.
28159 ($(objpfx)tst-tininess): Likewise.
28160 ($(objpfx)tst-strtod-underflow): Likewise.
28161 ($(objpfx)tst-strtod6): Likewise.
28162 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28163 $(libdl), not $(common-objpfx)nptl/libpthread.so and
28164 $(common-objpfx)dlfcn/libdl.so.
28165
28166 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28167
28168 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28169 BSD terminal modes definitions.
28170
28171 2014-05-16 Roland McGrath <roland@hack.frob.com>
28172
28173 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28174 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28175
28176 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28177 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28178 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28179 Don't do #include_next.
28180 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28181 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28182 Don't do #include_next.
28183 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28184 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28185 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28186 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28187
28188 2014-05-16 Allan McRae <allan@archlinux.org>
28189
28190 * po/sv.po: Update Swedish translation from translation project.
28191
28192 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28193 in sed expression.
28194
28195 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
28196
28197 [BZ #16917]
28198 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28199 errno if the TIOCGPTN ioctl fails with an error different than
28200 EINVAL.
28201 * login/tst-ptsname.c: New file.
28202 * login/Makefile (tests): Add tst-ptsname.
28203
28204 [BZ #16943]
28205 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28206 and prlimit64.
28207
28208 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28209
28210 [BZ #16849]
28211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28212 herrno to return EAI_AGAIN.
28213
28214 2014-05-14 Roland McGrath <roland@hack.frob.com>
28215
28216 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28217 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28218 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28219 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28220 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28221 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28222 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28223 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28224 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28225 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28226 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28227 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28228 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28229 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28230 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28231 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28232 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28233 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28234 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28235 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28236 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28237 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28238 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28239 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28240 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28241 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28242 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28243 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28244 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28245 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28247 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28249 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28251 Moved ...
28252 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28254 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28256 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28258 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28260 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28262 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28264 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28266 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28268 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28270 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28272 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28274 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28276 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28278 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28280 Moved ...
28281 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28283 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28285 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28287 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28289 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28291 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28293 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28295 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28297 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28299 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28301 Moved ...
28302 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28304 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28305
28306 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28307 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28308 (libpthread-sysdep_routines): Add elision-related stuff here instead.
28309 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28310 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28311 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28312 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28313 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28314 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28315 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28316 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28317 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28318 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28319 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28320 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28321 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28322 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28323 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28324 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28325 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28326 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28327 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28328 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28329 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28330 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28331 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28332 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28333 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28334 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28335 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28336 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28337
28338 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28339 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28340
28341 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28342 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28343 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28344 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28345 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28346 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28347 Moved ...
28348 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28349 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28350 Moved ...
28351 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28352 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28353 Moved ...
28354 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28355 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28356 Moved ...
28357 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28358 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28359 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28361 Moved ...
28362 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28363 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28364 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28365 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28366 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28367 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28368 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28369 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28370 Moved ...
28371 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28373 Moved ...
28374 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28375 ... here.
28376 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28377 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28378 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28379 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28381 Moved ...
28382 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28383 ... here.
28384 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28385 Moved ...
28386 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28387 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28388 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28389 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28390 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28391 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28392 Moved ...
28393 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28394 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28395 Moved ...
28396 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28397 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28398 Moved ...
28399 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28400 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28401 Moved ...
28402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28403 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28404 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28406 Moved ...
28407 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28408 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28409 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28410 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28411 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28412 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28413 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28414 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28415 Moved ...
28416 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28418 Moved ...
28419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28420 ... here.
28421 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28422 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28423 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28424 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28426 Moved ...
28427 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28428 ... here.
28429 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28430 Moved ...
28431 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28432 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28433 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28434 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28435 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28436 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28437 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28438 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28439 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28440 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28441 Moved ...
28442 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28443 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28444 Moved ...
28445 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28446 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28447 Moved ...
28448 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28450 Moved ...
28451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28452 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28453 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28454 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28455 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28456 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28457 Moved ...
28458 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28459 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28460 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28462 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28463 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28464 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28465 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28466 Moved ...
28467 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28469 Moved ...
28470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28471 ... here.
28472 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28473 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28474 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28475 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28477 Moved ...
28478 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28479 ... here.
28480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28481 Moved ...
28482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28483 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28484 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28485 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28486 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28487 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28488 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28489 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28490 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28491 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28492 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28493
28494 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28495 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28496
28497 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28498 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28499
28500 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28501 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28502 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28503 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28504 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28505 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28506 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28507 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28508 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28509 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28510 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28511 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28512 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28513 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28514 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28516 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28517 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28518 Moved ...
28519 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28520 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28521 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28522 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28523 Moved ...
28524 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28526 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28528 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28531 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28532 Moved ...
28533 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28534 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28535 Moved ...
28536 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28538 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28540 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28541 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28542 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28543 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28544 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28545 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28546 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28547 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28548 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28549 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28550 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28551 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28552 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28553
28554 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28555 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28556 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28557 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28558 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28559
28560 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28561 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28562 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28563 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28564 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28565 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28566 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28567 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28568 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28569 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28570
28571 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28572 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28573
28574 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28575 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28576 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28577 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28578 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28579 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28580 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28581 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28582 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28583 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28584 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28585 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28586 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28587 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28589 Update #include.
28590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28591 Likewise.
28592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28593 Likewise.
28594 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28595 Likewise.
28596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28597 Likewise.
28598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28599 Likewise.
28600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28601 Likewise.
28602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28603 Likewise.
28604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28605 Likewise.
28606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28607 Likewise.
28608 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28609 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28610 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28611 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28612 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28613 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28614 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28615 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28616 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28617 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28618 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28619 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28620 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28621 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
28622 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
28623
28624 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28625 that was previously under [RESET_PID].
28626 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28627 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28628 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28629
28630 * sysdeps/i386/nptl/Implies: New file.
28631 * sysdeps/x86_64/nptl/Implies: New file.
28632 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28633 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28634 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28635 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28636
28637 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28638 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28639 (__libc_vfork): New strong alias.
28640 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28641 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28642
28643 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28644 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28645 (__libc_vfork): New strong alias.
28646 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28647 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28648
28649 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28650 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28651 (__libc_vfork): New strong alias.
28652 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28653 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28654 * nptl/pt-vfork.c: New file.
28655 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28656 (libpthread: GLIBC_2.20): New version set (empty).
28657
28658 2014-05-14 Will Newton <will.newton@linaro.org>
28659
28660 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28661 rather than #if.
28662
28663 2014-05-14 Joseph Myers <joseph@codesourcery.com>
28664
28665 [BZ #16564]
28666 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28667 arguments with exponent 65 or above.
28668 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28669 arguments 0x1p113L or above.
28670 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28671 to arguments 0x1p107L or above.
28672 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28673 positive arguments with exponent 65 or above.
28674 * math/auto-libm-test-in: Add more tests of log1p.
28675 * math/auto-libm-test-out: Regenerated.
28676
28677 [BZ #16928]
28678 * math/s_cacos.c (__cacos): Ensure zero real part of result from
28679 non-finite arguments is +0.
28680 * math/s_cacosf.c (__cacosf): Likewise.
28681 * math/s_cacosl.c (__cacosl): Likewise.
28682 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28683 * sysdeps/i386/fpu/libm-test-ulps: Update.
28684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28685
28686 [BZ #16927]
28687 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28688 value.
28689 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28690 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28691 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28692 for explicit high bit of mantissa when testing for argument equal
28693 to 1.
28694 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28695 * sysdeps/i386/fpu/libm-test-ulps: Update.
28696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28697
28698 [BZ #16516]
28699 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28700 (__erf): Scale by 16 instead of 8 in potentially underflowing
28701 case. Ensure exception if result actually underflows.
28702 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28703 (__erff): Scale by 16 instead of 8 in potentially underflowing
28704 case. Ensure exception if result actually underflows.
28705 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28706 (efx8): Remove variable.
28707 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28708 case. Ensure exception if result actually underflows.
28709 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28710 (efx8): Remove variable.
28711 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28712 case. Ensure exception if result actually underflows.
28713 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28714 (efx8): Remove variable.
28715 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28716 case. Ensure exception if result actually underflows.
28717 * math/auto-libm-test-in: Add more tests of erf.
28718 * math/auto-libm-test-out: Regenerated.
28719
28720 2014-05-14 Andreas Schwab <schwab@suse.de>
28721
28722 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28723 Remove code conditionalized on USE___THREAD.
28724
28725 * config.h.in (HAVE_PT_CHOWN): Define as 0.
28726 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28727 not definedness.
28728
28729 2014-05-14 Joseph Myers <joseph@codesourcery.com>
28730
28731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28732 Define unconditionally.
28733 (__ASSUME_O_CLOEXEC): Likewise.
28734 (__ASSUME_SOCK_CLOEXEC): Likewise.
28735 (__ASSUME_IN_NONBLOCK): Likewise.
28736 (__ASSUME_PIPE2): Likewise.
28737 (__ASSUME_EVENTFD2): Likewise.
28738 (__ASSUME_SIGNALFD4): Likewise.
28739 (__ASSUME_DUP3): Likewise.
28740 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28741 (__ASSUME_DUP3): Do not define.
28742 (__ASSUME_EVENTFD2): Likewise.
28743 (__ASSUME_IN_NONBLOCK): Likewise.
28744 (__ASSUME_O_CLOEXEC): Likewise.
28745 (__ASSUME_PIPE2): Likewise.
28746 (__ASSUME_SIGNALFD4): Likewise.
28747 (__ASSUME_SOCK_CLOEXEC): Likewise.
28748 (__ASSUME_UTIMES): Undefine.
28749 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28750 (__ASSUME_UTIMES): Do not define.
28751 (__ASSUME_O_CLOEXEC): Likewise.
28752 (__ASSUME_SOCK_CLOEXEC): Likewise.
28753 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28754 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28755 0x020621].
28756 (__ASSUME_PIPE2): Likewise.
28757 (__ASSUME_EVENTFD2): Likewise.
28758 (__ASSUME_SIGNALFD4): Likewise.
28759 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28760 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28761 Do not define.
28762 (__ASSUME_EVENTFD2): Likewise.
28763 (__ASSUME_SIGNALFD4): Likewise.
28764 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28765 (__ASSUME_32BITUIDS): Likewise.
28766 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28767 (__ASSUME_IPC64): Likewise.
28768 (__ASSUME_ST_INO_64_BIT): Likewise.
28769 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28770 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28771 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28772 (__ASSUME_UTIMES): Do not define.
28773 (__ASSUME_PSELECT): Likewise.
28774 (__ASSUME_PPOLL): Likewise.
28775 (__ASSUME_O_CLOEXEC): Likewise.
28776 (__ASSUME_SOCK_CLOEXEC): Likewise.
28777 (__ASSUME_IN_NONBLOCK): Likewise.
28778 (__ASSUME_PIPE2): Likewise.
28779 (__ASSUME_EVENTFD2): Likewise.
28780 (__ASSUME_SIGNALFD4): Likewise.
28781 (__ASSUME_DUP3): Likewise.
28782 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28783 (__ASSUME_UTIMES): Likewise.
28784 (__ASSUME_O_CLOEXEC): Likewise.
28785 (__ASSUME_SOCK_CLOEXEC): Likewise.
28786 (__ASSUME_IN_NONBLOCK): Likewise.
28787 (__ASSUME_PIPE2): Likewise.
28788 (__ASSUME_EVENTFD2): Likewise.
28789 (__ASSUME_SIGNALFD4): Likewise.
28790 (__ASSUME_DUP3): Likewise.
28791 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28792 (__ASSUME_UTIMES): Likewise.
28793 (__ASSUME_O_CLOEXEC): Likewise.
28794 (__ASSUME_SOCK_CLOEXEC): Likewise.
28795 (__ASSUME_IN_NONBLOCK): Likewise.
28796 (__ASSUME_PIPE2): Likewise.
28797 (__ASSUME_EVENTFD2): Likewise.
28798 (__ASSUME_SIGNALFD4): Likewise.
28799 (__ASSUME_DUP3): Likewise.
28800 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28801 Likewise.
28802 (__ASSUME_UTIMES): Likewise.
28803 (__ASSUME_EVENTFD2): Likewise.
28804 (__ASSUME_SIGNALFD4): Likewise.
28805 * sysdeps/unix/sysv/linux/tile/kernel-features.h
28806 (__ASSUME_O_CLOEXEC): Likewise.
28807 (__ASSUME_SOCK_CLOEXEC): Likewise.
28808 (__ASSUME_IN_NONBLOCK): Likewise.
28809 (__ASSUME_PIPE2): Likewise.
28810 (__ASSUME_EVENTFD2): Likewise.
28811 (__ASSUME_SIGNALFD4): Likewise.
28812 (__ASSUME_DUP3): Likewise.
28813 (__ASSUME_UTIMES): Undefine.
28814
28815 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28816 feclearexcept. Remove symbol versioning code.
28817 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
28818 symbol versioning code.
28819 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
28820 symbol versioning code.
28821 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28822 feupdateenv. Remove symbol versioning code.
28823 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28824 fegetexceptflag. Remove symbol versioning code.
28825 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28826 fesetexceptflag. Remove symbol versioning code.
28827 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28828 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
28829 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28830 (__posix_fadvise64_l32): Remove prototype.
28831 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28832 code.
28833
28834 2014-05-13 Roland McGrath <roland@hack.frob.com>
28835
28836 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28837 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28838 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28839 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28840
28841 2014-05-13 Sami Kerola <kerolasa@iki.fi>
28842
28843 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28844 current working directory
28845
28846 2014-05-13 Roland McGrath <roland@hack.frob.com>
28847
28848 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28849 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28850 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28851 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28852 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28853 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28854 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28855 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28856 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28857 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28858 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28859 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28860 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28861 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28862 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28863 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28864 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28865 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28866 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28867 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28868 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28869 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28870 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28871 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28872 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28873 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28874 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28875 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28876 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28877 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28878 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28879 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28880 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28881 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28882 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28883 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28884 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28885 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28886 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28887 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28888 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28889 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28890
28891 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28892 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28893
28894 * sysdeps/unix/sysv/linux/arm/Makefile
28895 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28896 Add rt-aeabi_unwind_cpp_pr1.
28897 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28898 Add nptl-aeabi_unwind_cpp_pr1.
28899 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28900 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28901 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28902 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28903 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28904 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28905
28906 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28907 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28908 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28909 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28910
28911 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28912 Deconditionalize the code that was previously under [RESET_PID].
28913 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28914
28915 * sysdeps/generic/exit-thread.h: New file.
28916 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28917 * include/unistd.h (__exit_thread): Remove declaration.
28918 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28919 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28920 * csu/libc-start.c: Include <exit-thread.h>.
28921 (LIBC_START_MAIN): Pass no argument to __exit_thread.
28922 * nptl/pthread_create.c: Include <exit-thread.h>.
28923 (start_thread): Call __exit_thread in place of __exit_thread_inline.
28924 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28925 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28926 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28927 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28928 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28929 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28930 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28931 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28932 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28933 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28934 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28935 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28936 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28937 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28938 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28939 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28940
28941 2014-05-13 Andreas Schwab <schwab@suse.de>
28942
28943 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28944
28945 2014-05-12 Joseph Myers <joseph@codesourcery.com>
28946
28947 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28948 (__ASSUME_UTIMES): Do not condition on kernel version.
28949 (__ASSUME_PSELECT): Define unconditionally.
28950 (__ASSUME_PPOLL): Likewise.
28951 (__ASSUME_ATFCTS): Likewise.
28952 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28953 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28954 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28955 (__ASSUME_UTIMENSAT): Define unconditionally.
28956 (__ASSUME_PRIVATE_FUTEX): Likewise.
28957 (__ASSUME_FALLOCATE): Likewise.
28958 (__ASSUME_O_CLOEXEC): Likewise.
28959 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28960 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28961 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28962 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28963 (__ASSUME_IN_NONBLOCK): Likewise.
28964 (__ASSUME_PIPE2): Likewise.
28965 (__ASSUME_EVENTFD2): Likewise.
28966 (__ASSUME_SIGNALFD4): Likewise.
28967 (__ASSUME_DUP3): Likewise.
28968 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28969 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28970 (__ASSUME_AT_RANDOM): Likewise.
28971 (__ASSUME_PREADV): Likewise.
28972 (__ASSUME_PWRITEV): Likewise.
28973 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28974 (__ASSUME_F_GETOWN_EX): Define unconditionally.
28975 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28976 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28977 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28978 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28979 (__ASSUME_O_CLOEXEC): Define unconditionally.
28980 (__ASSUME_PSELECT): Do not undefine conditionally.
28981 (__ASSUME_PPOLL): Likewise.
28982 (__ASSUME_ATFCTS): Likewise.
28983 (__ASSUME_SET_ROBUST_LIST): Likewise.
28984 (__ASSUME_UTIMENSAT): Likewise.
28985 (__ASSUME_FDATASYNC): Define unconditionally.
28986 * sysdeps/unix/sysv/linux/arm/kernel-features.h
28987 (__ASSUME_SIGFRAME_V2): Likewise.
28988 )__ASSUME_EVENTFD2): Likewise.
28989 (__ASSUME_SIGNALFD4): Likewise.
28990 (__ASSUME_PSELECT): Do not undefine conditionally.
28991 (__ASSUME_PPOLL): Likewise.
28992 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28993 (__ASSUME_PSELECT): Define unconditionally.
28994 (__ASSUME_PPOLL): Likewise.
28995 (__ASSUME_O_CLOEXEC): Likewise.
28996 (__ASSUME_SOCK_CLOEXEC): Likewise.
28997 (__ASSUME_IN_NONBLOCK): Likewise.
28998 (__ASSUME_PIPE2): Likewise.
28999 (__ASSUME_EVENTFD2): Likewise.
29000 (__ASSUME_SIGNALFD4): Likewise.
29001 (__ASSUME_DUP3): Likewise.
29002 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29003 (__ASSUME_O_CLOEXEC): Likewise.
29004 (__ASSUME_SOCK_CLOEXEC): Likewise.
29005 (__ASSUME_IN_NONBLOCK): Likewise.
29006 (__ASSUME_PIPE2): Likewise.
29007 (__ASSUME_EVENTFD2): Likewise.
29008 (__ASSUME_SIGNALFD4): Likewise.
29009 (__ASSUME_DUP3): Likewise.
29010 * sysdeps/unix/sysv/linux/mips/kernel-features.h
29011 (__ASSUME_EVENTFD2): Likewise.
29012 (__ASSUME_SIGNALFD4): Likewise.
29013 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29014
29015 2014-05-12 Andreas Schwab <schwab@suse.de>
29016
29017 [BZ #16932]
29018 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29019 (_nss_nis_gethostbyname4_r): Return error if item length is larger
29020 than maximum RPC packet size.
29021 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29022 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29023 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29024 (_nss_nis_getservbyport_r): Likewise.
29025
29026 2014-05-12 Will Newton <will.newton@linaro.org>
29027
29028 * malloc/Makefile (tests): Add tst-mallopt.
29029 * malloc/tst-mallopt.c: New file.
29030
29031 2014-05-09 Roland McGrath <roland@hack.frob.com>
29032
29033 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29034 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29035
29036 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29037
29038 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29039 (tst-tlsmod6.so): Likewise.
29040
29041 2014-05-09 Roland McGrath <roland@hack.frob.com>
29042
29043 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29044
29045 2014-05-09 Joseph Myers <joseph@codesourcery.com>
29046
29047 [BZ #16064]
29048 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29049 and <dl-procinfo.h>.
29050 (__fegetenv): Save SSE state in envp->__eip if supported.
29051 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29052 envp->__eip if supported.
29053 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29054 and <dl-procinfo.h>.
29055 (__fesetenv): Always set __eip, __cs_selector, __opcode,
29056 __data_offset and __data_selector in environment to 0. Set SSE
29057 state if supported.
29058 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29059 test-fenv-sse.
29060 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29061 -mfpmath=sse.
29062 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29063
29064 2014-05-09 Will Newton <will.newton@linaro.org>
29065
29066 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29067 and libc_relro_required for ARM.
29068 * sysdeps/arm/preconfigure: Regenerate.
29069
29070 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
29071 Stefan Liebler <stli@linux.vnet.ibm.com>
29072
29073 * config.make.in (enable-lock-elision): New Makefile variable.
29074 * configure.ac: Likewise.
29075 * configure: Regenerate.
29076 * sysdeps/s390/configure.ac:
29077 Add check for gcc transactions support.
29078 * sysdeps/s390/configure: Regenerate.
29079 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29080 Build elision files if enabled.
29081 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29082 Add lock elision support for s390.
29083 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29084 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29085 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29086 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29087 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29088 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29089 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29090 Likewise.
29091 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29092 Likewise.
29093 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29094 Likewise.
29095 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29096 Likewise.
29097 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29098 (__lll_timedlock_elision, __lll_lock_elision)
29099 (__lll_unlock_elision, __lll_trylock_elision)
29100 (lll_timedlock_elision, lll_lock_elision)
29101 (lll_unlock_elision, lll_trylock_elision): Add.
29102 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29103 (pthread_mutex_t): Add lock elision support for s390.
29104
29105 2014-05-14 Wilco <wdijkstr@arm.com>
29106
29107 * sysdeps/arm/fclrexcpt.c: Cleanup.
29108 * sysdeps/arm/fedisblxcpt.c: Cleanup.
29109 * sysdeps/arm/feenablxcpt.c: Cleanup.
29110 * sysdeps/arm/fegetenv.c: Cleanup.
29111 * sysdeps/arm/fegetexcept.c: Cleanup.
29112 * sysdeps/arm/fegetround.c: Cleanup.
29113 * sysdeps/arm/feholdexcpt.c: Cleanup.
29114 * sysdeps/arm/fesetenv.c: Cleanup.
29115 * sysdeps/arm/fesetround.c: Cleanup.
29116 * sysdeps/arm/feupdateenv.c: Cleanup.
29117 * sysdeps/arm/fgetexcptflg.c: Cleanup.
29118 * sysdeps/arm/fraiseexcpt.c: Cleanup.
29119 * sysdeps/arm/fsetexcptflg.c: Cleanup.
29120 * sysdeps/arm/ftestexcept.c: Cleanup.
29121 * sysdeps/arm/get-rounding-mode.h: Cleanup.
29122 * sysdeps/arm/setfpucw.c: Cleanup.
29123
29124 2014-05-09 Will Newton <will.newton@linaro.org>
29125
29126 * sysdeps/arm/armv7/strcmp.S: New file.
29127 * NEWS: Mention addition of ARMv7 optimized strcmp.
29128
29129 2014-05-08 Roland McGrath <roland@hack.frob.com>
29130
29131 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29132 look for %.ac rather than %.in.
29133
29134 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29135 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29136 * sysdeps/mach/hurd/configure: Regenerated.
29137 * sysdeps/unix/sysv/linux/configure: Regenerated.
29138
29139 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29140
29141 2014-05-07 Steve Ellcey <sellcey@mips.com>
29142
29143 [BZ# 16922]
29144 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29145 (LONG_SUB): Ditto.
29146 (PTR_SUB): Ditto.
29147
29148 2014-05-07 Andreas Schwab <schwab@suse.de>
29149
29150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29151 when skipping over non-matching result from nscd.
29152
29153 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
29154
29155 [BZ #16876]
29156 * nptl/sockperf.c (client): Check socket return value.
29157
29158 [BZ #16877]
29159 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29160 nscd security class.
29161
29162 2014-05-06 Roland McGrath <roland@hack.frob.com>
29163
29164 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29165 * sysdeps/arm/unwind.h: ... here.
29166
29167 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
29168
29169 [BZ# 16916]
29170 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29171 Define.
29172
29173 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29174
29175 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29176 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29177 multiarch strncpy for PPC64.
29178 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29179 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29181 multiarch optimizations.
29182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29183 (__libc_ifunc_impl_list): Likewise.
29184 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29185 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29186 multiarch stpncpy for PPC64.
29187 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29188 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29189
29190 2014-05-06 Andreas Schwab <schwab@suse.de>
29191
29192 [BZ #16912]
29193 * gmon/mcount.c (_MCOUNT_DECL): Use
29194 atomic_compare_and_exchange_bool_acq instead of
29195 catomic_compare_and_exchange_bool_acq.
29196
29197 2014-05-05 Roland McGrath <roland@hack.frob.com>
29198
29199 * elf/Makefile (others, install-bin): Remove pldd.
29200 (pldd-modules): Variable removed.
29201 ($(objpfx)pldd): Target removed.
29202 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29203 (others, install-bin): Append pldd here.
29204 ($(objpfx)pldd): New target.
29205
29206 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29207 to 0, so the first #if test emitted later doesn't see it undefined.
29208 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29209 * sysdeps/gnu/errlist.c: Regenerated.
29210
29211 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29212
29213 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29214 [libc_hidden_builtin_def]: Define to empty value.
29215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29216 [libc_hidden_builtin_def]: Likewise.
29217 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29218 [libc_hidden_builtin_def]: Likewise.
29219 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29220 [libc_hidden_builtin_def]: Likewise.
29221 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29222 __redirect_memcpy and define ifunc as default hidden symbol.
29223 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29224 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29225
29226 2014-05-04 Adam Conrad <adconrad@0c3.net>
29227
29228 * locale/iso-4217.def: Reintroduce XDR currency.
29229
29230 2014-05-04 Allan McRae <allan@archlinux.org>
29231
29232 * po/eo.po: Update Esperanto translation from translation project.
29233
29234 2014-05-02 Carlos O'Donell <carlos@redhat.com>
29235
29236 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29237 and FEATURE_INDEX_MAX to 1.
29238 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29239
29240 2014-05-01 Steve Ellcey <sellcey@mips.com>
29241
29242 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29243 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29244 * iconvdata/big5.c (ONE_DIRECTION): Define.
29245 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29246 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29247 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29248 * iconvdata/cp932.c (ONE_DIRECTION): Define.
29249 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29250 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29251 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29252 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29253 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29254 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29255 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29256 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29257 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29258 * iconvdata/gbk.c (ONE_DIRECTION): Define.
29259 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29260 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29261 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29262 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29263 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29264 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29265 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29266 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29267 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29268 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29269 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29270 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29271 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29272 * iconvdata/iso646.c (ONE_DIRECTION): Define.
29273 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29274 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29275 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29276 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29277 * iconvdata/johab.c (ONE_DIRECTION): Define.
29278 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29279 * iconvdata/sjis.c (ONE_DIRECTION): Define.
29280 * iconvdata/t.61.c (ONE_DIRECTION): Define.
29281 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29282 * iconvdata/tscii.c (ONE_DIRECTION): Define.
29283 * iconvdata/uhc.c (ONE_DIRECTION): Define.
29284 * iconvdata/unicode.c (ONE_DIRECTION): Define.
29285 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29286 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29287 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29288
29289 2014-05-01 Roland McGrath <roland@hack.frob.com>
29290
29291 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29292 (_IO_JUMPS_OFFSET): Define to 0.
29293
29294 * nptl/sysdeps/pthread/bits/libc-lock.h
29295 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29296 (__libc_lock_define_initialized_recursive): Always define using
29297 initializer. Modern compilers treat uninitialized (implicit zero) and
29298 explicit zero initializers the same (i.e. put the datum in bss).
29299
29300 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
29301
29302 * nscd/nscd-client.h: Include <string.h>.
29303
29304 2014-05-01 David S. Miller <davem@davemloft.net>
29305
29306 [BZ #16885]
29307 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29308 multiple zero bytes exist at the end of a string.
29309 Reported by Aurelien Jarno <aurelien@aurel32.net>
29310
29311 * string/test-strcmp.c (check): Add explicit test for situations where
29312 there are multiple zero bytes after the first.
29313
29314 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
29315
29316 [BZ #16890]
29317 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29318 when compiling wprintf.
29319 * stdio-common/tstdiomisc.c (t3): New function.
29320 (main): Call it.
29321
29322 2014-05-01 Steve Ellcey <sellcey@mips.com>
29323
29324 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29325 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29326 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29327 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29328
29329 2014-05-01 Steve Ellcey <sellcey@mips.com>
29330
29331 * stdlib/longlong.h: Updated from GCC.
29332
29333 2014-05-01 Will Newton <will.newton@linaro.org>
29334 Bernard Ogden <bernie.ogden@linaro.org>
29335
29336 * NEWS: Update fixed bug list.
29337
29338 [BZ #15119]
29339 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29340
29341 2014-04-30 David S. Miller <davem@davemloft.net>
29342
29343 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29344 (libc_feholdexcept_setround_sparc_ctx): New function.
29345 (libc_fesetenv_sparc_ctx): Likewise.
29346 (libc_feupdateenv_sparc_ctx): Likewise.
29347 (libc_feholdsetround_sparc_ctx): Likewise.
29348 (libc_feholdexcept_setround_ctx): Define.
29349 (libc_feholdexcept_setroundf_ctx): Likewise.
29350 (libc_feholdexcept_setroundl_ctx): Likewise.
29351 (libc_fesetenv_ctx): Likewise.
29352 (libc_fesetenvf_ctx): Likewise.
29353 (libc_fesetenvl_ctx): Likewise.
29354 (libc_feupdateenv_ctx): Likewise.
29355 (libc_feupdateenvf_ctx): Likewise.
29356 (libc_feupdateenvl_ctx): Likewise.
29357 (libc_feresetround_ctx): Likewise.
29358 (libc_feresetroundf_ctx): Likewise.
29359 (libc_feresetroundl_ctx): Likewise.
29360 (libc_feholdsetround_ctx): Likewise.
29361 (libc_feholdsetroundf_ctx): Likewise.
29362 (libc_feholdsetroundl_ctx): Likewise.
29363
29364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29365 with __USE_GNU instead of XOPEN cpp guards.
29366
29367 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29368 0.
29369
29370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29371 with XOPEN cpp guards.
29372
29373 2014-04-30 Julian Brown <julian@codesourcery.com>
29374
29375 [BZ #16888]
29376 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29377 handling.
29378
29379 2014-04-30 Joseph Myers <joseph@codesourcery.com>
29380
29381 [BZ #9894]
29382 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29383 Change to 2.6.32.
29384 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29385 * sysdeps/unix/sysv/linux/configure: Regenerated.
29386 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29387 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29388 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29389 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29390 * README: Update reference to required Linux kernel version.
29391 * manual/install.texi (Linux): Update reference to required Linux
29392 kernel headers version.
29393 * INSTALL: Regenerated.
29394
29395 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29396 header inclusion.
29397 [POSIX] (limits.h): Likewise.
29398 [POSIX] (math.h): Likewise.
29399 [POSIX] (sys/wait.h): Likewise.
29400 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29401 function.
29402 [POSIX] (stddef.h): Do not allow header inclusion.
29403
29404 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29405
29406 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29407
29408 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
29409
29410 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29411 Return immediately after lll_futex_wake.
29412
29413 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29414
29415 [BZ #16791]
29416 * nscd/nscd-client.h (datahead_init_common): Initialize entire
29417 structure.
29418 (datahead_init_pos): Call datahead_init_common early.
29419 (datahead_init_neg): Likewise.
29420
29421 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29422 datahead_init_neg): New functions.
29423 * nscd/aicache.c (addhstaiX): Use them.
29424 * nscd/grpcache.c (cache_addgr): Likewise.
29425 * nscd/hstcache.c (cache_addhst): Likewise.
29426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29427 * nscd/netgroupcache.c (do_notfound): Likewise.
29428 (addgetnetgrentX): Likewise.
29429 (addinnetgrX): Likewise.
29430 * nscd/pwdcache.c (cache_addpw): Likewise.
29431 * nscd/servicescache.c (cache_addserv): Likewise.
29432
29433 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29434 Atsushi Onoe <atsushi@onoe.org>
29435
29436 [BZ #14308]
29437 [BZ #12994]
29438 [BZ #13651]
29439 * resolv/res_query.c (__libc_res_nsearch): Return if at least
29440 one response is valid.
29441 * resolv/res_send.c (send_dg): Check for validity of other
29442 response if the current response is a referral.
29443
29444 2014-04-29 Steve Ellcey <sellcey@mips.com>
29445
29446 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29447
29448 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
29449
29450 [BZ #16823]
29451 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29452 Always divide by positive zero when computing -Inf result.
29453 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29454 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29455
29456 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29457
29458 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29459 FPSCR if value do not change.
29460 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29461 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29462 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29463 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29464 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29465 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29466 function.
29467
29468 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
29469
29470 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29471 * sysdeps/unix/sysv/linux/hppa: Move directory from
29472 ports/systeps/unix/sysv/linux/hppa.
29473 * README: Update listing for hppa-*-linux-gnu.
29474
29475 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
29476
29477 [BZ #16754]
29478 * manual/stdio.texi (Hook functions): Fix types of stream hook
29479 functions.
29480 [BZ #16854]
29481 * socket/sys/socket.h: Fix typo in comment.
29482
29483 2014-04-28 Wilco <wdijkstr@arm.com>
29484
29485 * sysdeps/arm/fenv_private.h: New file.
29486 * sysdeps/arm/math_private.h: New file.
29487 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29488
29489 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
29490
29491 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29492 with __int128_t.
29493 (La_x86_64_retval): Likewise.
29494
29495 2014-04-24 Ian Bolton <ian.bolton@arm.com>
29496
29497 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29498 fpsr if value didn't change.
29499 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29500 to fpcr if value didn't change.
29501 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29502 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29503 fpsr or fpcr if value didn't change.
29504 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29505 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29506 fpcr if value didn't change.
29507 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29508 to fpsr if value didn't change.
29509
29510 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29511
29512 * nptl/tst-sem3.c: Use test-skeleton.c
29513 (main): Rename to do_test. Use return instead of
29514 exit.
29515 * nptl/tst-sem4.c: Use test-skeleton.c
29516 (main): Rename to do_test.
29517
29518 2014-04-22 David S. Miller <davem@davemloft.net>
29519
29520 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29521 (struct sigaction): New struct member __glibc_reserved0, change
29522 type of sa_flags to int.
29523
29524 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
29525
29526 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29527 (COUNT_LEADING_ZEROS_0): Define for AArch64.
29528
29529 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29530
29531 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29532 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29533
29534 2014-04-22 Will Newton <will.newton@linaro.org>
29535 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
29536
29537 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29538 (__longjmp): Add longjmp and longjmp_target SystemTap
29539 probes.
29540 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29541 (__sigsetjmp): Add setjmp SystemTap probe.
29542
29543 2014-04-17 Carlos O'Donell <carlos@redhat.com>
29544
29545 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29546 match manual order.
29547
29548 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29549
29550 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29551
29552 * sysdeps/powerpc/fpu/fenv_private.h
29553 (libc_feholdexcept_setroundl_ctx): Define to
29554 libc_feholdexcept_setround_ppc_ctx.
29555 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29556 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29557 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29558 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29559
29560 2014-04-17 Ian Bolton <ian.bolton@arm.com>
29561
29562 * sysdeps/aarch64/math-tests.h: New file.
29563
29564 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
29565
29566 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29567 New.
29568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29569 Check and set bit_AVX2_Usable.
29570 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29571 macro.
29572 (bit_AVX2): Likewise.
29573 (index_AVX2_Usable): Likewise.
29574 (CPUID_AVX2): Likewise.
29575 (HAS_AVX2): Likewise.
29576
29577 2014-04-17 Will Newton <will.newton@linaro.org>
29578
29579 * manual/setjmp.texi (System V contexts): Add note that
29580 calling setcontext on a context created by a call to a
29581 signal handler is undefined. Update text to note that
29582 setcontext from a signal handler is possible but not
29583 recommended.
29584
29585 [BZ #16629]
29586 * stdlib/tst-setcontext.c: Include signal.h.
29587 (main): Check that the signal stack before and
29588 after swapcontext is the same.
29589
29590 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29591 Re-implement to restore registers in user code and avoid
29592 rt_sigreturn system call.
29593
29594 2014-04-17 Wilco <wdijkstr@arm.com>
29595
29596 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29597 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29598 * math/test-fenv.c: Skip exception trap tests on targets which only
29599 support non-stop mode.
29600
29601 2014-04-17 Ian Bolton <ian.bolton@arm.com>
29602 Wilco Dijkstra <wilco.dijkstra@arm.com>
29603
29604 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29605 (libc_feholdsetround_aarch64_ctx)
29606 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29607 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29608 (libc_feresetround_ctx, libc_feresetroundf_ctx)
29609 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29610 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29611 (libc_feresetround_noexl_ctx): Define.
29612
29613 2014-04-16 Richard Henderson <rth@redhat.com>
29614
29615 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29616
29617 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29618 unwind tables.
29619
29620 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29621 const from the non-libc, non-ldso copy.
29622
29623 * sysdeps/alpha/libm-test-ulps: Regenerate.
29624
29625 2014-04-16 Ian Bolton <ian.bolton@arm.com>
29626 Wilco Dijkstra <wilco.dijkstra@arm.com>
29627
29628 * sysdeps/aarch64/fpu/math_private.h: New file.
29629
29630 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
29631
29632 * sysdeps/aarch64/libm-test-ulps: Regenerate.
29633
29634 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
29635
29636 [BZ #16275]
29637 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29638 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29640 Intel MPX bound registers before _dl_profile_fixup.
29641 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29642 registers after _dl_profile_fixup. Save and restore bound
29643 registers bnd0/bnd1 when calling _dl_call_pltexit.
29644 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29645 (LR_BND_OFFSET): Likewise.
29646 (LRV_BND0_OFFSET): Likewise.
29647 (LRV_BND1_OFFSET): Likewise.
29648
29649 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29650
29651 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29652 to...
29653 * sysdeps/mach/hurd/i386/tls.h: ... here.
29654 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29655 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29656 fields.
29657
29658 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29659
29660 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29661
29662 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29663
29664 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29665
29666 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29667
29668 [BZ #14770]
29669 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29670 * sysdeps/s390/configure: Regenerate.
29671
29672 [BZ #16824]
29673 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29674 Set round-to-nearest internally to reduce error accumulation.
29675
29676 2014-04-16 Alan Modra <amodra@gmail.com>
29677
29678 [BZ #16740]
29679 [BZ #16619]
29680 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29681 * math/libm-test.inc (frexp_test_data): Add tests.
29682 * NEWS: Update fixed bug list.
29683
29684 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29685
29686 * benchtests/Makefile: Depend on libraries in build directory.
29687 (bench-math): Separate out math tests.
29688 (bench-pthread): Separate out pthread tests.
29689 (bench): Include math and pthread tests.
29690
29691 2014-04-14 Carlos O'Donell <carlos@redhat.com>
29692
29693 [BZ #16831]
29694 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29695 _dl_debug_initialize.
29696
29697 * configure.ac: Remove SELinux header check.
29698 * configure: Regenerate.
29699 * nscd/selinux.c (perms): Array of const char* to permission names.
29700 (nscd_request_avc_has_perm): Call security_deny_unknown to find
29701 default policy. Call string_to_security_class and string_to_av_perm to
29702 translate strings. Enforce default policy and call avs_has_perm with
29703 results of translated strings.
29704
29705 2014-04-13 David S. Miller <davem@davemloft.net>
29706
29707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29708
29709 2014-04-12 Allan McRae <allan@archlinux.org>
29710
29711 [BZ #16838]
29712 * manual/string.texi (Collation Functions): Fix qsort argument
29713 order in example.
29714 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29715
29716 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
29717
29718 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29719 Make the test a no-op if there are no exceptions defined.
29720
29721 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
29722
29723 * elf/Makefile (tests): make tst-dlopen-aout conditional on
29724 enable-hardcoded-path-in-tests
29725
29726 2014-04-11 Will Newton <will.newton@linaro.org>
29727
29728 * benchtests/Makefile (extra-objs): Add json-lib.o.
29729 (bench-func): Tidy up JSON output.
29730 * benchtests/bench-skeleton.c: Include json-lib.h.
29731 (main): Use JSON library functions to do output of
29732 benchmark results.
29733 * benchtests/bench-timing-type.c (main): Output the
29734 timing type simply, leaving formatting to the user.
29735 * benchtests/json-lib.c: New file.
29736 * benchtests/json-lib.h: Likewise.
29737
29738 2014-04-11 Torvald Riegel <triegel@redhat.com>
29739
29740 [BZ #15215]
29741 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29742 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
29743 memory barriers. Add comments.
29744 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29745 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29746 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29747 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29748 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29749 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29750
29751 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
29752
29753 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29754 * sysdeps/s390/s390-64/configure.ac: ... this ...
29755 * sysdeps/s390/configure.ac: ... to here.
29756 * sysdeps/s390/s390-32/configure: Delete file.
29757 * sysdeps/s390/s390-64/configure: Delete file.
29758 * sysdeps/s390/configure: Regenerate.
29759
29760 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
29761
29762 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29763
29764 2014-04-11 Will Newton <will.newton@linaro.org>
29765
29766 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29767 to zero if it is not defined elsewhere. (mtrim): Test
29768 the value of MALLOC_DEBUG with #if rather than #ifdef.
29769
29770 2014-04-10 Torvald Riegel <triegel@redhat.com>
29771
29772 * benchtests/pthread_once-inputs: New file.
29773 * benchtests/pthread_once-source.c: New file.
29774 * benchtests/README: Update documentation.
29775
29776 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
29777 H.J. Lu <hongjiu.lu@intel.com>
29778
29779 [BZ #16275]
29780 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29781 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29782 * sysdeps/x86_64/configure: Regenerated.
29783 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29784 macro.
29785 (REGISTER_SAVE_RAX): Likewise.
29786 (REGISTER_SAVE_RCX): Likewise.
29787 (REGISTER_SAVE_RDX): Likewise.
29788 (REGISTER_SAVE_RSI): Likewise.
29789 (REGISTER_SAVE_RDI): Likewise.
29790 (REGISTER_SAVE_R8): Likewise.
29791 (REGISTER_SAVE_R9): Likewise.
29792 (REGISTER_SAVE_BND0): Likewise.
29793 (REGISTER_SAVE_BND1): Likewise.
29794 (REGISTER_SAVE_BND2): Likewise.
29795 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
29796 bound registers when calling _dl_fixup.
29797
29798 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29799
29800 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29801 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29802 of its definition.
29803 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29804 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29805 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29806 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29807 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29808 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29809 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29810
29811 2014-04-09 Peter Brett <peter@peter-b.co.uk>
29812
29813 [BZ #15514]
29814 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29815 pathconf(_PC_NAME_MAX).
29816
29817 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29818
29819 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29820 Remove macro usage.
29821 (__PTHREAD_SPINS): Move definition to ...
29822 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29823 (__PTHREAD_SPINS): ... here.
29824 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29825 (__PTHREAD_SPIN): Likewise.
29826 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29827 (__PTHREAD_SPIN): Likewise.
29828 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29829 (__PTHREAD_SPIN): Likewise.
29830 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29831 (__PTHREAD_SPIN): Likewise.
29832 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29833 (__PTHREAD_SPIN): Likewise.
29834 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29835 (__PTHREAD_SPIN): Likewise.
29836 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29837 (__PTHREAD_SPIN): Likewise.
29838 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29839 (__PTHREAD_SPIN): Likewise.
29840 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29841 (__PTHREAD_SPIN): Likewise.
29842 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29843 (__PTHREAD_SPIN): Likewise.
29844 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29845 (__PTHREAD_SPIN): Likewise.
29846 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29847 (__PTHREAD_SPIN): Likewise.
29848
29849 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29850 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29851 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29852 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29853 imply folder.
29854 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29855 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29856 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29857 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29858 correct imply path.
29859 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29860 strlen symbol for non multi-arch builds.
29861 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29862 missing hidden_def and weak_alias.
29863
29864 2014-04-08 Carlos O'Donell <carlos@redhat.com>
29865
29866 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29867
29868 2014-04-07 Will Newton <will.newton@linaro.org>
29869
29870 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29871 and contents. [!_LIBC] Remove #ifndef and contents.
29872 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
29873 * string/memccpy.c (__memccpy): Use ANSI prototype.
29874 * string/memfrob.c (memfrob): Likewise.
29875 * string/strcoll.c (STRCOLL): Likewise.
29876 * string/strlen.c (strlen): Likewise.
29877 * string/strtok.c (STRTOK): Likewise.
29878 * string/strcat.c: Remove unused #include of memcopy.h.
29879 (strcat): Use ANSI prototype.
29880 * string/strchr.c: Remove unused #include of memcopy.h.
29881 (strchr): Use ANSI prototype.
29882 * string/strcmp.c: Remove unused #include of memcopy.h.
29883 (strcmp): Use ANSI prototype.
29884 * string/strcpy.c: Remove unused #include of memcopy.h.
29885 (strcpy): Use ANSI prototype.
29886
29887 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29888
29889 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29890 * config.make.in (config-extra-cppflags): Set it from
29891 libc_extra_cppflags.
29892 * configure.ac (libc_extra_cflags): Make it accumulate over
29893 configure fragments.
29894 (libc_extra_cppflags): New flag.
29895 * configure. Regenerate.
29896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29897 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29898 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29900
29901 [BZ #16815]
29902 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29903 result for FE_DOWNWARD rounding mode.
29904 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29905 Likewise.
29906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29907
29908 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
29909
29910 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29911 in function argument name.
29912
29913 2014-04-03 David Svoboda <svoboda@cert.org>
29914
29915 [BZ #5666]
29916 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29917 explicitly.
29918
29919 2014-04-03 Roland McGrath <roland@hack.frob.com>
29920
29921 * elf/dl-unmap-segments.h: New file.
29922 * sysdeps/generic/ldsodefs.h
29923 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29924 * elf/dl-close.c: Include <dl-unmap-segments.h>.
29925 * elf/dl-fptr.c: Likewise.
29926 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29927 * sysdeps/aarch64/tlsdesc.c: Likewise.
29928 * sysdeps/arm/tlsdesc.c: Likewise.
29929 * sysdeps/i386/tlsdesc.c: Likewise.
29930 * sysdeps/tile/dl-runtime.c: Likewise.
29931 * sysdeps/x86_64/tlsdesc.c: Likewise.
29932 * elf/dl-load.h: New file.
29933 * elf/dl-load.c: Include it.
29934 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29935 Macros moved to dl-load.h.
29936 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29937 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29938 Use _dl_unmap_segments in place of __munmap.
29939 Break out segment-mapping loop into ...
29940 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29941
29942 2014-04-03 Will Newton <will.newton@linaro.org>
29943
29944 * elf/dl-lookup.c (do_lookup_x): Remove comment
29945 referring to nested function and move variable
29946 declarations down to before first use.
29947
29948 2014-04-02 Joseph Myers <joseph@codesourcery.com>
29949
29950 [BZ #16799]
29951 [BZ #16800]
29952 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29953 with 0 numerator.
29954 * math/s_catanf.c (__catanf): Likewise.
29955 * math/s_catanh.c (__catanh): Likewise.
29956 * math/s_catanhf.c (__catanhf): Likewise.
29957 * math/s_catanhl.c (__catanhl): Likewise.
29958 * math/s_catanl.c (__catanl): Likewise.
29959 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29960 by positive zero when computing -Inf result.
29961 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29962 (catanh_test): Likewise.
29963 * sysdeps/i386/fpu/libm-test-ulps: Update.
29964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29965
29966 [BZ #16789]
29967 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29968 instead of using underflowing value in computing result.
29969 * math/s_clog10.c (__clog10): Likewise.
29970 * math/s_clog10f.c (__clog10f): Likewise.
29971 * math/s_clog10l.c (__clog10l): Likewise.
29972 * math/s_clogf.c (__clogf): Likewise.
29973 * math/s_clogl.c (__clogl): Likewise.
29974 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29975 (clog10_test): Likewise.
29976 * sysdeps/i386/fpu/libm-test-ulps: Update.
29977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29978
29979 2014-04-02 Alan Modra <amodra@gmail.com>
29980
29981 [BZ #16739]
29982 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29983 output when value is near a power of two. Use int64_t for lx and
29984 remove casts. Use decimal rather than hex exponent constants.
29985 Don't use long double multiplication when double will suffice.
29986 * math/libm-test.inc (nextafter_test_data): Add tests.
29987 * NEWS: Add 16739 and 16786 to bug list.
29988
29989 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29990
29991 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29992
29993 2014-04-01 Will Newton <will.newton@linaro.org>
29994
29995 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29996 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
29997
29998 2014-04-01 Florian Weimer <fweimer@redhat.com>
29999
30000 [BZ #13347]
30001 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30002 * nptl/tst-setuid2.c: New file.
30003 * nptl/Makefile (xtests): Add tst-setuid2.
30004
30005 2014-04-01 Alan Modra <amodra@gmail.com>
30006
30007 [BZ #16786]
30008 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30009
30010 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30011
30012 [BZ #6803]
30013 [BZ #6804]
30014 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30015 set errno as appropriate.
30016 * math/w_scalbf.c (__scalbf): Likewise.
30017 * math/w_scalbl.c (__scalbl): Likewise.
30018 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30019 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30020 * math/libm-test.inc (scalb_test_data): Add errno expectations.
30021 Add more NaN tests.
30022
30023 [BZ #16349]
30024 * math/w_atan2.c: Include <errno.h>.
30025 (__atan2): Set errno for result underflowing to zero.
30026 * math/w_atan2f.c: Include <errno.h>.
30027 (__atan2f): Set errno for result underflowing to zero.
30028 * math/w_atan2l.c: Include <errno.h>.
30029 (__atan2l): Set errno for result underflowing to zero.
30030 * math/auto-libm-test-in: Don't allow missing errno for some atan2
30031 tests.
30032 * math/auto-libm-test-out: Regenerated.
30033
30034 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30035
30036 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30037 Encode instruction correctly in little endian.
30038 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30039 Likewise.
30040 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30041 Likewise.
30042 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30043 Likewise.
30044 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30045 Likewise.
30046
30047 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30048
30049 [BZ #9894]
30050 * sysdeps/unix/sysv/linux/kernel-features.h
30051 [__sparc__ && !__arch64__ && !__sparc_v9__]
30052 (__ASSUME_SET_ROBUST_LIST): Do not define.
30053 [__sparc__ && !__arch64__ && !__sparc_v9__]
30054 (__ASSUME_FUTEX_LOCK_PI): Likewise.
30055 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30056 Likewise.
30057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
30058 (__ASSUME_FUTEX_LOCK_PI): Undefine.
30059 (__ASSUME_REQUEUE_PI): Likewise.
30060 (__ASSUME_SET_ROBUST_LIST): Likewise.
30061 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30062 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30063 Undefine.
30064 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30065 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30066 Likewise.
30067 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30068 Likewise.
30069 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30070 Likewise.
30071 * sysdeps/unix/sysv/linux/mips/kernel-features.h
30072 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30073 Undefine.
30074 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30075 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30076 Likewise.
30077
30078 [BZ #16648]
30079 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30080 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30081 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30082
30083 2014-03-31 Will Newton <will.newton@linaro.org>
30084
30085 * benchtests/Makefile (bench): Add ffs and ffsll to list
30086 of tests.
30087 * benchtests/ffs-inputs: New file.
30088 * benchtests/ffsll-inputs: Likewise.
30089
30090 2014-03-29 Joseph Myers <joseph@codesourcery.com>
30091
30092 [BZ #16770]
30093 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30094 too large before casting to int.
30095 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30096 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30097 * math/libm-test.inc (scalb_test_data): Add more tests.
30098
30099 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30100
30101 * benchtests/Makefile (DETAILED_OPT): New make option.
30102 (bench-func): Run benchmark program with -d if DETAILED_OPT is
30103 set.
30104 * benchtests/bench-skeleton.c: Include stdbool.h.
30105 (main): Store and print timings per input.
30106 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30107 member to each argument value.
30108 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30109 (_print_arg_data): Initialize per-input timing to 0.
30110
30111 * benchtests/Makefile (timing-type): New binary.
30112 (bench-clean): Also remove bench-timing-type.
30113 (bench): New target for timing-type.
30114 (bench-func): Print output in JSON format.
30115 * benchtests/bench-skeleton.c (main): Print output in JSON
30116 format.
30117 * benchtests/bench-timing-type.c: New file.
30118 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30119 (TIMING_PRINT_STATS): Remove.
30120 * benchtests/scripts/bench.py (_print_arg_data): Store variant
30121 name separately.
30122
30123 * benchtests/bench-modf.c: Remove.
30124 * benchtests/modf-inputs: New inputs file.
30125
30126 2014-03-28 Joseph Myers <joseph@codesourcery.com>
30127
30128 [BZ #16362]
30129 * math/s_clog10.c (M_PI_LOG10E): New macro.
30130 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30131 imaginary parts are 0.
30132 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30133 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30134 imaginary parts are 0.
30135 * math/s_clog10l.c (M_PI_LOG10El): New macro.
30136 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30137 imaginary parts are 0.
30138 * math/libm-test.inc (clog10_test_data): Update expected results
30139 for when real and imaginary parts are 0.
30140
30141 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30142
30143 * elf/dl-load.c: Finish conversion of __builtin_expect into
30144 __glibc_{un}likely.
30145
30146 2014-03-27 Joseph Myers <joseph@codesourcery.com>
30147
30148 [BZ #16348]
30149 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30150 1+x for argument with exponent below -67.
30151 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30152 Likewise.
30153 * math/auto-libm-test-in: Add more tests of exp.
30154 * math/auto-libm-test-out: Regenerated.
30155
30156 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30157
30158 [BZ #16759]
30159 * inet/getnetgrent_r.c (get_nonempty_val): New function.
30160 (nscd_getnetgrent): Use it.
30161
30162 [BZ #16760]
30163 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30164 of stpcpy.
30165
30166 2014-03-27 Andi Kleen <ak@linux.intel.com>
30167
30168 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30169 (lll_robust_lock, lll_cond_lock, lll_timedlock)
30170 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30171 (lll_robust_unlock): Remove out of line section. Use cfi
30172 intrinsics.
30173 (LLL_STUB_UNWIND_INFO*): Remove.
30174 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30175 (lll_robust_lock, lll_cond_lock, lll_timedlock)
30176 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30177 (lll_robust_unlock): Remove out of line section. Use cfi
30178 intrinsics.
30179 (LLL_STUB_UNWIND_INFO*): Remove.
30180
30181 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30182
30183 [BZ #16758]
30184 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30185 blank values.
30186
30187 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30188
30189 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30190
30191 2014-03-26 Joseph Myers <joseph@codesourcery.com>
30192
30193 [BZ #16198]
30194 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30195 fnstenv.
30196 * math/test-fenv-preserve.c: New file.
30197 * math/Makefile (tests): Add test-fenv-preserve.
30198
30199 2014-03-26 Will Newton <will.newton@linaro.org>
30200
30201 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30202
30203 2014-03-25 Roland McGrath <roland@hack.frob.com>
30204
30205 * scripts/versionlist.awk: Partition the version sets and emit all
30206 GLIBC_* (sorted) before all others (sorted).
30207
30208 2014-03-25 Joseph Myers <joseph@codesourcery.com>
30209
30210 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30211 GLIBC_2.2.5 version.
30212
30213 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30214
30215 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30216 calls.
30217
30218 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30219 previous change.
30220
30221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30222
30223 2014-03-25 Andreas Schwab <schwab@suse.de>
30224
30225 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30226 label to be used after in6ailist is initialized.
30227
30228 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30229
30230 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30231 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30232
30233 2014-03-25 Joseph Myers <joseph@codesourcery.com>
30234
30235 [BZ #16357]
30236 [BZ #16599]
30237 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30238 min_plus_half.
30239 (fp_formats): Update initializers.
30240 (init_fp_formats): Initialize new field.
30241 (output_for_one_input_case): Allow underflow for results up to
30242 min_plus_half.
30243 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30244 * math/auto-libm-test-in: Don't mark some underflows from asin and
30245 atanh as spurious.
30246 * math/auto-libm-test-out: Regenerated.
30247 * sysdeps/i386/fpu/libm-test-ulps: Update.
30248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30249
30250 2014-03-25 Andreas Schwab <schwab@suse.de>
30251
30252 * libio/Makefile (tst-ftell-partial-wide-ENV)
30253 (tst-ftell-active-handler-ENV): Define.
30254
30255 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30256
30257 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30258
30259 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
30260
30261 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30262
30263 2014-03-24 Joseph Myers <joseph@codesourcery.com>
30264
30265 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30266 * sysdeps/x86_64/fpu/multiarch/e_exp.c
30267 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30268
30269 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
30270
30271 [BZ #16634]
30272 * elf/dl-load.c (open_verify): Add mode parameter.
30273 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30274 (open_path): Change from boolean 'secure' to complete flag 'mode'
30275 (_dl_map_object): Adjust.
30276 * elf/Makefile (tests): Add tst-dlopen-aout.
30277 * elf/tst-dlopen-aout.c: New test.
30278
30279 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
30280
30281 [BZ #16714]
30282 * sysdeps/unix/sysv/linux/s390/bits/stat.h
30283 (struct stat): Rename member pad0 to __glibc_reserved0.
30284
30285 [BZ #16712]
30286 * sysdeps/s390/s390-32/bits/wordsize.h
30287 (__WORDSIZE32_SIZE_ULONG): New define.
30288 * sysdeps/s390/s390-64/bits/wordsize.h
30289 (__WORDSIZE32_SIZE_ULONG): Likewise.
30290 * sysdeps/generic/stdint.h (SIZE_MAX):
30291 Define as UL if __WORDSIZE32_SIZE_ULONG.
30292
30293 [BZ #16713]
30294 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30295 (__glibc_reserved0): New variable.
30296 (sa_flags): Change type to int.
30297
30298 * posix/Makefile (before-compile): Use += before-compile instead
30299 of a :=.
30300
30301 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30302 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30303
30304 2014-03-20 Andreas Schwab <schwab@suse.de>
30305
30306 [BZ #16743]
30307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30308 non-matching result from nscd.
30309
30310 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30311
30312 * scripts/bench.py: Moved to ...
30313 * benchtests/scripts/bench.py: ... here.
30314 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30315
30316 2014-03-24 Andreas Schwab <schwab@suse.de>
30317
30318 [BZ #16002]
30319 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30320 alloca_account and account alloca use for struct in6ailist.
30321
30322 2014-03-24 Joseph Myers <joseph@codesourcery.com>
30323
30324 [BZ #16284]
30325 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30326 rounding mode to recompute results that overflow to infinity or
30327 underflow to zero.
30328 * math/auto-libm-test-in: Don't mark tests as expected to fail for
30329 bug 16284.
30330 * math/auto-libm-test-out: Regenerated.
30331 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30332 (ccosh_test): Likewise.
30333 (csin_test_data): Use plus_oflow.
30334 (csin_test): Use ALL_RM_TEST.
30335 (csinh_test_data): Use plus_oflow.
30336 (csinh_test): Use ALL_RM_TEST.
30337 * sysdeps/i386/fpu/libm-test-ulps: Update.
30338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30339
30340 2014-03-21 Joseph Myers <joseph@codesourcery.com>
30341
30342 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30343 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30344 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30345
30346 [BZ #16731]
30347 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30348 when x - 1 is zero.
30349 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30350 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30351 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30352 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30353 argument is 1.
30354 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30355 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30356 zero.
30357 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30358 * sysdeps/i386/fpu/libm-test-ulps: Update.
30359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30360
30361 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30362
30363 * scripts/bench.pl: Remove file.
30364 * scripts/bench.py: New benchmark script.
30365 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30366 * benchtests/README: Mention python dependency.
30367 * scripts/pylintrc: New file.
30368 * scripts/pylint: New file.
30369
30370 * bits/mathdef.h: Use #ifdef instead of #if.
30371 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30372 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30373 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30374 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30375 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30376 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30377
30378 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30379 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
30380
30381 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30383 and strpbrk-ppc64 objects.
30384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30385 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30386 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30387 multiarch strpbrk for POWER7.
30388 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30389 multiarch strpbrk for PPC64.
30390 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30391 ifunc selector.
30392 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30393 strpbrk for POWER7.
30394
30395 2014-03-20 Joseph Myers <joseph@codesourcery.com>
30396
30397 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30398 (atan_test): Likewise.
30399 (atanh_test_data): Use NO_TEST_INLINE for two tests.
30400 (atanh_test): Use ALL_RM_TEST.
30401 (atan2_test_data): Likewise.
30402 (cabs_test): Likewise.
30403 (cacosh_test): Likewise.
30404 (carg_test): Likewise.
30405 (casin_test): Likewise.
30406 (casinh_test): Likewise.
30407 (cbrt_test): Likewise.
30408 (csqrt_test): Likewise.
30409 (erf_test): Likewise.
30410 (erfc_test): Likewise.
30411 (pow10_test): Likewise.
30412 (exp2_test): Likewise.
30413 (hypot_test): Likewise.
30414 (j0_test): Likewise.
30415 (j1_test): Likewise.
30416 (lgamma_test): Likewise.
30417 (gamma_test): Likewise.
30418 (sincos_test): Likewise.
30419 (tanh_test): Likewise.
30420 (y0_test): Likewise.
30421 (y1_test): Likewise.
30422 * sysdeps/i386/fpu/libm-test-ulps: Update.
30423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30424
30425 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30426
30427 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30429 and strcspn-ppc64 objects.
30430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30431 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30432 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30433 multiarch strcspn for POWER7.
30434 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30435 multiarch strcspn for PPC64.
30436 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30437 ifunc selector.
30438 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30439 strcspn for POWER7.
30440
30441 2014-03-20 Joseph Myers <joseph@codesourcery.com>
30442
30443 * math/gen-libm-test.pl (generate_testfile): Expect only function
30444 name as argument to AUTO_TESTS_* and pass results for all rounding
30445 modes to parse_args.
30446 (parse_auto_input): Separate inputs of automatic tests from
30447 outputs before storing in %auto_tests.
30448 * math/libm-test.inc (acos_test_data): Update call to
30449 AUTO_TESTS_f_f.
30450 (acos_test): Use ALL_RM_TEST.
30451 (acos_tonearest_test_data): Remove.
30452 (acos_test_tonearest): Likewise.
30453 (acos_towardzero_test_data): Likewise.
30454 (acos_test_towardzero): Likewise.
30455 (acos_downward_test_data): Likewise.
30456 (acos_test_downward): Likewise.
30457 (acos_upward_test_data): Likewise.
30458 (acos_test_upward): Likewise.
30459 (acosh_test_data): Update call to AUTO_TESTS_f_f.
30460 (asin_test_data): Likewise.
30461 (asin_test): Use ALL_RM_TEST.
30462 (asin_tonearest_test_data): Remove.
30463 (asin_test_tonearest): Likewise.
30464 (asin_towardzero_test_data): Likewise.
30465 (asin_test_towardzero): Likewise.
30466 (asin_downward_test_data): Likewise.
30467 (asin_test_downward): Likewise.
30468 (asin_upward_test_data): Likewise.
30469 (asin_test_upward): Likewise.
30470 (asinh_test_data): Update call to AUTO_TESTS_f_f.
30471 (atan_test_data): Likewise.
30472 (atanh_test_data): Likewise.
30473 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30474 (cabs_test_data): Update call to AUTO_TESTS_c_f.
30475 (carg_test_data): Likewise.
30476 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30477 (ccos_test_data): Update call to AUTO_TESTS_c_c.
30478 (ccosh_test_data): Likewise.
30479 (cexp_test_data): Likewise.
30480 (clog_test_data): Likewise.
30481 (clog10_test_data): Likewise.
30482 (cos_test_data): Update call to AUTO_TESTS_f_f.
30483 (cos_test): Use ALL_RM_TEST.
30484 (cos_tonearest_test_data): Remove.
30485 (cos_test_tonearest): Likewise.
30486 (cos_towardzero_test_data): Likewise.
30487 (cos_test_towardzero): Likewise.
30488 (cos_downward_test_data): Likewise.
30489 (cos_test_downward): Likewise.
30490 (cos_upward_test_data): Likewise.
30491 (cos_test_upward): Likewise.
30492 (cosh_test_data): Update call to AUTO_TESTS_f_f.
30493 (cosh_test): Use ALL_RM_TEST.
30494 (cosh_tonearest_test_data): Remove.
30495 (cosh_test_tonearest): Likewise.
30496 (cosh_towardzero_test_data): Likewise.
30497 (cosh_test_towardzero): Likewise.
30498 (cosh_downward_test_data): Likewise.
30499 (cosh_test_downward): Likewise.
30500 (cosh_upward_test_data): Likewise.
30501 (cosh_test_upward): Likewise.
30502 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30503 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30504 (ctan_test_data): Likewise.
30505 (ctan_test): Use ALL_RM_TEST.
30506 (ctan_tonearest_test_data): Remove.
30507 (ctan_test_tonearest): Likewise.
30508 (ctan_towardzero_test_data): Likewise.
30509 (ctan_test_towardzero): Likewise.
30510 (ctan_downward_test_data): Likewise.
30511 (ctan_test_downward): Likewise.
30512 (ctan_upward_test_data): Likewise.
30513 (ctan_test_upward): Likewise.
30514 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30515 (ctanh_test): Use ALL_RM_TEST.
30516 (ctanh_tonearest_test_data): Remove.
30517 (ctanh_test_tonearest): Likewise.
30518 (ctanh_towardzero_test_data): Likewise.
30519 (ctanh_test_towardzero): Likewise.
30520 (ctanh_downward_test_data): Likewise.
30521 (ctanh_test_downward): Likewise.
30522 (ctanh_upward_test_data): Likewise.
30523 (ctanh_test_upward): Likewise.
30524 (erf_test_data): Update call to AUTO_TESTS_f_f.
30525 (erfc_test_data): Likewise.
30526 (exp_test_data): Likewise.
30527 (exp_test): Use ALL_RM_TEST.
30528 (exp_tonearest_test_data): Remove.
30529 (exp_test_tonearest): Likewise.
30530 (exp_towardzero_test_data): Likewise.
30531 (exp_test_towardzero): Likewise.
30532 (exp_downward_test_data): Likewise.
30533 (exp_test_downward): Likewise.
30534 (exp_upward_test_data): Likewise.
30535 (exp_test_upward): Likewise.
30536 (exp10_test_data): Update call to AUTO_TESTS_f_f.
30537 (exp10_test): Use ALL_RM_TEST.
30538 (exp10_tonearest_test_data): Remove.
30539 (exp10_test_tonearest): Likewise.
30540 (exp10_towardzero_test_data): Likewise.
30541 (exp10_test_towardzero): Likewise.
30542 (exp10_downward_test_data): Likewise.
30543 (exp10_test_downward): Likewise.
30544 (exp10_upward_test_data): Likewise.
30545 (exp10_test_upward): Likewise.
30546 (exp2_test_data): Update call to AUTO_TESTS_f_f.
30547 (expm1_test_data): Likewise.
30548 (expm1_test): Use ALL_RM_TEST.
30549 (expm1_tonearest_test_data): Remove.
30550 (expm1_test_tonearest): Likewise.
30551 (expm1_towardzero_test_data): Likewise.
30552 (expm1_test_towardzero): Likewise.
30553 (expm1_downward_test_data): Likewise.
30554 (expm1_test_downward): Likewise.
30555 (expm1_upward_test_data): Likewise.
30556 (expm1_test_upward): Likewise.
30557 (fma_test_data): Update call to AUTO_TESTS_fff_f.
30558 (fma_test): Use ALL_RM_TEST.
30559 (fma_towardzero_test_data): Remove.
30560 (fma_test_towardzero): Likewise.
30561 (fma_downward_test_data): Likewise.
30562 (fma_test_downward): Likewise.
30563 (fma_upward_test_data): Likewise.
30564 (fma_test_upward): Likewise.
30565 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30566 (j0_test_data): Update call to AUTO_TESTS_f_f.
30567 (j1_test_data): Likewise.
30568 (jn_test_data): Update call to AUTO_TESTS_if_f.
30569 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30570 (log_test_data): Update call to AUTO_TESTS_f_f.
30571 (log10_test_data): Likewise.
30572 (log1p_test_data): Likewise.
30573 (log2_test_data): Likewise.
30574 (pow_test_data): Update call to AUTO_TESTS_ff_f.
30575 (pow_tonearest_test_data): Likewise.
30576 (sin_test_data): Update call to AUTO_TESTS_f_f.
30577 (sin_test): Use ALL_RM_TEST.
30578 (sin_tonearest_test_data): Remove.
30579 (sin_test_tonearest): Likewise.
30580 (sin_towardzero_test_data): Likewise.
30581 (sin_test_towardzero): Likewise.
30582 (sin_downward_test_data): Likewise.
30583 (sin_test_downward): Likewise.
30584 (sin_upward_test_data): Likewise.
30585 (sin_test_upward): Likewise.
30586 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30587 (sinh_test_data): Update call to AUTO_TESTS_f_f.
30588 (sinh_test): Use ALL_RM_TEST.
30589 (sinh_tonearest_test_data): Remove.
30590 (sinh_test_tonearest): Likewise.
30591 (sinh_towardzero_test_data): Likewise.
30592 (sinh_test_towardzero): Likewise.
30593 (sinh_downward_test_data): Likewise.
30594 (sinh_test_downward): Likewise.
30595 (sinh_upward_test_data): Likewise.
30596 (sinh_test_upward): Likewise.
30597 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30598 (sqrt_test): Use ALL_RM_TEST.
30599 (sqrt_tonearest_test_data): Remove.
30600 (sqrt_test_tonearest): Likewise.
30601 (sqrt_towardzero_test_data): Likewise.
30602 (sqrt_test_towardzero): Likewise.
30603 (sqrt_downward_test_data): Likewise.
30604 (sqrt_test_downward): Likewise.
30605 (sqrt_upward_test_data): Likewise.
30606 (sqrt_test_upward): Likewise.
30607 (tan_test_data): Update call to AUTO_TESTS_f_f.
30608 (tan_test): Use ALL_RM_TEST.
30609 (tan_tonearest_test_data): Remove.
30610 (tan_test_tonearest): Likewise.
30611 (tan_towardzero_test_data): Likewise.
30612 (tan_test_towardzero): Likewise.
30613 (tan_downward_test_data): Likewise.
30614 (tan_test_downward): Likewise.
30615 (tan_upward_test_data): Likewise.
30616 (tan_test_upward): Likewise.
30617 (tanh_test_data): Update call to AUTO_TESTS_f_f.
30618 (tgamma_test_data): Likewise.
30619 (y0_test_data): Likewise.
30620 (y1_test_data): Likewise.
30621 (yn_test_data): Update call to AUTO_TESTS_if_f.
30622 (main): Do not call removed functions.
30623
30624 2014-03-19 Joseph Myers <joseph@codesourcery.com>
30625
30626 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30627 (ldexp_test_data): Remove.
30628 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
30629 scalbn_test_data.
30630 (scalb_test): Use ALL_RM_TEST.
30631
30632 2014-03-19 Andreas Schwab <schwab@suse.de>
30633
30634 * nscd/nscd.service: Also invalidate netgroup cache on reload.
30635
30636 2014-03-19 Joseph Myers <joseph@codesourcery.com>
30637
30638 [BZ #16649]
30639 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30640 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30641 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30642 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30643 (__ASSUME_PREADV): Undefine.
30644 (__ASSUME_PWRITEV): Likewise.
30645
30646 2014-03-18 Roland McGrath <roland@hack.frob.com>
30647
30648 * bits/mman-linux.h: Add comment about non-Linux use.
30649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30650 bits/mman-linux.h resting place.
30651
30652 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30653 * bits/mman-linux.h: ... here.
30654
30655 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30656
30657 * conform/conformtest.pl: Add standard definition when calling C
30658 preprocessor on data files.
30659 (checknamespace): Remove unused variable.
30660
30661 2014-03-18 Joseph Myers <joseph@codesourcery.com>
30662
30663 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30664 minus_oflow, plus_uflow and minus_uflow in expected results.
30665 * math/libm-test.inc (scalbn_test_data): Add more tests of
30666 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
30667 minus_uflow.
30668 (scalbn_test): Use ALL_RM_TEST.
30669 (scalbln_test_data): Add more tests of negative arguments. Use
30670 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30671 (scalbln_test): Use ALL_RM_TEST.
30672
30673 2014-03-18 Roland McGrath <roland@hack.frob.com>
30674
30675 * scripts/abilist.awk: Ignore symbols marked with .hidden.
30676
30677 2014-03-18 Will Newton <will.newton@linaro.org>
30678
30679 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30680 inaccurate comment.
30681
30682 2014-03-18 Joseph Myers <joseph@codesourcery.com>
30683
30684 * Makerules [!subdir] (check-abi): Exit with error status if a
30685 test failed.
30686
30687 2014-03-17 Joseph Myers <joseph@codesourcery.com>
30688
30689 * math/libm-test.inc (nearbyint_test_data): Include all tests used
30690 for rint. Include results for all rounding modes.
30691 (nearbyint_test): Use ALL_RM_TEST.
30692 (rint_test_data): Include all tests used for nearbyint.
30693
30694 2014-03-17 Will Newton <will.newton@linaro.org>
30695
30696 * nptl/sysdeps/pthread/pthread.h: Revert previous
30697 change.
30698
30699 * sysdeps/generic/ldsodefs.h: Revert previous
30700 change.
30701
30702 * libio/genops.c: Revert previous change.
30703 * libio/libioP.h: Likewise.
30704 * stdio-common/vfprintf.c: Likewise.
30705
30706 * sysdeps/generic/math_private.h: Revert previous
30707 change.
30708
30709 * sysdeps/generic/math_private.h: Check whether
30710 HAVE_RM_CTX is defined with #ifdef rather
30711 than #if.
30712
30713 * argp/argp-fmtstream.h: Check whether
30714 __STRICT_ANSI__ is defined with #ifdef rather
30715 than #if.
30716 * argp/argp.h: Likewise.
30717
30718 * libio/genops.c: Check whether
30719 _IO_JUMPS_OFFSET is defined with #ifdef rather
30720 than #if.
30721 * libio/libioP.h: Likewise.
30722 * stdio-common/vfprintf.c: Likewise.
30723
30724 * sysdeps/generic/ldsodefs.h: Check whether
30725 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30726 than #if.
30727
30728 * nptl/sysdeps/pthread/pthread.h: Check
30729 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30730 its value.
30731
30732 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30733
30734 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30735 setting O_APPEND.
30736 * libio/tst-ftell-active-handler.c (do_append_test): Add a
30737 test case.
30738
30739 [BZ #16680]
30740 * libio/fileops.c (_IO_file_open): Seek to end of file but
30741 don't cache the offset.
30742 (get_file_offset): Remove function.
30743 (do_ftell): Use cached offset when available.
30744 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30745 don't cache the offset.
30746 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30747 case.
30748 (do_one_test): Call it.
30749 (do_ftell_test): Fix up expected old offset for a+ mode.
30750 * libio/wfileops.c (do_ftell_wide): Used cached offset when
30751 available.
30752
30753 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30754 up test status with function return status.
30755 (do_write_test): Likewise.
30756 (do_append_test): Likewise.
30757
30758 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30759 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30760 Remove.
30761
30762 2014-03-17 Joseph Myers <joseph@codesourcery.com>
30763
30764 * math/gen-libm-test.pl (parse_args): Handle results specified for
30765 each rounding mode separately.
30766 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30767 tests and results from lrint_tonearest_test_data,
30768 lrint_towardzero_test_data, lrint_downward_test_data and
30769 lrint_upward_test_data.
30770 (lrint_test): Use ALL_RM_TEST.
30771 (lrint_tonearest_test_data): Remove.
30772 (lrint_test_tonearest): Likewise.
30773 (lrint_towardzero_test_data): Likewise.
30774 (lrint_test_towardzero): Likewise.
30775 (lrint_downward_test_data): Likewise.
30776 (lrint_test_downward): Likewise.
30777 (lrint_upward_test_data): Likewise.
30778 (lrint_test_upward): Likewise.
30779 (llrint_test_data): Merge in per-rounding-mode tests and results
30780 from llrint_tonearest_test_data, llrint_towardzero_test_data,
30781 llrint_downward_test_data and llrint_upward_test_data.
30782 (llrint_test): Use ALL_RM_TEST.
30783 (llrint_tonearest_test_data): Remove.
30784 (llrint_test_tonearest): Likewise.
30785 (llrint_towardzero_test_data): Likewise.
30786 (llrint_test_towardzero): Likewise.
30787 (llrint_downward_test_data): Likewise.
30788 (llrint_test_downward): Likewise.
30789 (llrint_upward_test_data): Likewise.
30790 (llrint_test_upward): Likewise.
30791 (rint_test_data): Merge in per-rounding-mode tests and results
30792 from rint_tonearest_test_data, rint_towardzero_test_data,
30793 rint_downward_test_data and rint_upward_test_data. Add
30794 per-rounding-mode results for tests not in those arrays.
30795 (rint_test): Use ALL_RM_TEST.
30796 (rint_tonearest_test_data): Remove.
30797 (rint_test_tonearest): Likewise.
30798 (rint_towardzero_test_data): Likewise.
30799 (rint_test_towardzero): Likewise.
30800 (rint_downward_test_data): Likewise.
30801 (rint_test_downward): Likewise.
30802 (rint_upward_test_data): Likewise.
30803 (rint_test_upward): Likewise.
30804 (main): Don't call removed functions.
30805
30806 2014-03-14 Roland McGrath <roland@hack.frob.com>
30807
30808 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30809 "Compiled on ..." crapola. It is anti-useful.
30810
30811 2014-03-14 Joseph Myers <joseph@codesourcery.com>
30812
30813 * scripts/evaluate-test.sh: Handle fourth argument to determine
30814 whether test run should stop on failure.
30815 * Makeconfig (stop-on-test-failure): New variable.
30816 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30817 $(stop-on-test-failure).
30818 * Makefile (tests): Give a summary of results from testing and
30819 exit with failure status if they include an ERROR or FAIL.
30820 (xtests): Likewise.
30821 * manual/install.texi (Configuring and compiling): Mention
30822 stop-on-test-failure=y.
30823 * INSTALL: Regenerated.
30824
30825 2014-03-14 Roland McGrath <roland@hack.frob.com>
30826
30827 * scripts/versionlist.awk: New file.
30828 * Makerules [$(build-shared) = yes]
30829 (postclean-generated): Add Versions.def, not Versions.def.v and
30830 Versions.def.v.i.
30831 ($(common-objpfx)Versions.def.v.i): Target removed.
30832 ($(common-objpfx)Versions.def): New target.
30833 ($(common-objpfx)Versions.all): Depend on that rather that
30834 $(common-objpfx)Versions.def.v.
30835 * Versions.def: File removed.
30836
30837 * Makeconfig (+gccwarn): Add -Wundef.
30838 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30839 a dl-sysdep.h breaking its contract.
30840 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30841 * include/stackinfo.h: New file.
30842 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30843 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30844 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30845 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30846 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30847 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30848 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30849 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30850 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30851 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30852 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30853 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30854 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30855 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30856 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30857
30858 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30859
30860 [BZ #16707]
30861 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30862 implementation.
30863 * math/libm-test.inc (round_test_data): Add more tests.
30864
30865 [BZ #16706]
30866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30867 implementation.
30868 * math/libm-test.inc (nearbyint_test_data): Add more tests.
30869
30870 [BZ #16701]
30871 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30872 implementation.
30873 * math/libm-test.inc (ceil_test_data): Add more tests.
30874
30875 * math/libm-test.inc (trunc_test_data): Add more tests related to
30876 BZ#16414.
30877
30878 2014-03-14 Roland McGrath <roland@hack.frob.com>
30879
30880 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30881 with #if rather than #ifdef.
30882 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30883
30884 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
30885
30886 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30887 first. Disable AVX-512 GCC support if assembler doesn't support
30888 it.
30889 * sysdeps/x86_64/configure: Regenerated.
30890
30891 2014-03-13 Carlos O'Donell <carlos@redhat.com>
30892
30893 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30894 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30895 (__old_pthread_attr_setstack): Likewise.
30896 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30897 [!_STACK_GROWS_DOWN]: Likewise.
30898
30899 2014-03-13 Mike Frysinger <vapier@gentoo.org>
30900
30901 * config.make.in (have-bash2): Delete.
30902 * configure.ac (libc_cv_have_bash2): Delete.
30903 * configure: Regenerate.
30904 * elf/Makefile (common-ldd-rewrite): Rename to ...
30905 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
30906 (sh-ldd-rewrite): Delete.
30907 (bash-ldd-rewrite): Delete.
30908 (have-bash2): Delete checks.
30909 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30910 ldd-rewrite.
30911
30912 * config.make.in (have-ksh): Delete.
30913 (KSH): Delete.
30914 * configure.ac (libc_cv_have_ksh): Delete.
30915 * configure: Regenerate.
30916
30917 * elf/Makefile: Delete $(have-ksh) check.
30918 ($(objpfx)sotruss): Change KSH to BASH.
30919 * elf/sotruss.ksh: Rename to ...
30920 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
30921 function style to match POSIX. Drop ksh vim mode setting.
30922
30923 * manual/time.texi (Specifying the Time Zone with TZ): Change
30924 Tuesday to Thursday.
30925
30926 * debug/tst-longjmp_chk2.c: Update header comment.
30927 (stackoverflow_handler): Add comment. Call assert on pass value.
30928
30929 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
30930
30931 [BZ #16194]
30932 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30933 (HAVE_AVX512_ASM_SUPPORT): Likewise.
30934 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30935 (La_x86_64_vector): Add zmm.
30936 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30937 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30938 ($(objpfx)tst-audit10): New target.
30939 ($(objpfx)tst-audit10.out): Likewise.
30940 (tst-audit10-ENV): New.
30941 (AVX512-CFLAGS): Likewise.
30942 (CFLAGS-tst-audit10.c): Likewise.
30943 (CFLAGS-tst-auditmod10a.c): Likewise.
30944 (CFLAGS-tst-auditmod10b.c): Likewise.
30945 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30946 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30947 * sysdeps/x86_64/configure: Regenerated.
30948 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30949 AVX-512 zmm register support.
30950 (_dl_x86_64_save_sse): Likewise.
30951 (_dl_x86_64_restore_sse): Likewise.
30952 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30953 size vector registers.
30954 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30955 (ZMM_SIZE): Likewise.
30956 * sysdeps/x86_64/tst-audit10.c: New file.
30957 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30958 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30959
30960 2014-03-13 Roland McGrath <roland@hack.frob.com>
30961
30962 * configure.ac (HAVE_EHDR_START): New check.
30963 * configure: Regenerated.
30964 * config.h.in (HAVE_EHDR_START): New #undef.
30965 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30966 assuming the lowest-addressed segment maps the start of the file.
30967
30968 2014-03-13 Joseph Myers <joseph@codesourcery.com>
30969
30970 * INSTALL: Regenerated.
30971
30972 2014-03-13 Will Newton <will.newton@linaro.org>
30973
30974 * manual/setjmp.texi (System V contexts): Improve
30975 clarity and grammar of documentation.
30976
30977 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
30978
30979 [BZ #16381]
30980 * elf/Makefile (tests): Add tst-pie2.
30981 (tests-pie): Add tst-pie2.
30982 * elf/tst-pie2.c: New file.
30983 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30984 for ET_EXEC.
30985 * elf/rtld.c (map_doit): Load executable as lt_executable.
30986 (dl_main): Likewise.
30987
30988 2014-03-12 Joseph Myers <joseph@codesourcery.com>
30989
30990 [BZ #16642]
30991 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30992 (__ASSUME_PSELECT): Undefine.
30993
30994 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30995
30996 [BZ #16689]
30997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30998 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30999 static build.
31000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31001 selector for static builds.
31002
31003 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31004
31005 [BZ #16695]
31006 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31007 key in the buffer.
31008
31009 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31010
31011 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31012 IFUNC selector for static builds.
31013
31014 2014-03-11 Joseph Myers <joseph@codesourcery.com>
31015
31016 * sysdeps/mips/math_private.h [__mips_hard_float]
31017 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31018 libc_feresetround_mips_ctx.
31019 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31020 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31021 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31022
31023 [BZ #16677]
31024 * math/s_nextafter.c (__nextafter): Do not return value from
31025 overflowing computation.
31026 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31027 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31028 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31029 Likewise.
31030 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31031 Likewise.
31032 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31033 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31034
31035 2014-03-11 Roland McGrath <roland@hack.frob.com>
31036
31037 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31038 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31039 Move sfi_sp use from the load-multiple (that no longer sets sp) to
31040 the new mov targetting sp.
31041
31042 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31043
31044 [BZ #16683]
31045 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31046 Define it for static builds as well.
31047 (NO_BZERO_IMPL): Likewise.
31048
31049 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31050
31051 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31052 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31053 multiarch strspn for PPC64.
31054 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31055 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31057 (__libc_ifunc_impl_list): Likewise.
31058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31059 multiarch optimizations
31060 * string/strspn.c (strspn): Using macro to redefine symbol name.
31061
31062 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31063 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31064
31065 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31066 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31067 multiarch strncat for PPC64.
31068 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31069 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31071 (__libc_ifunc_impl_list): Likewise.
31072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31073 multiarch optimizations
31074
31075 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31076
31077 [BZ #16639]
31078 * nscd/nscd.service: Make service type forking.
31079
31080 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31081
31082 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31083 sign in non default rounding modes.
31084 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31085
31086 2014-03-08 Joseph Myers <joseph@codesourcery.com>
31087
31088 * math/libm-test.inc (ALL_RM_TEST): New macro.
31089 (ceil_test): Use ALL_RM_TEST.
31090 (cimag_test): Likewise.
31091 (conj_test): Likewise.
31092 (copysign_test): Likewise.
31093 (cproj_test): Likewise.
31094 (creal_test): Likewise.
31095 (fabs_test): Likewise.
31096 (floor_test): Likewise.
31097 (fmax_test): Likewise.
31098 (fmin_test): Likewise.
31099 (fmod_test): Likewise.
31100 (fpclassify_test): Likewise.
31101 (frexp_test): Likewise.
31102 (ilogb_test): Likewise.
31103 (isfinite_test): Likewise.
31104 (finite_test): Likewise.
31105 (isgreater_test): Likewise.
31106 (isgreaterequal_test): Likewise.
31107 (isinf_test): Likewise.
31108 (isless_test): Likewise.
31109 (islessequal_test): Likewise.
31110 (islessgreater_test): Likewise.
31111 (isnan_test): Likewise.
31112 (isnormal_test): Likewise.
31113 (issignaling_test): Likewise.
31114 (isunordered_test): Likewise.
31115 (logb_test): Likewise.
31116 (logb_downward_test_data): Remove.
31117 (logb_test_downward): Likewise.
31118 (lround_test): Use ALL_RM_TEST.
31119 (llround_test): Likewise.
31120 (modf_test): Likewise.
31121 (nexttoward_test): Likewise.
31122 (remainder_test): Likewise.
31123 (drem_test): Likewise.
31124 (remainder_tonearest_test_data): Likewise.
31125 (remainder_test_tonearest): Likewise.
31126 (drem_test_tonearest): Likewise.
31127 (remainder_towardzero_test_data): Likewise.
31128 (remainder_test_towardzero): Likewise.
31129 (drem_test_towardzero): Likewise.
31130 (remainder_downward_test_data): Likewise.
31131 (remainder_test_downward): Likewise.
31132 (drem_test_downward): Likewise.
31133 (remainder_upward_test_data): Likewise.
31134 (remainder_test_upward): Likewise.
31135 (drem_test_upward): Likewise.
31136 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
31137 (round_test): Use ALL_RM_TEST.
31138 (signbit_test): Likewise.
31139 (trunc_test): Likewise.
31140 (significand_test): Likewise.
31141 (main): Don't call removed functions.
31142
31143 2014-03-07 Joseph Myers <joseph@codesourcery.com>
31144
31145 [BZ #16674]
31146 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31147 || __USE_XOPEN2K8].
31148 (ILL_ILLOPN): Likewise.
31149 (ILL_ILLADR): Likewise.
31150 (ILL_ILLTRP): Likewise.
31151 (ILL_PRVOPC): Likewise.
31152 (ILL_PRVREG): Likewise.
31153 (ILL_COPROC): Likewise.
31154 (ILL_BADSTK): Likewise.
31155 (FPE_INTDIV): Likewise.
31156 (FPE_INTOVF): Likewise.
31157 (FPE_FLTDIV): Likewise.
31158 (FPE_FLTOVF): Likewise.
31159 (FPE_FLTUND): Likewise.
31160 (FPE_FLTRES): Likewise.
31161 (FPE_FLTINV): Likewise.
31162 (FPE_FLTSUB): Likewise.
31163 (SEGV_MAPERR): Likewise.
31164 (SEGV_ACCERR): Likewise.
31165 (BUS_ADRALN): Likewise.
31166 (BUS_ADRERR): Likewise.
31167 (BUS_OBJERR): Likewise.
31168 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31169 (TRAP_TRACE): Likewise.
31170 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31171 __USE_XOPEN2K8].
31172 (CLD_KILLED): Likewise.
31173 (CLD_DUMPED): Likewise.
31174 (CLD_TRAPPED): Likewise.
31175 (CLD_STOPPED): Likewise.
31176 (CLD_CONTINUED): Likewise.
31177 (POLL_IN): Likewise.
31178 (POLL_OUT): Likewise.
31179 (POLL_MSG): Likewise.
31180 (POLL_ERR): Likewise.
31181 (POLL_PRI): Likewise.
31182 (POLL_HUP): Likewise.
31183 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31184 Likewise.
31185 (ILL_ILLOPN): Likewise.
31186 (ILL_ILLADR): Likewise.
31187 (ILL_ILLTRP): Likewise.
31188 (ILL_PRVOPC): Likewise.
31189 (ILL_PRVREG): Likewise.
31190 (ILL_COPROC): Likewise.
31191 (ILL_BADSTK): Likewise.
31192 (FPE_INTDIV): Likewise.
31193 (FPE_INTOVF): Likewise.
31194 (FPE_FLTDIV): Likewise.
31195 (FPE_FLTOVF): Likewise.
31196 (FPE_FLTUND): Likewise.
31197 (FPE_FLTRES): Likewise.
31198 (FPE_FLTINV): Likewise.
31199 (FPE_FLTSUB): Likewise.
31200 (SEGV_MAPERR): Likewise.
31201 (SEGV_ACCERR): Likewise.
31202 (BUS_ADRALN): Likewise.
31203 (BUS_ADRERR): Likewise.
31204 (BUS_OBJERR): Likewise.
31205 (BUS_MCEERR_AR): Likewise.
31206 (BUS_MCEERR_AO): Likewise.
31207 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31208 (TRAP_TRACE): Likewise.
31209 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31210 __USE_XOPEN2K8].
31211 (CLD_KILLED): Likewise.
31212 (CLD_DUMPED): Likewise.
31213 (CLD_TRAPPED): Likewise.
31214 (CLD_STOPPED): Likewise.
31215 (CLD_CONTINUED): Likewise.
31216 (POLL_IN): Likewise.
31217 (POLL_OUT): Likewise.
31218 (POLL_MSG): Likewise.
31219 (POLL_ERR): Likewise.
31220 (POLL_PRI): Likewise.
31221 (POLL_HUP): Likewise.
31222 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31223 (ILL_ILLOPN): Likewise.
31224 (ILL_ILLADR): Likewise.
31225 (ILL_ILLTRP): Likewise.
31226 (ILL_PRVOPC): Likewise.
31227 (ILL_PRVREG): Likewise.
31228 (ILL_COPROC): Likewise.
31229 (ILL_BADSTK): Likewise.
31230 (FPE_INTDIV): Likewise.
31231 (FPE_INTOVF): Likewise.
31232 (FPE_FLTDIV): Likewise.
31233 (FPE_FLTOVF): Likewise.
31234 (FPE_FLTUND): Likewise.
31235 (FPE_FLTRES): Likewise.
31236 (FPE_FLTINV): Likewise.
31237 (FPE_FLTSUB): Likewise.
31238 (SEGV_MAPERR): Likewise.
31239 (SEGV_ACCERR): Likewise.
31240 (BUS_ADRALN): Likewise.
31241 (BUS_ADRERR): Likewise.
31242 (BUS_OBJERR): Likewise.
31243 (BUS_MCEERR_AR): Likewise.
31244 (BUS_MCEERR_AO): Likewise.
31245 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31246 (TRAP_TRACE): Likewise.
31247 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31248 __USE_XOPEN2K8].
31249 (CLD_KILLED): Likewise.
31250 (CLD_DUMPED): Likewise.
31251 (CLD_TRAPPED): Likewise.
31252 (CLD_STOPPED): Likewise.
31253 (CLD_CONTINUED): Likewise.
31254 (POLL_IN): Likewise.
31255 (POLL_OUT): Likewise.
31256 (POLL_MSG): Likewise.
31257 (POLL_ERR): Likewise.
31258 (POLL_PRI): Likewise.
31259 (POLL_HUP): Likewise.
31260 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31261 Likewise.
31262 (ILL_ILLOPN): Likewise.
31263 (ILL_ILLADR): Likewise.
31264 (ILL_ILLTRP): Likewise.
31265 (ILL_PRVOPC): Likewise.
31266 (ILL_PRVREG): Likewise.
31267 (ILL_COPROC): Likewise.
31268 (ILL_BADSTK): Likewise.
31269 (ILL_BADIADDR): Likewise.
31270 (ILL_BREAK): Likewise.
31271 (FPE_INTDIV): Likewise.
31272 (FPE_INTOVF): Likewise.
31273 (FPE_FLTDIV): Likewise.
31274 (FPE_FLTOVF): Likewise.
31275 (FPE_FLTUND): Likewise.
31276 (FPE_FLTRES): Likewise.
31277 (FPE_FLTINV): Likewise.
31278 (FPE_FLTSUB): Likewise.
31279 (FPE_DECOVF): Likewise.
31280 (FPE_DECDIV): Likewise.
31281 (FPE_DECERR): Likewise.
31282 (FPE_INVASC): Likewise.
31283 (FPE_INVDEC): Likewise.
31284 (SEGV_MAPERR): Likewise.
31285 (SEGV_ACCERR): Likewise.
31286 (SEGV_PSTKOVF): Likewise.
31287 (BUS_ADRALN): Likewise.
31288 (BUS_ADRERR): Likewise.
31289 (BUS_OBJERR): Likewise.
31290 (BUS_MCEERR_AR): Likewise.
31291 (BUS_MCEERR_AO): Likewise.
31292 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31293 (TRAP_TRACE): Likewise.
31294 (TRAP_BRANCH): Likewise.
31295 (TRAP_HWBKPT): Likewise.
31296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31297 __USE_XOPEN2K8].
31298 (CLD_KILLED): Likewise.
31299 (CLD_DUMPED): Likewise.
31300 (CLD_TRAPPED): Likewise.
31301 (CLD_STOPPED): Likewise.
31302 (CLD_CONTINUED): Likewise.
31303 (POLL_IN): Likewise.
31304 (POLL_OUT): Likewise.
31305 (POLL_MSG): Likewise.
31306 (POLL_ERR): Likewise.
31307 (POLL_PRI): Likewise.
31308 (POLL_HUP): Likewise.
31309 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31310 (ILL_ILLOPN): Likewise.
31311 (ILL_ILLADR): Likewise.
31312 (ILL_ILLTRP): Likewise.
31313 (ILL_PRVOPC): Likewise.
31314 (ILL_PRVREG): Likewise.
31315 (ILL_COPROC): Likewise.
31316 (ILL_BADSTK): Likewise.
31317 (FPE_INTDIV): Likewise.
31318 (FPE_INTOVF): Likewise.
31319 (FPE_FLTDIV): Likewise.
31320 (FPE_FLTOVF): Likewise.
31321 (FPE_FLTUND): Likewise.
31322 (FPE_FLTRES): Likewise.
31323 (FPE_FLTINV): Likewise.
31324 (FPE_FLTSUB): Likewise.
31325 (SEGV_MAPERR): Likewise.
31326 (SEGV_ACCERR): Likewise.
31327 (BUS_ADRALN): Likewise.
31328 (BUS_ADRERR): Likewise.
31329 (BUS_OBJERR): Likewise.
31330 (BUS_MCEERR_AR): Likewise.
31331 (BUS_MCEERR_AO): Likewise.
31332 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31333 (TRAP_TRACE): Likewise.
31334 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31335 __USE_XOPEN2K8].
31336 (CLD_KILLED): Likewise.
31337 (CLD_DUMPED): Likewise.
31338 (CLD_TRAPPED): Likewise.
31339 (CLD_STOPPED): Likewise.
31340 (CLD_CONTINUED): Likewise.
31341 (POLL_IN): Likewise.
31342 (POLL_OUT): Likewise.
31343 (POLL_MSG): Likewise.
31344 (POLL_ERR): Likewise.
31345 (POLL_PRI): Likewise.
31346 (POLL_HUP): Likewise.
31347 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31348 (ILL_ILLOPN): Likewise.
31349 (ILL_ILLADR): Likewise.
31350 (ILL_ILLTRP): Likewise.
31351 (ILL_PRVOPC): Likewise.
31352 (ILL_PRVREG): Likewise.
31353 (ILL_COPROC): Likewise.
31354 (ILL_BADSTK): Likewise.
31355 (FPE_INTDIV): Likewise.
31356 (FPE_INTOVF): Likewise.
31357 (FPE_FLTDIV): Likewise.
31358 (FPE_FLTOVF): Likewise.
31359 (FPE_FLTUND): Likewise.
31360 (FPE_FLTRES): Likewise.
31361 (FPE_FLTINV): Likewise.
31362 (FPE_FLTSUB): Likewise.
31363 (SEGV_MAPERR): Likewise.
31364 (SEGV_ACCERR): Likewise.
31365 (BUS_ADRALN): Likewise.
31366 (BUS_ADRERR): Likewise.
31367 (BUS_OBJERR): Likewise.
31368 (BUS_MCEERR_AR): Likewise.
31369 (BUS_MCEERR_AO): Likewise.
31370 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31371 (TRAP_TRACE): Likewise.
31372 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31373 __USE_XOPEN2K8].
31374 (CLD_KILLED): Likewise.
31375 (CLD_DUMPED): Likewise.
31376 (CLD_TRAPPED): Likewise.
31377 (CLD_STOPPED): Likewise.
31378 (CLD_CONTINUED): Likewise.
31379 (POLL_IN): Likewise.
31380 (POLL_OUT): Likewise.
31381 (POLL_MSG): Likewise.
31382 (POLL_ERR): Likewise.
31383 (POLL_PRI): Likewise.
31384 (POLL_HUP): Likewise.
31385 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31386 (ILL_ILLOPN): Likewise.
31387 (ILL_ILLADR): Likewise.
31388 (ILL_ILLTRP): Likewise.
31389 (ILL_PRVOPC): Likewise.
31390 (ILL_PRVREG): Likewise.
31391 (ILL_COPROC): Likewise.
31392 (ILL_BADSTK): Likewise.
31393 (FPE_INTDIV): Likewise.
31394 (FPE_INTOVF): Likewise.
31395 (FPE_FLTDIV): Likewise.
31396 (FPE_FLTOVF): Likewise.
31397 (FPE_FLTUND): Likewise.
31398 (FPE_FLTRES): Likewise.
31399 (FPE_FLTINV): Likewise.
31400 (FPE_FLTSUB): Likewise.
31401 (SEGV_MAPERR): Likewise.
31402 (SEGV_ACCERR): Likewise.
31403 (BUS_ADRALN): Likewise.
31404 (BUS_ADRERR): Likewise.
31405 (BUS_OBJERR): Likewise.
31406 (BUS_MCEERR_AR): Likewise.
31407 (BUS_MCEERR_AO): Likewise.
31408 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31409 (TRAP_TRACE): Likewise.
31410 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31411 __USE_XOPEN2K8].
31412 (CLD_KILLED): Likewise.
31413 (CLD_DUMPED): Likewise.
31414 (CLD_TRAPPED): Likewise.
31415 (CLD_STOPPED): Likewise.
31416 (CLD_CONTINUED): Likewise.
31417 (POLL_IN): Likewise.
31418 (POLL_OUT): Likewise.
31419 (POLL_MSG): Likewise.
31420 (POLL_ERR): Likewise.
31421 (POLL_PRI): Likewise.
31422 (POLL_HUP): Likewise.
31423 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31424 (ILL_ILLOPN): Likewise.
31425 (ILL_ILLADR): Likewise.
31426 (ILL_ILLTRP): Likewise.
31427 (ILL_PRVOPC): Likewise.
31428 (ILL_PRVREG): Likewise.
31429 (ILL_COPROC): Likewise.
31430 (ILL_BADSTK): Likewise.
31431 (ILL_DBLFLT): Likewise.
31432 (ILL_HARDWALL): Likewise.
31433 (FPE_INTDIV): Likewise.
31434 (FPE_INTOVF): Likewise.
31435 (FPE_FLTDIV): Likewise.
31436 (FPE_FLTOVF): Likewise.
31437 (FPE_FLTUND): Likewise.
31438 (FPE_FLTRES): Likewise.
31439 (FPE_FLTINV): Likewise.
31440 (FPE_FLTSUB): Likewise.
31441 (SEGV_MAPERR): Likewise.
31442 (SEGV_ACCERR): Likewise.
31443 (BUS_ADRALN): Likewise.
31444 (BUS_ADRERR): Likewise.
31445 (BUS_OBJERR): Likewise.
31446 (BUS_MCEERR_AR): Likewise.
31447 (BUS_MCEERR_AO): Likewise.
31448 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31449 (TRAP_TRACE): Likewise.
31450 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31451 __USE_XOPEN2K8].
31452 (CLD_KILLED): Likewise.
31453 (CLD_DUMPED): Likewise.
31454 (CLD_TRAPPED): Likewise.
31455 (CLD_STOPPED): Likewise.
31456 (CLD_CONTINUED): Likewise.
31457 (POLL_IN): Likewise.
31458 (POLL_OUT): Likewise.
31459 (POLL_MSG): Likewise.
31460 (POLL_ERR): Likewise.
31461 (POLL_PRI): Likewise.
31462 (POLL_HUP): Likewise.
31463 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31464 (ILL_ILLOPN): Likewise.
31465 (ILL_ILLADR): Likewise.
31466 (ILL_ILLTRP): Likewise.
31467 (ILL_PRVOPC): Likewise.
31468 (ILL_PRVREG): Likewise.
31469 (ILL_COPROC): Likewise.
31470 (ILL_BADSTK): Likewise.
31471 (FPE_INTDIV): Likewise.
31472 (FPE_INTOVF): Likewise.
31473 (FPE_FLTDIV): Likewise.
31474 (FPE_FLTOVF): Likewise.
31475 (FPE_FLTUND): Likewise.
31476 (FPE_FLTRES): Likewise.
31477 (FPE_FLTINV): Likewise.
31478 (FPE_FLTSUB): Likewise.
31479 (SEGV_MAPERR): Likewise.
31480 (SEGV_ACCERR): Likewise.
31481 (BUS_ADRALN): Likewise.
31482 (BUS_ADRERR): Likewise.
31483 (BUS_OBJERR): Likewise.
31484 (BUS_MCEERR_AR): Likewise.
31485 (BUS_MCEERR_AO): Likewise.
31486 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31487 (TRAP_TRACE): Likewise.
31488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31489 __USE_XOPEN2K8].
31490 (CLD_KILLED): Likewise.
31491 (CLD_DUMPED): Likewise.
31492 (CLD_TRAPPED): Likewise.
31493 (CLD_STOPPED): Likewise.
31494 (CLD_CONTINUED): Likewise.
31495 (POLL_IN): Likewise.
31496 (POLL_OUT): Likewise.
31497 (POLL_MSG): Likewise.
31498 (POLL_ERR): Likewise.
31499 (POLL_PRI): Likewise.
31500 (POLL_HUP): Likewise.
31501 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31502 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31503
31504 [BZ #16670]
31505 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31506 before #include of <time.h>.
31507 [!__USE_XOPEN2K] (__need_timespec): Likewise.
31508 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31509 (test-xfail-UNIX98/sched.h/conform): Likewise.
31510
31511 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
31512
31513 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31514 error absence of trapping exception support.
31515 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31516
31517 2014-03-07 Joseph Myers <joseph@codesourcery.com>
31518
31519 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31520 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31521 * timezone/Makefile (testdata): Move definition above include of
31522 Rules.
31523 (test-zones): New variable.
31524 (tests-special): Add zone files.
31525 (build-testdata): Use $(evaluate-test).
31526
31527 * elf/Makefile (tests-special): Rename tests to end with .out.
31528 ($(objpfx)noload-mem): Likewise.
31529 ($(objpfx)tst-leaks1-mem): Likewise.
31530 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31531 * iconv/Makefile (xtests-special): Change test-iconvconfig to
31532 $(objpfx)test-iconvconfig.out.
31533 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
31534 set -e inside subshell and redirect output to file.
31535 * iconvdata/Makefile (generated): Rename tests to end with .out.
31536 Correct type.
31537 (tests-special): Rename tests to end with .out.
31538 ($(objpfx)mtrace-tst-loading): Likewise.
31539 * intl/Makefile (generated): Likewise.
31540 (tests-special): Likewise.
31541 ($(objpfx)mtrace-tst-gettext): Likewise.
31542 * misc/Makefile (generated): Likewise.
31543 (tests-special): Likewise.
31544 ($(objpfx)tst-error1-mem): Likewise.
31545 * nptl/Makefile (tests-special): Likewise.
31546 ($(objpfx)tst-stack3-mem): Likewise.
31547 (generated): Likewise.
31548 * posix/Makefile (generated): Likewise.
31549 (tests-special): Likewise.
31550 (xtests-special): Likewise.
31551 ($(objpfx)tst-fnmatch-mem): Likewise.
31552 ($(objpfx)bug-regex2-mem): Likewise.
31553 ($(objpfx)bug-regex14-mem): Likewise.
31554 ($(objpfx)bug-regex21-mem): Likewise.
31555 ($(objpfx)bug-regex31-mem): Likewise.
31556 ($(objpfx)tst-vfork3-mem): Likewise.
31557 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31558 ($(objpfx)tst-pcre-mem): Likewise.
31559 ($(objpfx)tst-boost-mem): Likewise.
31560 ($(objpfx)bug-ga2-mem): Likewise.
31561 ($(objpfx)bug-glob2-mem): Likewise.
31562 * resolv/Makefile (generate): Likewise.
31563 (tests-special): Likewise.
31564 (xtests-special): Likewise.
31565 (generated): Likewise.
31566 ($(objpfx)mtrace-tst-leaks): Likewise.
31567 ($(objpfx)mtrace-tst-leaks2): Likewise.
31568
31569 * scripts/merge-test-results.sh: New file.
31570 * Makefile (tests-special-notdir): New variable.
31571 (tests): Run merge-test-results.sh.
31572 (xtests): Likewise.
31573 * Rules (tests-special-notdir): New variable.
31574 (xtests-special-notdir): Likewise.
31575 (tests): Run merge-test-results.sh
31576 (xtests): Likewise.
31577
31578 * Makeconfig (test-xfail-name): New variable.
31579 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31580 compute variable name for expected failures.
31581 * conform/Makefile (conformtest-headers-data): New variable.
31582 (conformtest-standards): Likewise.
31583 (conformtest-headers-ISO): Likewise.
31584 (conformtest-headers-ISO99): Likewise.
31585 (conformtest-headers-ISO11): Likewise.
31586 (conformtest-headers-POSIX): Likewise.
31587 (conformtest-headers-XPG3): Likewise.
31588 (conformtest-headers-XPG4): Likewise.
31589 (conformtest-headers-UNIX98): Likewise.
31590 (conformtest-headers-XOPEN2K): Likewise.
31591 (conformtest-headers-POSIX2008): Likewise.
31592 (conformtest-headers-XOPEN2K8): Likewise.
31593 (conformtest-header-list-base): Likewise.
31594 (conformtest-header-list-tests): Likewise.
31595 (conformtest-header-base): Likewise.
31596 (conformtest-header-tests): Likewise.
31597 (tests-special): Add $(conformtest-header-list-tests). If
31598 [$(fast-check) && !$(cross-compiling)], add
31599 $(conformtest-header-tests) instead of
31600 $(objpfx)run-conformtest.out.
31601 (generated): Add $(conformtest-header-list-base). If
31602 [$(fast-check) && !$(cross-compiling)], add
31603 $(conformtest-header-base). Remove previous setting.
31604 ($(conformtest-header-list-tests)): New target.
31605 (test-xfail-run-conformtest): Remove variable.
31606 ($(objpfx)run-conformtest.out): Remove target.
31607 (test-xfail-ISO11/complex.h/conform): New variable.
31608 (test-xfail-ISO11/stdalign.h/conform): Likewise.
31609 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31610 (test-xfail-XPG3/varargs.h/conform): Likewise.
31611 (test-xfail-XPG4/varargs.h/conform): Likewise.
31612 (test-xfail-UNIX98/varargs.h/conform): Likewise.
31613 (test-xfail-XPG4/ndbm.h/conform): Likewise.
31614 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31615 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31616 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31617 (test-xfail-XPG3/fcntl.h/conform): Likewise.
31618 (test-xfail-XPG3/ftw.h/conform): Likewise.
31619 (test-xfail-XPG3/grp.h/conform): Likewise.
31620 (test-xfail-XPG3/langinfo.h/conform): Likewise.
31621 (test-xfail-XPG3/limits.h/conform): Likewise.
31622 (test-xfail-XPG3/pwd.h/conform): Likewise.
31623 (test-xfail-XPG3/search.h/conform): Likewise.
31624 (test-xfail-XPG3/signal.h/conform): Likewise.
31625 (test-xfail-XPG3/stdio.h/conform): Likewise.
31626 (test-xfail-XPG3/stdlib.h/conform): Likewise.
31627 (test-xfail-XPG3/string.h/conform): Likewise.
31628 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31629 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31630 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31631 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31632 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31633 (test-xfail-XPG3/sys/types.h/conform): Likewise.
31634 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31635 (test-xfail-XPG3/termios.h/conform): Likewise.
31636 (test-xfail-XPG3/time.h/conform): Likewise.
31637 (test-xfail-XPG3/unistd.h/conform): Likewise.
31638 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31639 (test-xfail-XPG4/fcntl.h/conform): Likewise.
31640 (test-xfail-XPG4/langinfo.h/conform): Likewise.
31641 (test-xfail-XPG4/netdb.h/conform): Likewise.
31642 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31643 (test-xfail-XPG4/signal.h/conform): Likewise.
31644 (test-xfail-XPG4/stdio.h/conform): Likewise.
31645 (test-xfail-XPG4/stdlib.h/conform): Likewise.
31646 (test-xfail-XPG4/stropts.h/conform): Likewise.
31647 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31648 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31649 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31650 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31651 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31652 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31653 (test-xfail-XPG4/sys/time.h/conform): Likewise.
31654 (test-xfail-XPG4/sys/types.h/conform): Likewise.
31655 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31656 (test-xfail-XPG4/termios.h/conform): Likewise.
31657 (test-xfail-XPG4/ucontext.h/conform): Likewise.
31658 (test-xfail-XPG4/unistd.h/conform): Likewise.
31659 (test-xfail-XPG4/utmpx.h/conform): Likewise.
31660 (test-xfail-POSIX/sched.h/conform): Likewise.
31661 (test-xfail-POSIX/signal.h/conform): Likewise.
31662 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31663 (test-xfail-POSIX/tar.h/conform): Likewise.
31664 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31665 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31666 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31667 (test-xfail-UNIX98/netdb.h/conform): Likewise.
31668 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31669 (test-xfail-UNIX98/sched.h/conform): Likewise.
31670 (test-xfail-UNIX98/signal.h/conform): Likewise.
31671 (test-xfail-UNIX98/stdio.h/conform): Likewise.
31672 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31673 (test-xfail-UNIX98/stropts.h/conform): Likewise.
31674 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31675 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31676 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31677 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31678 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31679 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31680 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31681 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31682 (test-xfail-UNIX98/unistd.h/conform): Likewise.
31683 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31684 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31685 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31686 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31687 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31688 (test-xfail-XOPEN2K/math.h/conform): Likewise.
31689 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31690 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31691 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31692 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31693 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31694 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31695 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31696 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31697 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31698 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31699 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31700 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31701 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31702 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31703 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31704 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31705 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31706 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31707 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31708 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31709 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31710 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31711 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31712 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31713 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31714 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31715 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31716 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31717 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31718 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31719 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31720 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31721 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31722 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31723 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31724 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31725 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31726 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31727 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31728 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31729 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31730 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31731 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31732 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31733 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31734 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31735 (conformtest-cc-flags): Likewise.
31736 ($(conformtest-header-tests): New target.
31737 * conform/check-header-lists.sh: New file.
31738 * conform/run-conformtest.sh: Remove.
31739
31740 * conform/conformtest.pl: Allow ' and \ in values given for
31741 constants.
31742 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31743 inclusion.
31744 [POSIX] (sys/types.h): Likewise.
31745 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31746 inclusion.
31747 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31748 inclusion.
31749 * conform/data/signal.h-data (SIGIO): Remove expectation.
31750 [XPG3] (SIGBUS): Do not expect.
31751 [POSIX || XPG3] (SIGPOLL): Likewise.
31752 [POSIX || XPG3] (SIGPROF): Likewise.
31753 [POSIX || XPG3] (SIGSYS): Likewise.
31754 [XPG3] (SIGTRAP): Likewise.
31755 [POSIX || XPG3] (SIGURG): Likewise.
31756 [POSIX || XPG3] (SIGVTALRM): Likewise.
31757 [POSIX || XPG3] (SIGXCPU): Likewise.
31758 [POSIX || XPG3] (SIGXFSZ): Likewise.
31759 [POSIX] (SA_SIGINFO): Expect.
31760 [XPG3] (siginfo_t): Do not expect type or contents.
31761 [POSIX] (si_pid): Do not expect element.
31762 [POSIX] (si_uid): Likewise.
31763 [POSIX] (si_addr): Likewise.
31764 [POSIX] (si_status): Likewise.
31765 [POSIX] (si_band): Likewise.
31766 [XPG4] (si_value): Likewise.
31767 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31768 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31769 [POSIX || XPG3] (ILL_ILLADR): Likewise.
31770 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31771 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31772 [POSIX || XPG3] (ILL_PRVREG): Likewise.
31773 [POSIX || XPG3] (ILL_COPROC): Likewise.
31774 [POSIX || XPG3] (ILL_BADSTK): Likewise.
31775 [POSIX || XPG3] (FPE_INTDIV): Likewise.
31776 [POSIX || XPG3] (FPE_INTOVF): Likewise.
31777 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31778 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31779 [POSIX || XPG3] (FPE_FLTUND): Likewise.
31780 [POSIX || XPG3] (FPE_FLTRES): Likewise.
31781 [POSIX || XPG3] (FPE_FLTINV): Likewise.
31782 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31783 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31784 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31785 [POSIX || XPG3] (BUS_ADRALN): Likewise.
31786 [POSIX || XPG3] (BUS_ADRERR): Likewise.
31787 [POSIX || XPG3] (BUS_OBJERR): Likewise.
31788 [POSIX || XPG3] (CLD_EXITED): Likewise.
31789 [POSIX || XPG3] (CLD_KILLED): Likewise.
31790 [POSIX || XPG3] (CLD_DUMPED): Likewise.
31791 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31792 [POSIX || XPG3] (CLD_STOPPED): Likewise.
31793 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31794 [POSIX || XPG3] (POLL_IN): Likewise.
31795 [POSIX || XPG3] (POLL_OUT): Likewise.
31796 [POSIX || XPG3] (POLL_MSG): Likewise.
31797 [POSIX || XPG3] (POLL_ERR): Likewise.
31798 [POSIX || XPG3] (POLL_PRI): Likewise.
31799 [POSIX || XPG3] (POLL_HUP): Likewise.
31800 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31801 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31802 (SIG*): Do not allow.
31803 [XPG3] (si_*): Likewise.
31804 [XPG3] (SI_*): Likewise.
31805 [XPG3 || XPG4] (sigev_*): Likewise.
31806 [XPG3 || XPG4] (SIGEV_*): Likewise.
31807 [XPG3 || XPG4] (sival_*): Likewise.
31808 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31809 [POSIX || XPG3] (BUS_*): Likewise.
31810 [POSIX || XPG3] (CLD_*): Likewise.
31811 [POSIX || XPG3] (FPE_*): Likewise.
31812 [POSIX || XPG3] (ILL_*): Likewise.
31813 [POSIX || XPG3] (POLL_*): Likewise.
31814 [POSIX || XPG3] (SEGV_*): Likewise.
31815 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31816 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31817 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31818 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31819 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31820 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31821 Specify type and value.
31822 (TVERSLEN): Likewise.
31823 (REGTYPE): Likewise.
31824 (AREGTYPE): Likewise.
31825 (LNKTYPE): Likewise.
31826 (SYMTYPE): Likewise.
31827 (CHRTYPE): Likewise.
31828 (BLKTYPE): Likewise.
31829 (DIRTYPE): Likewise.
31830 (FIFOTYPE): Likewise.
31831 (CONTTYPE): Likewise.
31832 (TSUID): Likewise.
31833 (TSGID): Likewise.
31834 (TSVTX): Likewise.
31835 (TUREAD): Likewise.
31836 (TUWRITE): Likewise.
31837 (TUEXEC): Likewise.
31838 (TGREAD): Likewise.
31839 (TGWRITE): Likewise.
31840 (TGEXEC): Likewise.
31841 (TOREAD): Likewise.
31842 (TOWRITE): Likewise.
31843 (TOEXEC): Likewise.
31844 [POSIX] (TSVTX): Expect constant.
31845
31846 2014-03-06 Joseph Myers <joseph@codesourcery.com>
31847
31848 * Makefile (tests): Change dependencies to ....
31849 (tests-special): ... additions to this variable.
31850 (tests): Depend on $(tests-special).
31851 * Makerules (check-abi-list): New variable.
31852 (check-abi): Depend on $(check-abi-list).
31853 [$(subdir) = elf] (tests-special): Add
31854 $(objpfx)check-abi-libc.out.
31855 [$(build-shared) = yes && subdir] (tests-special): Add
31856 $(check-abi-list).
31857 [$(build-shared) = yes && subdir] (tests): Do not depend on
31858 check-abi.
31859 * Rules (tests): Depend on $(tests-special).
31860 (xtests): Depend on $(xtests-special).
31861 * catgets/Makefile (tests): Change dependencies to ....
31862 (tests-special): ... additions to this variable.
31863 * conform/Makefile (tests): Change dependencies to ....
31864 (tests-special): ... additions to this variable.
31865 * elf/Makefile (tests): Change dependencies to ....
31866 (tests-special): ... additions to this variable.
31867 * grp/Makefile (tests): Change dependencies to ....
31868 (tests-special): ... additions to this variable.
31869 * iconv/Makefile (xtests): Change dependencies to ....
31870 (xtests-special): ... additions to this variable.
31871 * iconvdata/Makefile (tests): Change dependencies to ....
31872 (tests-special): ... additions to this variable.
31873 * intl/Makefile (tests): Change dependencies to ....
31874 (tests-special): ... additions to this variable. Also add
31875 $(objpfx)tst-gettext.out.
31876 * io/Makefile (tests): Change dependencies to ....
31877 (tests-special): ... additions to this variable.
31878 * libio/Makefile (tests): Change dependencies to ....
31879 (tests-special): ... additions to this variable.
31880 * malloc/Makefile (tests): Change dependencies to ....
31881 (tests-special): ... additions to this variable.
31882 * misc/Makefile (tests): Change dependencies to ....
31883 (tests-special): ... additions to this variable.
31884 * nptl/Makefile (tests): Change dependencies to ....
31885 (tests-special): ... additions to this variable.
31886 * nptl_db/Makefile (tests): Change dependencies to ....
31887 (tests-special): ... additions to this variable.
31888 * posix/Makefile (tests): Change dependencies to ....
31889 (tests-special): ... additions to this variable.
31890 (xtests): Change dependencies to ....
31891 (xtests-special): ... additions to this variable.
31892 * resolv/Makefile (tests): Change dependencies to ....
31893 (tests-special): ... additions to this variable.
31894 (xtests): Change dependencies to ....
31895 (xtests-special): ... additions to this variable.
31896 * stdio-common/Makefile (tests): Change dependencies to ....
31897 (tests-special): ... additions to this variable.
31898 (do-tst-unbputc): Remove target.
31899 (do-tst-printf): Likewise.
31900 * stdlib/Makefile (tests): Change dependencies to ....
31901 (tests-special): ... additions to this variable.
31902 * string/Makefile (tests): Change dependencies to ....
31903 (tests-special): ... additions to this variable.
31904 * sysdeps/x86/Makefile (tests): Change dependencies to ....
31905 (tests-special): ... additions to this variable.
31906
31907 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31908 whole file.
31909 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31910 whole file.
31911 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31912 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31913
31914 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31915 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31916 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31917 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31918 * conform/data/libgen.h-data [XPG3]: Likewise.
31919 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31920 * conform/data/ndbm.h-data [XPG3]: Likewise.
31921 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31922 * conform/data/netdb.h-data [XPG3]: Likewise.
31923 * conform/data/netinet/in.h-data [XPG3]: Likewise.
31924 * conform/data/poll.h-data [XPG3]: Likewise.
31925 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31926 * conform/data/strings.h-data [XPG3]: Likewise.
31927 * conform/data/stropts.h-data [XPG3]: Likewise.
31928 * conform/data/sys/mman.h-data [XPG3]: Likewise.
31929 * conform/data/sys/resource.h-data [XPG3]: Likewise.
31930 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31931 Likewise.
31932 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31933 * conform/data/sys/time.h-data [XPG3]: Likewise.
31934 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31935 * conform/data/sys/uio.h-data [XPG3]: Likewise.
31936 * conform/data/sys/un.h-data [XPG3]: Likewise.
31937 * conform/data/syslog.h-data [XPG3]: Likewise.
31938 * conform/data/ucontext.h-data [XPG3]: Likewise.
31939 * conform/data/utmpx.h-data [XPG3]: Likewise.
31940 * conform/data/varargs.h-data [UNIX98]: Enable file.
31941
31942 * manual/Makefile (INSTALL_INFO): Remove variable setting.
31943
31944 * math/libm-test.inc (struct test_f_f_data): Move expected results
31945 into structure for each rounding mode.
31946 (struct test_ff_f_data): Likewise.
31947 (struct test_ff_f_data_nexttoward): Likewise.
31948 (struct test_fi_f_data): Likewise.
31949 (struct test_fl_f_data): Likewise.
31950 (struct test_if_f_data): Likewise.
31951 (struct test_fff_f_data): Likewise.
31952 (struct test_c_f_data): Likewise.
31953 (struct test_f_f1_data): Likewise.
31954 (struct test_fF_f1_data): Likewise.
31955 (struct test_ffI_f1_data): Likewise.
31956 (struct test_c_c_data): Likewise.
31957 (struct test_cc_c_data): Likewise.
31958 (struct test_f_i_data): Likewise.
31959 (struct test_ff_i_data): Likewise.
31960 (struct test_f_l_data): Likewise.
31961 (struct test_f_L_data): Likewise.
31962 (struct test_fFF_11_data): Likewise.
31963 (RM_): New macro.
31964 (RM_FE_DOWNWARD): Likewise.
31965 (RM_FE_TONEAREST): Likewise.
31966 (RM_FE_TOWARDZERO): Likewise.
31967 (RM_FE_UPWARD): Likewise.
31968 (RUN_TEST_LOOP_f_f): Update references to expected results.
31969 (RUN_TEST_LOOP_2_f): Likewise.
31970 (RUN_TEST_LOOP_fff_f): Likewise.
31971 (RUN_TEST_LOOP_c_f): Likewise.
31972 (RUN_TEST_LOOP_f_f1): Likewise.
31973 (RUN_TEST_LOOP_fF_f1): Likewise.
31974 (RUN_TEST_LOOP_fI_f1): Likewise.
31975 (RUN_TEST_LOOP_ffI_f1): Likewise.
31976 (RUN_TEST_LOOP_c_c): Likewise.
31977 (RUN_TEST_LOOP_cc_c): Likewise.
31978 (RUN_TEST_LOOP_f_i): Likewise.
31979 (RUN_TEST_LOOP_f_i_tg): Likewise.
31980 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31981 (RUN_TEST_LOOP_f_b): Likewise.
31982 (RUN_TEST_LOOP_f_b_tg): Likewise.
31983 (RUN_TEST_LOOP_f_l): Likewise.
31984 (RUN_TEST_LOOP_f_L): Likewise.
31985 (RUN_TEST_LOOP_fFF_11): Likewise.
31986 * math/gen-libm-test.pl (parse_args): Output four copies of
31987 expected results for each test.
31988
31989 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31990 (__ASSUME_UTIMES): Remove.
31991 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31992 (__ASSUME_UTIMES): Likewise.
31993
31994 * math/gen-auto-libm-tests.c: Update comment on output format.
31995 (output_for_one_input_case): Generate before-rounding and
31996 after-rounding information as conditions on output flags not
31997 floating-point format.
31998 * math/auto-libm-test-out: Regenerated.
31999 * math/gen-libm-test.pl (cond_value): New function.
32000 (or_cond_value): Use cond_value.
32001 (generate_testfile): Handle conditional exceptions.
32002
32003 2014-03-05 Joseph Myers <joseph@codesourcery.com>
32004
32005 * math/libm-test.inc (max_valid_error): New variable.
32006 (init_max_error): Take new argument specifying whether function
32007 results are exactly determined. Set max_valid_error and bound
32008 other variables for errors based on this argument.
32009 (set_max_error): Do not record results above max_valid_error.
32010 (check_float_internal): Only accept errors of up to 0.5ulps if
32011 also at most max_valid_error.
32012 (START): Take new argument EXACT and pass it to init_max_error.
32013 (acos_test): Update call to START.
32014 (acos_test_tonearest): Likewise.
32015 (acos_test_towardzero): Likewise.
32016 (acos_test_downward): Likewise.
32017 (acos_test_upward): Likewise.
32018 (acosh_test): Likewise.
32019 (asin_test): Likewise.
32020 (asin_test_tonearest): Likewise.
32021 (asin_test_towardzero): Likewise.
32022 (asin_test_downward): Likewise.
32023 (asin_test_upward): Likewise.
32024 (asinh_test): Likewise.
32025 (atan_test): Likewise.
32026 (atanh_test): Likewise.
32027 (atan2_test): Likewise.
32028 (cabs_test): Likewise.
32029 (cacos_test): Likewise.
32030 (cacosh_test): Likewise.
32031 (carg_test): Likewise.
32032 (casin_test): Likewise.
32033 (casinh_test): Likewise.
32034 (catan_test): Likewise.
32035 (catanh_test): Likewise.
32036 (cbrt_test): Likewise.
32037 (ccos_test): Likewise.
32038 (ccosh_test): Likewise.
32039 (ceil_test): Likewise.
32040 (cexp_test): Likewise.
32041 (cimag_test): Likewise.
32042 (clog_test): Likewise.
32043 (clog10_test): Likewise.
32044 (conj_test): Likewise.
32045 (copysign_test): Likewise.
32046 (cos_test): Likewise.
32047 (cos_test_tonearest): Likewise.
32048 (cos_test_towardzero): Likewise.
32049 (cos_test_downward): Likewise.
32050 (cos_test_upward): Likewise.
32051 (cosh_test): Likewise.
32052 (cosh_test_tonearest): Likewise.
32053 (cosh_test_towardzero): Likewise.
32054 (cosh_test_downward): Likewise.
32055 (cosh_test_upward): Likewise.
32056 (cpow_test): Likewise.
32057 (cproj_test): Likewise.
32058 (creal_test): Likewise.
32059 (csin_test): Likewise.
32060 (csinh_test): Likewise.
32061 (csqrt_test): Likewise.
32062 (ctan_test): Likewise.
32063 (ctan_test_tonearest): Likewise.
32064 (ctan_test_towardzero): Likewise.
32065 (ctan_test_downward): Likewise.
32066 (ctan_test_upward): Likewise.
32067 (ctanh_test): Likewise.
32068 (ctanh_test_tonearest): Likewise.
32069 (ctanh_test_towardzero): Likewise.
32070 (ctanh_test_downward): Likewise.
32071 (ctanh_test_upward): Likewise.
32072 (erf_test): Likewise.
32073 (erfc_test): Likewise.
32074 (exp_test): Likewise.
32075 (exp_test_tonearest): Likewise.
32076 (exp_test_towardzero): Likewise.
32077 (exp_test_downward): Likewise.
32078 (exp_test_upward): Likewise.
32079 (exp10_test): Likewise.
32080 (exp10_test_tonearest): Likewise.
32081 (exp10_test_towardzero): Likewise.
32082 (exp10_test_downward): Likewise.
32083 (exp10_test_upward): Likewise.
32084 (pow10_test): Likewise.
32085 (exp2_test): Likewise.
32086 (expm1_test): Likewise.
32087 (expm1_test_tonearest): Likewise.
32088 (expm1_test_towardzero): Likewise.
32089 (expm1_test_downward): Likewise.
32090 (expm1_test_upward): Likewise.
32091 (fabs_test): Likewise.
32092 (fdim_test): Likewise.
32093 (floor_test): Likewise.
32094 (fma_test): Likewise.
32095 (fma_test_towardzero): Likewise.
32096 (fma_test_downward): Likewise.
32097 (fma_test_upward): Likewise.
32098 (fmax_test): Likewise.
32099 (fmin_test): Likewise.
32100 (fmod_test): Likewise.
32101 (fpclassify_test): Likewise.
32102 (frexp_test): Likewise.
32103 (hypot_test): Likewise.
32104 (ilogb_test): Likewise.
32105 (isfinite_test): Likewise.
32106 (finite_test): Likewise.
32107 (isgreater_test): Likewise.
32108 (isgreaterequal_test): Likewise.
32109 (isinf_test): Likewise.
32110 (isless_test): Likewise.
32111 (islessequal_test): Likewise.
32112 (islessgreater_test): Likewise.
32113 (isnan_test): Likewise.
32114 (isnormal_test): Likewise.
32115 (issignaling_test): Likewise.
32116 (isunordered_test): Likewise.
32117 (j0_test): Likewise.
32118 (j1_test): Likewise.
32119 (jn_test): Likewise.
32120 (ldexp_test): Likewise.
32121 (lgamma_test): Likewise.
32122 (gamma_test): Likewise.
32123 (lrint_test): Likewise.
32124 (lrint_test_tonearest): Likewise.
32125 (lrint_test_towardzero): Likewise.
32126 (lrint_test_downward): Likewise.
32127 (lrint_test_upward): Likewise.
32128 (llrint_test): Likewise.
32129 (llrint_test_tonearest): Likewise.
32130 (llrint_test_towardzero): Likewise.
32131 (llrint_test_downward): Likewise.
32132 (llrint_test_upward): Likewise.
32133 (log_test): Likewise.
32134 (log10_test): Likewise.
32135 (log1p_test): Likewise.
32136 (log2_test): Likewise.
32137 (logb_test): Likewise.
32138 (logb_test_downward): Likewise.
32139 (lround_test): Likewise.
32140 (llround_test): Likewise.
32141 (modf_test): Likewise.
32142 (nearbyint_test): Likewise.
32143 (nextafter_test): Likewise.
32144 (nexttoward_test): Likewise.
32145 (pow_test): Likewise.
32146 (pow_test_tonearest): Likewise.
32147 (pow_test_towardzero): Likewise.
32148 (pow_test_downward): Likewise.
32149 (pow_test_upward): Likewise.
32150 (remainder_test): Likewise.
32151 (drem_test): Likewise.
32152 (remainder_test_tonearest): Likewise.
32153 (drem_test_tonearest): Likewise.
32154 (remainder_test_towardzero): Likewise.
32155 (drem_test_towardzero): Likewise.
32156 (remainder_test_downward): Likewise.
32157 (drem_test_downward): Likewise.
32158 (remainder_test_upward): Likewise.
32159 (drem_test_upward): Likewise.
32160 (remquo_test): Likewise.
32161 (rint_test): Likewise.
32162 (rint_test_tonearest): Likewise.
32163 (rint_test_towardzero): Likewise.
32164 (rint_test_downward): Likewise.
32165 (rint_test_upward): Likewise.
32166 (round_test): Likewise.
32167 (scalb_test): Likewise.
32168 (scalbn_test): Likewise.
32169 (scalbln_test): Likewise.
32170 (signbit_test): Likewise.
32171 (sin_test): Likewise.
32172 (sin_test_tonearest): Likewise.
32173 (sin_test_towardzero): Likewise.
32174 (sin_test_downward): Likewise.
32175 (sin_test_upward): Likewise.
32176 (sincos_test): Likewise.
32177 (sinh_test): Likewise.
32178 (sinh_test_tonearest): Likewise.
32179 (sinh_test_towardzero): Likewise.
32180 (sinh_test_downward): Likewise.
32181 (sinh_test_upward): Likewise.
32182 (sqrt_test): Likewise.
32183 (sqrt_test_tonearest): Likewise.
32184 (sqrt_test_towardzero): Likewise.
32185 (sqrt_test_downward): Likewise.
32186 (sqrt_test_upward): Likewise.
32187 (tan_test): Likewise.
32188 (tan_test_tonearest): Likewise.
32189 (tan_test_towardzero): Likewise.
32190 (tan_test_downward): Likewise.
32191 (tan_test_upward): Likewise.
32192 (tanh_test): Likewise.
32193 (tgamma_test): Likewise.
32194 (trunc_test): Likewise.
32195 (y0_test): Likewise.
32196 (y1_test): Likewise.
32197 (yn_test): Likewise.
32198 (significand_test): Likewise.
32199
32200 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32201 individual tests in comment.
32202 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32203 (prev_max_error): New variable.
32204 (prev_real_max_error): Likewise.
32205 (prev_imag_max_error): Likewise.
32206 (compare_ulp_data): Don't refer to test names in comment.
32207 (find_test_ulps): Remove function.
32208 (find_function_ulps): Likewise.
32209 (find_complex_function_ulps): Likewise.
32210 (init_max_error): Take function name as argument. Look up ulps
32211 for that function.
32212 (print_ulps): Remove function.
32213 (print_max_error): Use prev_max_error instead of calling
32214 find_function_ulps.
32215 (print_complex_max_error): Use prev_real_max_error and
32216 prev_imag_max_error instead of calling find_complex_function_ulps.
32217 (check_float_internal): Take max_ulp parameter instead of calling
32218 find_test_ulps. Don't call print_ulps.
32219 (check_float): Update call to check_float_internal.
32220 (check_complex): Update calls to check_float_internal.
32221 (START): Pass argument to init_max_error.
32222 * math/gen-libm-test.pl (%results): Don't include "kind"
32223 information.
32224 (parse_ulps): Don't handle ulps of individual tests.
32225 (print_ulps_file): Likewise.
32226 (output_ulps): Likewise.
32227 * math/README.libm-test: Update.
32228 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32229 individual tests.
32230 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32231 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32232 * sysdeps/arm/libm-test-ulps: Likewise.
32233 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32234 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32235 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32236 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32237 * sysdeps/microblaze/libm-test-ulps: Likewise.
32238 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32239 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32241 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32243 * sysdeps/sh/libm-test-ulps: Likewise.
32244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32245 * sysdeps/tile/libm-test-ulps: Likewise.
32246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32247
32248 2014-03-04 Joseph Myers <joseph@codesourcery.com>
32249
32250 * math/libm-test.inc (print_complex_max_error): Check separately
32251 whether real and imaginary errors are within allowed range and
32252 pass 0 to print_complex_function_ulps instead of value within
32253 allowed range.
32254
32255 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32256
32257 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32258 formatting.
32259 (get_handles_fopen): Likewise.
32260 (do_write_test): Likewise.
32261
32262 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32263
32264 * libio/fileops.c (do_ftell): Use cached offset when
32265 available.
32266 * libio/iofwide.c (do_ftell_wide): Likewise.
32267 * libio/iofdopen.c (_IO_new_fdopen): Don't use
32268 _IO_file_attach.
32269 * libio/wfileops.c (_IO_fwide): Don't cache offset.
32270
32271 [BZ #16532]
32272 * libio/libioP.h (get_file_offset): New function.
32273 * libio/fileops.c (get_file_offset): Likewise.
32274 (do_ftell): Likewise.
32275 (_IO_new_file_seekoff): Split out ftell logic.
32276 * libio/wfileops.c (do_ftell_wide): Likewise.
32277 (_IO_wfile_seekoff): Split out ftell logic.
32278 * libio/tst-ftell-active-handler.c: New test case.
32279 * libio/Makefile (tests): Add it.
32280
32281 2014-03-03 Roland McGrath <roland@hack.frob.com>
32282
32283 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32284 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32285
32286 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32287
32288 [BZ #16639]
32289 * nscd/connections.c (nscd_init): Call do_exit.
32290 (start_threads): Call do_exit and notify_parent.
32291 (begin_drop_privileges): Call do_exit.
32292 (finish_drop_privileges): Likewise.
32293 * nscd/selinux.c (preserve_capabilities): Likewise.
32294 (install_real_capabilities): Likewise.
32295 (nscd_selinux_enabled): Likewise.
32296 (avc_create_thread): Likewise.
32297 (avc_alloc_lock): Likewise.
32298 (nscd_avc_init): Likewise.
32299 * nscd/nscd.c (parent_fd): New static variable.
32300 (main): Create a pipe between parent and child processes.
32301 Skip closing parent_fd.
32302 (monitor_child): New function.
32303 (do_exit): Likewise.
32304 (notify_parent): Likewise.
32305 * nscd/nscd.h (notify_parent): Likewise.
32306 (do_exit): Likewise.
32307
32308 2014-03-03 Carlos O'Donell <carlos@redhat.com>
32309
32310 * malloc/malloc.c (__libc_calloc): Revert last change.
32311
32312 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32313
32314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32315
32316 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32317
32318 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32320 implementation.
32321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32322 (__libc_ifunc_impl_list): Likewise.
32323 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32324 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32325 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32326 * string/strrchr.c: Define STRRCHR.
32327
32328 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
32329
32330 * benchtest/bench-strtok.c (simple_strtok): Delete.
32331 (strtok_string): Use as benchmark.
32332 * string/strtok (STRTOK): New macro.
32333
32334 2014-02-28 Carlos O'Donell <carlos@redhat.com>
32335
32336 * manual/threads.texi: Add header and standard comments to all
32337 functions.
32338
32339 * elf/dl-lookup.c (check_match): New function.
32340 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32341 (do_lookup_x): Remove nested function check_match. Use non-nested
32342 function check_match.
32343
32344 2014-02-28 Roland McGrath <roland@hack.frob.com>
32345
32346 * csu/Makefile (generated, before-compile): Use += rather than =.
32347 * catgets/Makefile (generated, generated-dirs): Likewise.
32348 * debug/Makefile (generated): Likewise.
32349 * dlfcn/Makefile (generated): Likewise.
32350 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32351 * iconvdata/Makefile (before-compile, generated): Likewise.
32352 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32353 * libio/Makefile (generated): Likewise.
32354 * malloc/Makefile (generated): Likewise.
32355 * manual/Makefile (generated, generated-dirs): Likewise.
32356 * misc/Makefile (generated): Likewise.
32357 * posix/Makefile (generated): Likewise.
32358 * resolv/Makefile (generated): Likewise.
32359 * sunrpc/Makefile (generated, generated-dirs): Likewise.
32360 * timezone/Makefile (generated, generated-dirs): Likewise.
32361
32362 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32363
32364 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32365
32366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32367 power8 implementation.
32368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32369 file: POWER8 llround ifunc implementation.
32370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32371 (__lllround): Add POWER8 implementation.
32372 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32373 POWER8 llround implementation.
32374
32375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32376 power8 implementation.
32377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32378 file: POWER8 llrint ifunc implementation.
32379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32380 Add POWER8 implementation.
32381 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32382 POWER8 llrint implementation.
32383
32384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32385 power8 implementation.
32386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32387 file: POWER8 finite ifunc implementation.
32388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32389 Add POWER8 implementation.
32390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32391 Likewise.
32392 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32393 POWER8 finite implementation.
32394 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32395
32396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32397 power8 implementation.
32398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32399 file: POWER8 isinf ifunc implementation.
32400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32401 POWER8 implementation.
32402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32403 Likewise.
32404 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32405 isinf implementation.
32406 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32407
32408 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32409 (INIT_ARCH): Add hwcap2 initialization.
32410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32411 power8 implementation.
32412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32413 file: POWER8 isnan ifunc implementation.
32414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32415 POWER8 implementation.
32416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32417 Likewise.
32418 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32419 isnan implementation.
32420 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32421
32422 2014-02-27 Joey Ye <joey.ye@arm.com>
32423
32424 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32425 (_FP_NANFRAC_Q): Set to zero.
32426
32427 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32428
32429 [BZ #16623]
32430 * math/auto-libm-test-in: New test inputs.
32431 * math/auto-libm-test-out: Regenerate.
32432 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32433 and DA.
32434 (__cos): Likewise.
32435 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32436
32437 2014-02-27 Joseph Myers <joseph@codesourcery.com>
32438
32439 * scripts/evaluate-test.sh: Take new argument indicating whether
32440 failure is expected.
32441 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32442 indicating whether failure is expected.
32443 * conform/Makefile (test-xfail-run-conformtest): New variable.
32444 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32445 level.
32446 * posix/Makefile (test-xfail-annexc): New variable.
32447 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32448
32449 2014-02-26 Joseph Myers <joseph@codesourcery.com>
32450
32451 * argp/Makefile: Include Makeconfig immediately after defining
32452 subdir.
32453 * assert/Makefile: Likewise.
32454 * benchtests/Makefile: Likewise.
32455 * catgets/Makefile: Likewise.
32456 * conform/Makefile: Likewise.
32457 * crypt/Makefile: Likewise.
32458 * csu/Makefile: Likewise.
32459 (all): Remove target.
32460 * ctype/Makefile: Include Makeconfig immediately after defining
32461 subdir.
32462 * debug/Makefile: Likewise.
32463 * dirent/Makefile: Likewise.
32464 * dlfcn/Makefile: Likewise.
32465 * gmon/Makefile: Likewise.
32466 * gnulib/Makefile: Likewise.
32467 * grp/Makefile: Likewise.
32468 * gshadow/Makefile: Likewise.
32469 * hesiod/Makefile: Likewise.
32470 * hurd/Makefile: Likewise.
32471 (all): Remove target.
32472 * iconvdata/Makefile: Include Makeconfig immediately after
32473 defining subdir.
32474 * inet/Makefile: Likewise.
32475 * intl/Makefile: Likewise.
32476 * io/Makefile: Likewise.
32477 * libio/Makefile: Likewise.
32478 (all): Remove target.
32479 * locale/Makefile: Include Makeconfig immediately after defining
32480 subdir.
32481 * login/Makefile: Likewise.
32482 * mach/Makefile: Likewise.
32483 (all): Remove target.
32484 * malloc/Makefile: Include Makeconfig immediately after defining
32485 subdir.
32486 (all): Remove target.
32487 * manual/Makefile: Include Makeconfig immediately after defining
32488 subdir.
32489 * math/Makefile: Likewise.
32490 * misc/Makefile: Likewise.
32491 * nis/Makefile: Likewise.
32492 * nss/Makefile: Likewise.
32493 * po/Makefile: Likewise.
32494 (all): Remove target.
32495 * posix/Makefile: Include Makeconfig immediately after defining
32496 subdir.
32497 * pwd/Makefile: Likewise.
32498 * resolv/Makefile: Likewise.
32499 * resource/Makefile: Likewise.
32500 * rt/Makefile: Likewise.
32501 * setjmp/Makefile: Likewise.
32502 * shadow/Makefile: Likewise.
32503 * signal/Makefile: Likewise.
32504 * socket/Makefile: Likewise.
32505 * soft-fp/Makefile: Likewise.
32506 * stdio-common/Makefile: Likewise.
32507 * stdlib/Makefile: Likewise.
32508 * streams/Makefile: Likewise.
32509 * string/Makefile: Likewise.
32510 * sunrpc/Makefile: Likewise.
32511 (all): Remove target.
32512 * sysvipc/Makefile: Include Makeconfig immediately after defining
32513 subdir.
32514 * termios/Makefile: Likewise.
32515 * time/Makefile: Likewise.
32516 * timezone/Makefile: Likewise.
32517 (all): Remove target.
32518 * wcsmbs/Makefile: Include Makeconfig immediately after defining
32519 subdir.
32520 * wctype/Makefile: Likewise.
32521
32522 2014-02-26 Steve Ellcey <sellcey@mips.com>
32523
32524 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32525 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32526 (libc_feholdexcept_setround_mips): Ditto.
32527 (libc_feholdsetround): New.
32528 (libc_feholdsetroundf): New.
32529 (libc_feholdsetroundl): New.
32530 (libc_feupdateenv_test_mips): New.
32531 (libc_feupdateenv_test): New.
32532 (libc_feupdateenv_testf): New.
32533 (libc_feupdateenv_testl): New.
32534 (libc_feresetround): New.
32535 (libc_feresetroundf): New.
32536 (libc_feresetroundl): New.
32537 (libc_fetestexcept_mips): New.
32538 (libc_fetestexcept): New.
32539 (libc_fetestexceptf): New.
32540 (libc_fetestexceptl): New.
32541 (HAVE_RM_CTX): New.
32542 (libc_feholdexcept_setround_mips_ctx): New.
32543 (libc_feholdexcept_setround_ctx): New.
32544 (libc_feholdexcept_setroundf_ctx): New.
32545 (libc_feholdexcept_setroundl_ctx): New.
32546 (libc_fesetenv_mips_ctx): New.
32547 (libc_fesetenv_ctx): New.
32548 (libc_fesetenv_ctxf): New.
32549 (libc_fesetenv_ctxl): New.
32550 (libc_feupdateenv_mips_ctx): New.
32551 (libc_feupdateenv_ctx): New.
32552 (libc_feupdateenvf_ctx): New.
32553 (libc_feupdateenvl_ctx): New.
32554 (libc_feholdsetround_mips_ctx): New.
32555 (libc_feholdsetround_ctx): New.
32556 (libc_feholdsetroundf_ctx): New.
32557 (libc_feholdsetroundl_ctx): New.
32558 (libc_feresetround_mips_ctx): New.
32559 (libc_feresetround_ctx): New.
32560 (libc_feresetroundf_ctx): New.
32561 (libc_feresetroundl_ctx): New.
32562
32563 2014-02-26 Carlos O'Donell <carlos@redhat.com>
32564
32565 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32566
32567 * manual/ipc.texi: New file.
32568 * manual/Makefile (chapters): Add ipc.
32569 * manual/job.texi: Add "Inter-Process Communication" to next.
32570 * manual/process.texi: Add "Inter-Process Communication" to prev.
32571
32572 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32573
32574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32575
32576 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
32577
32578 * malloc/malloc.c (__libc_calloc): Simplify implementation.
32579
32580 * manual/arith.texi: Fix spaces after sentences.
32581 * manual/charset.texi: Likewise.
32582 * manual/errno.texi: Likewise.
32583 * manual/install.texi: Likewise.
32584 * manual/llio.texi: Likewise.
32585 * manual/locale.texi: Likewise.
32586 * manual/maint.texi: Likewise.
32587 * manual/math.texi: Likewise.
32588 * manual/memory.texi: Likewise.
32589 * manual/message.texi: Likewise.
32590 * manual/probes.texi: Likewise.
32591 * manual/resource.texi: Likewise.
32592 * manual/signal.texi: Likewise.
32593 * manual/socket.texi: Likewise.
32594 * manual/stdio.texi: Likewise.
32595 * manual/string.texi: Likewise.
32596 * manual/time.texi: Likewise.
32597 * manual/users.texi: Likewise.
32598
32599 2014-02-25 Carlos O'Donell <carlos@redhat.com>
32600
32601 [BZ #16632]
32602 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32603 _DEFAULT_SOURCE is defined.
32604
32605 2014-02-25 Ulrich Drepper <drepper@gmail.com>
32606 Carlos O'Donell <carlos@redhat.com>
32607
32608 [BZ #16613]
32609 * elf/dl-tls.c (_dl_count_modids): New function.
32610 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32611 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32612 audit library and increment generation counter.
32613 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32614 * elf/tst-audit9.c: New file.
32615 * elf/tst-auditmod9a.c: New file.
32616 * elf/tst-auditmod9b.c: New file.
32617 * elf/Makefile: Add rules to build and run tst-audit9.
32618
32619 2014-02-25 Florian Weimer <fweimer@redhat.com>
32620
32621 [BZ #15347]
32622 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32623
32624 2014-02-25 Will Newton <will.newton@linaro.org>
32625
32626 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32627 (__longjmp): Restore sp and lr before restoring callee
32628 saved registers. Add longjmp and longjmp_target
32629 SystemTap probe point.
32630 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32631 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32632 Define to zero to match jmpbuf layout.
32633 * sysdeps/arm/setjmp.S: Include stap-probe.h.
32634 (__sigsetjmp): Save sp and lr before saving callee
32635 saved registers. Add setjmp SystemTap probe point.
32636
32637 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
32638
32639 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32640
32641 2014-02-24 Andreas Schwab <schwab@suse.de>
32642
32643 [BZ #15804]
32644 * elf/pldd.c (wait_for_ptrace_stop): New function.
32645 (main): Call it after attaching.
32646
32647 2014-02-22 Roland McGrath <roland@hack.frob.com>
32648
32649 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32650 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32651 Versions files is now verboten.
32652 * hurd/Versions (libc: GLIBC_2.0):
32653 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32654 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32655 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32656 * mach/Versions: Likewise.
32657
32658 * csu/Versions: Remove unused %include.
32659 * resolv/Versions: Likewise.
32660
32661 2014-02-21 Joseph Myers <joseph@codesourcery.com>
32662
32663 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32664 ($(objpfx)check-local-headers.out): Likewise.
32665 ($(objpfx)begin-end-check.out): Likewise.
32666 * Makerules (check-abi-%.out): Likewise.
32667 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32668 ($(objpfx)test2.cat): Likewise.
32669 ($(objpfx)de/libc.cat): Likewise.
32670 ($(objpfx)test-gencat.out): Likewise.
32671 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32672 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32673 ($(objpfx)noload-mem): Likewise.
32674 ($(objpfx)tst-pathopt.out): Likewise.
32675 ($(objpfx)tst-rtld-load-self.out): Likewise.
32676 ($(objpfx)tst-array1-cmp.out): Likewise.
32677 ($(objpfx)tst-array1-static-cmp.out): Likewise.
32678 ($(objpfx)tst-array2-cmp.out): Likewise.
32679 ($(objpfx)tst-array3-cmp.out): Likewise.
32680 ($(objpfx)tst-array4-cmp.out): Likewise.
32681 ($(objpfx)tst-array5-cmp.out): Likewise.
32682 ($(objpfx)tst-array5-static-cmp.out): Likewise.
32683 ($(objpfx)check-textrel.out): Likewise.
32684 ($(objpfx)check-execstack.out): Likewise.
32685 ($(objpfx)check-localplt.out): Likewise.
32686 ($(objpfx)order2-cmp.out): Likewise.
32687 ($(objpfx)tst-leaks1-mem): Likewise.
32688 ($(objpfx)tst-leaks1-static-mem): Likewise.
32689 ($(objpfx)tst-initorder-cmp.out): Likewise.
32690 ($(objpfx)tst-initorder2-cmp.out): Likewise.
32691 ($(objpfx)tst-unused-dep.out): Likewise.
32692 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32693 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32694 * iconv/Makefile (test-iconvconfig): Likewise.
32695 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32696 ($(objpfx)iconv-test.out): Likewise.
32697 ($(objpfx)tst-tables.out): Likewise.
32698 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32699 ($(objpfx)tst-gettext.out): Likewise.
32700 ($(objpfx)tst-translit.out): Likewise.
32701 ($(objpfx)tst-gettext2.out): Likewise.
32702 ($(objpfx)tst-gettext4.out): Likewise.
32703 ($(objpfx)tst-gettext6.out): Likewise.
32704 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32705 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32706 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32707 ($(objpfx)tst-fopenloc-mem.out): Likewise.
32708 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32709 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32710 * posix/Makefile ($(objpfx)globtest.out): Likewise.
32711 ($(objpfx)wordexp-tst.out): Likewise.
32712 ($(objpfx)annexc.out): Likewise.
32713 ($(objpfx)tst-fnmatch-mem): Likewise.
32714 ($(objpfx)bug-regex2-mem): Likewise.
32715 ($(objpfx)bug-regex14-mem): Likewise.
32716 ($(objpfx)bug-regex21-mem): Likewise.
32717 ($(objpfx)bug-regex31-mem): Likewise.
32718 ($(objpfx)tst-vfork3-mem): Likewise.
32719 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32720 ($(objpfx)tst-pcre-mem): Likewise.
32721 ($(objpfx)tst-boost-mem): Likewise.
32722 ($(objpfx)tst-getconf.out): Likewise.
32723 ($(objpfx)bug-ga2-mem): Likewise.
32724 ($(objpfx)bug-glob2-mem): Likewise.
32725 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32726 ($(objpfx)mtrace-tst-leaks2): Likewise.
32727 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32728 ($(objpfx)tst-printf.out): Likewise.
32729 ($(objpfx)tst-setvbuf1.out): Likewise.
32730 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32731 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32732 ($(objpfx)tst-fmtmsg.out): Likewise.
32733 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32734 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32735
32736 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32737 * bits/sigaction.h [__USE_MISC]: Likewise.
32738 * bits/waitstatus.h: Update #endif comments.
32739 * ctype/ctype.h: Likewise.
32740 * dirent/dirent.h: Likewise.
32741 [__USE_MISC]: Remove redundant conditionals.
32742 * grp/grp.h: Update #endif comments.
32743 [__USE_GNU]: Remove redundant conditionals.
32744 [__USE_MISC]: Likewise.
32745 * inet/netinet/in.h [__USE_GNU]: Likewise.
32746 * io/sys/stat.h [__USE_MISC]: Likewise.
32747 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32748 * libio/bits/stdio.h: Update #endif comments.
32749 [__USE_MISC]: Remove redundant conditionals.
32750 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32751 * libio/stdio.h: Update #endif comments.
32752 [__USE_MISC]: Remove redundant conditionals.
32753 * math/bits/math-finite.h [__USE_MISC]: Likewise.
32754 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32755 * math/math.h: Update #else and #endif comments.
32756 [__USE_MISC]: Remove redundant conditionals.
32757 * misc/sys/uio.h: Update #endif comments.
32758 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32759 * posix/glob.h [__USE_MISC]: Likewise.
32760 * posix/sys/types.h: Update #endif comments.
32761 [__USE_MISC]: Remove redundant conditionals.
32762 * posix/sys/wait.h: Update #endif comments.
32763 [__USE_MISC]: Remove redundant conditionals.
32764 * posix/unistd.h: Update #endif comments.
32765 [__USE_MISC]: Remove redundant conditionals.
32766 * pwd/pwd.h [__USE_GNU]: Likewise.
32767 [__USE_MISC]: Likewise.
32768 * resolv/netdb.h [__USE_GNU]: Likewise.
32769 * signal/signal.h: Update #endif comments.
32770 [__USE_MISC]: Remove redundant conditionals.
32771 * stdlib/stdlib.h: Update #else and #endif comments.
32772 [__USE_MISC]: Remove redundant conditionals.
32773 [__USE_GNU]: Likewise.
32774 * string/bits/string2.h [__USE_MISC]: Likewise.
32775 * string/string.h: Update #endif comments.
32776 [__USE_MISC]: Remove redundant conditionals.
32777 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32778 Likewise.
32779 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32780 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32781 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32782 Likewise.
32783 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32784 Likewise.
32785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32786 comments.
32787 [__USE_MISC]: Remove redundant conditionals.
32788 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32789 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32790 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32791 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32792 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32793 Likewise.
32794 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32795 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32796 Likewise.
32797 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32798 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32799 Likewise.
32800 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32801 Likewise.
32802 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32803 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32804 Likewise.
32805 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32806 Likewise.
32807 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32808 * sysdeps/x86/bits/string.h: Update #endif comments.
32809 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32810 conditionals.
32811 * time/sys/time.h: Update #endif comments.
32812 * time/time.h: Likewise.
32813 [__USE_MISC]: Remove redundant conditionals.
32814
32815 2014-02-21 Yury Gribov <y.gribov@samsung.com>
32816
32817 [BZ #16600]
32818 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32819
32820 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
32821
32822 * Versions.def (librt): Add GLIBC_2.17.
32823
32824 2014-02-21 Adam Conrad <adconrad@0c3.net>
32825
32826 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32827 synonym for _SYS_AUXV_H to allow direct inclusion.
32828 * sysdeps/sparc/bits/hwcap.h: Likewise.
32829 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32830 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32831 * sysdeps/sparc/sysdep.h: Likewise.
32832
32833 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32834
32835 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32836
32837 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32838
32839 * benchtests/bench-strrchr.c: Print length instead of position.
32840
32841 2014-02-20 Joseph Myers <joseph@codesourcery.com>
32842
32843 [BZ #16611]
32844 * sysdeps/unix/sysv/linux/kernel-features.h
32845 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32846 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32847 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32848 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32849 Likewise.
32850 [__i386__ || __powerpc__ || __sh__ || __sparc__]
32851 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32852 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32853 (__ASSUME_SENDMMSG): Define instead of using previous
32854 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32855 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32856 (__ASSUME_SENDMMSG_SYSCALL): Define.
32857 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32858 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32859 Likewise.
32860 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32861 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32862 Likewise.
32863 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32864 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32865 Likewise.
32866 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32867 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32868 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32869 [__ASSUME_SENDMMSG]: Change conditionals to
32870 [__ASSUME_SENDMMSG_SOCKETCALL].
32871 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32872 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32873 Define.
32874 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32875 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32876 Likewise.
32877 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32878 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32879 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32880 [!__ASSUME_SENDMMSG]: Change conditional to
32881 [!__ASSUME_SENDMMSG_SOCKETCALL].
32882 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32883 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32884 Define.
32885
32886 [BZ #16610]
32887 * sysdeps/unix/sysv/linux/kernel-features.h
32888 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32889 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32890 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32891 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32892 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32893 [__i386__ || __sparc__]
32894 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32895 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32896 (__ASSUME_RECVMMSG): Define instead of using previous
32897 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32898 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32899 (__ASSUME_RECVMMSG_SYSCALL): Define.
32900 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32901 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32902 Likewise.
32903 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32904 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32905 Likewise.
32906 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32907 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32908 Likewise.
32909 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32910 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32911 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32912 [__ASSUME_RECVMMSG]: Change condition to
32913 [__ASSUME_RECVMMSG_SOCKETCALL].
32914 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32916 Define.
32917 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32918 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32919 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32920 Likewise.
32921 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32922 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32923 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32924 [!__ASSUME_RECVMMSG]: Change condition to
32925 [!__ASSUME_RECVMMSG_SOCKETCALL].
32926 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32927 (__ASSUME_RECVMMSG_SYSCALL): Define.
32928
32929 [BZ #16609]
32930 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32931 __powerpc__ || __s390__ || __sh__ || __sparc__]
32932 (__ASSUME_SOCKETCALL): Define.
32933 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32934 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32935 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32936 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32937 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32938 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32939 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32940 (__ASSUME_ACCEPT4): Define instead of using previous
32941 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32942 __powerpc__ || __sparc__ || __s390__)] condition.
32943 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32944 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32945 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32946 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32947 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32948 [!__ASSUME_ACCEPT4]: Change condition to
32949 [!__ASSUME_ACCEPT4_SOCKETCALL].
32950 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32951 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
32952 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32953 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32954 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32955 __ASSUME_ACCEPT4_SYSCALL.
32956 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32957 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32958 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32959 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32960 __ASSUME_ACCEPT4_SYSCALL.
32961 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32962 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32963 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32964 [__ASSUME_ACCEPT4]: Change condition to
32965 [__ASSUME_ACCEPT4_SOCKETCALL].
32966 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32967 (__ASSUME_SOCKETCALL): Define.
32968 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32970 (__ASSUME_SOCKETCALL): Define.
32971 (__ASSUME_ACCEPT4): Remove.
32972 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32973 Define.
32974 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32975 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32976 Likewise.
32977 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32978 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32979
32980 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32981 macro.
32982 (HWCAP_ARM_LPAE): Likewise.
32983 (HWCAP_ARM_EVTSTRM): Likewise.
32984 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32985 Add vpfd32, lpae and evtstrm.
32986 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32987 Increase to 22.
32988
32989 2014-02-19 Joseph Myers <joseph@codesourcery.com>
32990
32991 * math/auto-libm-test-in: Add tests of clog10.
32992 * math/auto-libm-test-out: Regenerated.
32993 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32994 * sysdeps/i386/fpu/libm-test-ulps: Update.
32995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32996
32997 2014-02-18 Andreas Schwab <schwab@suse.de>
32998
32999 [BZ #16574]
33000 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33001 Store non-zero if the second buffer was newly allocated.
33002 (send_dg): Likewise.
33003 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33004 to send_vc and send_dg.
33005 (res_nsend): Pass NULL for ansp2_malloced.
33006 * resolv/res_query.c (__libc_res_nquery): Add parameter
33007 answerp2_malloced and pass it down to __libc_res_nsend.
33008 (res_nquery): Pass additional NULL to __libc_res_nquery.
33009 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33010 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
33011 second answer buffer if answerp2_malloced was set.
33012 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33013 (__libc_res_nquerydomain): Add parameter
33014 answerp2_malloced and pass it down to __libc_res_nquery.
33015 (res_nquerydomain): Pass additional NULL to
33016 __libc_res_nquerydomain.
33017 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33018 additional NULL to __libc_res_nsend and __libc_res_nquery.
33019 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33020 additional NULL to __libc_res_nsearch.
33021 (_nss_dns_gethostbyname4_r): Revert last change. Use new
33022 parameter of __libc_res_nsearch to check for separately allocated
33023 second buffer.
33024 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33025 __libc_res_nquery.
33026 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33027 additional NULL to __libc_res_nquery.
33028 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33029 __libc_res_nsearch.
33030 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33031 * include/resolv.h: Update prototypes of __libc_res_nquery,
33032 __libc_res_nsearch, __libc_res_nsend.
33033
33034 2014-02-18 Joseph Myers <joseph@codesourcery.com>
33035
33036 * math/auto-libm-test-in: Add tests of fma.
33037 * math/auto-libm-test-out: Regenerated.
33038 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33039 (fma_towardzero_test_data): Likewise.
33040 (fma_downward_test_data): Likewise.
33041 (fma_upward_test_data): Likewise.
33042 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33043 mpc_mode.
33044 (rounding_modes): Add values for new field.
33045 (func_calc_method): Add value mpfr_fff_f.
33046 (func_calc_desc): Add mpfr_fff_f union field.
33047 (test_function): Add field exact_args.
33048 (FUNC): Add macro argument EXACT_ARGS.
33049 (FUNC_mpfr_f_f): Update call to FUNC.
33050 (FUNC_mpfr_f_f): Likewise.
33051 (FUNC_mpfr_ff_f): Likewise.
33052 (FUNC_mpfr_if_f): Likewise.
33053 (FUNC_mpc_c_f): Likewise.
33054 (FUNC_mpc_c_c): Likewise.
33055 (test_functions): Add fma. Update calls to FUNC.
33056 (handle_input_arg): Add argument exact_args.
33057 (add_test): Update call to handle_input_arg.
33058 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
33059 (output_for_one_input_case): Update call to calc_generic_results.
33060 Recalculate exact zero results in each rounding mode.
33061
33062 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33063 non-negative before setting low bit.
33064 * math/auto-libm-test-in: Mark one asin test possibly having
33065 spurious underflow.
33066 * math/auto-libm-test-out: Regenerated.
33067 * sysdeps/i386/fpu/libm-test-ulps: Update.
33068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33069
33070 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
33071
33072 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33073 * sysdeps/unix/sysv/linux/microblaze: Move directory from
33074 ports/sysdeps/unix/sysv/linux/microblaze.
33075 * README: Add missing listing for microblaze*-*-linux-gnu.
33076
33077 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
33078
33079 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33080 duplicate code
33081
33082 2014-02-16 Mike Frysinger <vapier@gentoo.org>
33083
33084 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33085 * sysdeps/unix/sysv/linux/ia64: Move directory from
33086 ports/sysdeps/unix/sysv/linux/ia64.
33087 * README: Update listing for ia64-*-linux-gnu.
33088
33089 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
33090 Joseph Myers <joseph@codesourcery.com>
33091
33092 * Makeconfig (test-name): New variable.
33093 (evaluate-test): Likewise.
33094 * Makerules (do-test-clean): Remove .test-result files.
33095 (common-mostlyclean): Likewise.
33096 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33097 * scripts/evaluate-test.sh: New file.
33098
33099 2014-02-14 Joseph Myers <joseph@codesourcery.com>
33100
33101 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33102 separate $(objpfx)tst-fopenloc-cmp.out and
33103 $(objpfx)tst-fopenloc-mem.out targets.
33104 (tests): Update dependencies.
33105 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33106 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33107 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33108 (tst-rxspencer-no-utf8-ARGS): New variable.
33109 (tst-rxspencer-no-utf8-ENV): Likewise.
33110 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33111 instead of $(objpfx)tst-rxspencer-mem.
33112 ($(objpfx)tst-rxspencer-mem): Change target to
33113 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
33114 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33115 * posix/tst-rxspencer-no-utf8.c: New file.
33116
33117 * elf/Makefile ($(objpfx)order.out): Remove rule.
33118 [$(run-built-tests) = yes] (tests): Depend on
33119 $(objpfx)order-cmp.out.
33120 ($(objpfx)order-cmp.out): New rule.
33121 [$(run-built-tests) = yes] (tests): Depend on
33122 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33123 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33124 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33125 $(objpfx)tst-array5-static-cmp.out.
33126 ($(objpfx)tst-array1.out): Remove rule.
33127 ($(objpfx)tst-array1-cmp.out): New rule.
33128 ($(objpfx)tst-array1-static.out): Remove rule.
33129 ($(objpfx)tst-array1-static-cmp.out): New rule.
33130 ($(objpfx)tst-array2.out): Remove rule.
33131 ($(objpfx)tst-array2-cmp.out): New rule.
33132 ($(objpfx)tst-array3.out): Remove rule.
33133 ($(objpfx)tst-array3-cmp.out): New rule.
33134 ($(objpfx)tst-array4.out): Remove rule.
33135 ($(objpfx)tst-array4-cmp.out): New rule.
33136 ($(objpfx)tst-array5.out): Remove rule.
33137 ($(objpfx)tst-array5-cmp.out): New rule.
33138 ($(objpfx)tst-array5-static.out): Remove rule.
33139 ($(objpfx)tst-array5-static-cmp.out): New rule.
33140 [$(run-built-tests) = yes] (tests): Depend on
33141 $(objpfx)order2-cmp.out.
33142 ($(objpfx)order2.out): Remove rule.
33143 ($(objpfx)order2-cmp.out): New rule.
33144 ($(objpfx)tst-initorder.out): Remove rule.
33145 [$(run-built-tests) = yes] (tests): Depend on
33146 $(objpfx)tst-initorder-cmp.out.
33147 ($(objpfx)tst-initorder-cmp.out): New rule.
33148 ($(objpfx)tst-initorder2.out): Remove rule.
33149 [$(run-built-tests) = yes] (tests): Depend on
33150 $(objpfx)tst-initorder2-cmp.out.
33151 ($(objpfx)tst-initorder2-cmp.out): New rule.
33152 [$(run-built-tests) = yes] (tests): Depend on
33153 $(objpfx)tst-unused-dep-cmp.out.
33154 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33155 ($(objpfx)tst-unused-dep-cmp.out): New rule.
33156 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33157 on $(objpfx)tst-setvbuf1-cmp.out.
33158 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33159 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33160 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33161 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33162 ($(objpfx)tst-svc.out): Remove rule.
33163 ($(objpfx)tst-svc-cmp.out): New rule.
33164
33165 2014-02-13 Joseph Myers <joseph@codesourcery.com>
33166
33167 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33168 * ctype/ctype.h [__USE_MISC]: Likewise.
33169 * dirent/dirent.h [__USE_MISC]: Likewise.
33170 * grp/grp.h [__USE_MISC]: Likewise.
33171 * io/fcntl.h [__USE_MISC]: Likewise.
33172 * io/sys/stat.h [__USE_MISC]: Likewise.
33173 * libio/stdio.h [__USE_MISC]: Likewise.
33174 * posix/unistd.h [__USE_MISC]: Likewise.
33175 * pwd/pwd.h [__USE_MISC]: Likewise.
33176 * stdlib.h [__USE_MISC]: Likewise.
33177 * string/bits/string2.h [__USE_MISC]: Likewise.
33178 * string/string.h [__USE_MISC]: Likewise.
33179 * time/time.h [__USE_MISC]: Likewise.
33180
33181 2014-02-13 Andreas Schwab <schwab@suse.de>
33182
33183 [BZ #16574]
33184 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33185 second answer buffer if it was separately allocated.
33186
33187 2014-02-12 Joseph Myers <joseph@codesourcery.com>
33188
33189 * sysdeps/mips/math-tests.h: Include <features.h>.
33190 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33191 (ROUNDING_TESTS_long_double): Do not define.
33192 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33193 (EXCEPTION_TESTS_long_double): Likewise.
33194 * sysdeps/mips/mips64/libm-test-ulps: Update.
33195
33196 * include/features.h (__USE_BSD): Remove macro definitions.
33197 (__USE_SVID): Likewise.
33198 (_BSD_SOURCE): Likewise.
33199 (_SVID_SOURCE): Likewise.
33200 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33201 from definition of _DEFAULT_SOURCE.
33202 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33203 [_DEFAULT_SOURCE].
33204 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33205 * bits/mman.h [__USE_BSD]: Likewise.
33206 * bits/termios.h [__USE_BSD]: Likewise.
33207 * bits/waitstatus.h [__USE_BSD]: Likewise.
33208 * ctype/ctype.h [__USE_SVID]: Likewise.
33209 * dirent/dirent.h [__USE_BSD]: Likewise.
33210 * grp/grp.h [__USE_SVID]: Likewise.
33211 [__USE_BSD]: Likewise.
33212 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33213 * io/fcntl.h [__USE_BSD]: Likewise.
33214 * io/ftw.h [__USE_BSD]: Likewise.
33215 * io/sys/stat.h [__USE_BSD]: Likewise.
33216 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33217 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33218 * libio/stdio.h [__USE_SVID]: Likewise.
33219 [__USE_BSD]: Likewise.
33220 * math/math.h [__USE_SVID]: Likewise.
33221 [__USE_BSD]: Likewise.
33222 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33223 * misc/bits/syslog.h [__USE_BSD]: Likewise.
33224 * misc/search.h [__USE_SVID]: Likewise.
33225 * misc/sys/mman.h [__USE_BSD]: Likewise.
33226 * misc/sys/syslog.h [__USE_BSD]: Likewise.
33227 * misc/sys/uio.h [__USE_BSD]: Likewise.
33228 * posix/bits/unistd.h [__USE_BSD]: Likewise.
33229 * posix/glob.h [__USE_BSD]: Likewise.
33230 * posix/regex.h [__USE_BSD]: Likewise.
33231 * posix/sys/types.h [__USE_BSD]: Likewise.
33232 [__USE_SVID]: Likewise.
33233 * posix/sys/utsname.h [__USE_SVID]: Likewise.
33234 * posix/sys/wait.h [__USE_BSD]: Likewise.
33235 [__USE_SVID]: Likewise.
33236 * posix/unistd.h [__USE_BSD]: Likewise.
33237 [__USE_SVID]: Likewise.
33238 * pwd/pwd.h [__USE_SVID]: Likewise.
33239 * resolv/netdb.h [__USE_BSD]: Likewise.
33240 * setjmp/setjmp.h [__USE_BSD]: Likewise.
33241 * signal/signal.h [__USE_BSD]: Likewise.
33242 [__USE_SVID]: Likewise.
33243 * socket/sys/socket.h [__USE_BSD]: Likewise.
33244 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33245 * stdlib/stdlib.h [__USE_BSD]: Likewise.
33246 [__USE_SVID]: Likewise.
33247 * string/bits/string2.h [__USE_BSD]: Likewise.
33248 [__USE_SVID]: Likewise.
33249 * string/bits/string3.h [__USE_BSD]: Likewise.
33250 * string/endian.h [__USE_BSD]: Likewise.
33251 * string/string.h [__USE_SVID]: Likewise.
33252 [__USE_BSD]: Likewise.
33253 * string/strings.h [__USE_BSD]: Likewise.
33254 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33255 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33256 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33257 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33258 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33259 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33260 Likewise.
33261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33262 Likewise.
33263 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33264 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33265 Likewise.
33266 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33267 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33268 Likewise.
33269 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33270 Likewise.
33271 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33272 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33273 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33274 Likewise.
33275 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33276 Likewise.
33277 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33278 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33279 * termios/termios.h [__USE_BSD]: Likewise.
33280 * time/sys/time.h [__USE_BSD]: Likewise.
33281 * time/time.h [__USE_BSD]: Likewise.
33282 [__USE_SVID]: Likewise.
33283
33284 * Makefile (subdir_targets): Remove subdir_lint.out.
33285
33286 * stdio-common/Makefile (do-tst-unbputc): Remove target.
33287 (do-tst-printf): Likewise.
33288 (tests): Depend directly on $(objpfx)tst-unbputc.out and
33289 $(objpfx)tst-printf.out.
33290
33291 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33292
33293 * Makerules (check-abi-%): Change target to
33294 $(objpfx)check-abi-%.out.
33295 (check-abi target): Update dependencies.
33296 (check-abi-pattern variable): Redirect output of diff to $@.
33297 (check-abi variable): Likewise.
33298 * elf/Makefile (check-abi): Update dependencies.
33299
33300 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33301 unused.
33302 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33303 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33304 subnormal range.
33305 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33306 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33307 value has largest subnormal exponent.
33308 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33309 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33310 * sysdeps/aarch64/soft-fp/sfp-machine.h
33311 (_FP_TININESS_AFTER_ROUNDING): New macro.
33312 * sysdeps/alpha/soft-fp/sfp-machine.h
33313 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33314 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33315 Likewise.
33316 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33317 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33318 * sysdeps/mips/soft-fp/sfp-machine.h
33319 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33320 * sysdeps/powerpc/soft-fp/sfp-machine.h
33321 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33322 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33323 Likewise.
33324 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33325 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33326 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33327 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33328 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33329 Likewise.
33330
33331 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
33332
33333 [BZ #16545]
33334 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33335 model 1.
33336
33337 2014-02-12 Richard Henderson <rth@redhat.com>
33338
33339 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33340 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33341 * sysdeps/unix/sysv/linux/alpha: Move directory from
33342 ports/sysdeps/unix/sysv/linux/alpha.
33343 * README: Update listing for alpha-*-linux-gnu.
33344
33345 2014-02-11 Joseph Myers <joseph@codesourcery.com>
33346
33347 * include/features.h: Update comment documenting feature test
33348 macros.
33349 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
33350 _DEFAULT_SOURCE.
33351 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33352 (_SVID_SOURCE): Likewise.
33353 (_DEFAULT_SOURCE): Update description of default features.
33354 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33355 with _GNU_SOURCE.
33356 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33357 (S_ISVTX): Likewise.
33358 * manual/math.texi (Mathematical Constants): Likewise.
33359 * manual/signal.texi (Interrupted Primitives): Likewise.
33360 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33361 * math/test-matherr.c (_SVID_SOURCE): Do not define.
33362 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33363 Don't refer to _SVID_SOURCE in warning text.
33364
33365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33366
33367 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33368 already defined.
33369 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33370 * sysdeps/mips/dl-lookup.c: Remove.
33371 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33372
33373 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
33374
33375 [BZ #16447]
33376 * math/auto-libm-test-in: Add testcase for expl.
33377 * math/auto-libm-test-out: Regenerate.
33378 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33379 calculation of unsafe.
33380 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33381
33382 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
33383
33384 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33385 * sysdeps/unix/sysv/linux/aarch64: Move directory from
33386 ports/sysdeps/unix/sysv/linux/aarch64.
33387 * README: Update listing for aarch64*-*-linux-gnu.
33388
33389 2014-02-11 Will Newton <will.newton@linaro.org>
33390
33391 * manual/probes.texi (Mathematical Function Probes): Use
33392 "triggered" instead of "hit".
33393
33394 * manual/probes.texi (Internal Probes): Add documentation
33395 of setjmp, longjmp and longjmp_target probes.
33396
33397 * include/stap-probe.h: Add comment about probe argument
33398 format.
33399
33400 * malloc/mtrace.c (attribute_hidden): Remove unused macro
33401 definition. (tr_where, tr_freehook, tr_mallochook,
33402 tr_reallochook, tr_memalignhook): Use ANSI protoype.
33403
33404 2014-02-11 David S. Miller <davem@davemloft.net>
33405
33406 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33407 processing int_tests.
33408
33409 2014-02-10 Joseph Myers <joseph@codesourcery.com>
33410
33411 * sysdeps/mips: Move directory from ports/sysdeps/mips.
33412 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33413 * sysdeps/unix/sysv/linux/mips: Move directory from
33414 ports/sysdeps/unix/sysv/linux/mips.
33415 * README: Update listing for mips-*-linux-gnu and
33416 mips64-*-linux-gnu.
33417
33418 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
33419
33420 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33421 * sysdeps/unix/sysv/linux/m68k: Move directory from
33422 ports/sysdeps/unix/sysv/linux/m68k.
33423 * README: Update listing for m68k-*-linux-gnu.
33424
33425 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
33426
33427 * sysdeps/tile: Move directory from ports/sysdeps/tile.
33428 * sysdeps/unix/sysv/linux/generic: Move directory from
33429 ports/sysdeps/unix/sysv/linux/generic.
33430 * sysdeps/unix/sysv/linux/tile: Move directory from
33431 ports/sysdeps/unix/sysv/linux/tile.
33432 * README: Update listing for tile*-*-linux-gnu.
33433
33434 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
33435
33436 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33437 __builtin_expect.
33438 * benchtests/bench-memmem.c (simple_memmem): Likewise.
33439 * catgets/open_catalog.c (__open_catalog): Likewise.
33440 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33441 * debug/confstr_chk.c: Likewise.
33442 * debug/fread_chk.c (__fread_chk): Likewise.
33443 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33444 * debug/getgroups_chk.c: Likewise.
33445 * debug/mbsnrtowcs_chk.c: Likewise.
33446 * debug/mbsrtowcs_chk.c: Likewise.
33447 * debug/mbstowcs_chk.c: Likewise.
33448 * debug/memcpy_chk.c: Likewise.
33449 * debug/memmove_chk.c: Likewise.
33450 * debug/mempcpy_chk.c: Likewise.
33451 * debug/memset_chk.c: Likewise.
33452 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33453 * debug/strcat_chk.c (__strcat_chk): Likewise.
33454 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33455 * debug/strncat_chk.c (__strncat_chk): Likewise.
33456 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33457 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33458 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33459 * debug/wcpncpy_chk.c: Likewise.
33460 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33461 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33462 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33463 * debug/wcsncpy_chk.c: Likewise.
33464 * debug/wcsnrtombs_chk.c: Likewise.
33465 * debug/wcsrtombs_chk.c: Likewise.
33466 * debug/wcstombs_chk.c: Likewise.
33467 * debug/wmemcpy_chk.c: Likewise.
33468 * debug/wmemmove_chk.c: Likewise.
33469 * debug/wmempcpy_chk.c: Likewise.
33470 * debug/wmemset_chk.c: Likewise.
33471 * dirent/scandirat.c (SCANDIRAT): Likewise.
33472 * dlfcn/dladdr1.c (dladdr1): Likewise.
33473 * dlfcn/dladdr.c (dladdr): Likewise.
33474 * dlfcn/dlclose.c (dlclose_doit): Likewise.
33475 * dlfcn/dlerror.c (__dlerror): Likewise.
33476 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33477 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33478 * dlfcn/dlopen.c (dlopen_doit): Likewise.
33479 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33480 * dlfcn/dlsym.c (dlsym_doit): Likewise.
33481 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33482 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33483 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33484 Likewise.
33485 * elf/dl-conflict.c: Likewise.
33486 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33487 * elf/dl-dst.h: Likewise.
33488 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33489 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33490 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33491 * elf/dl-init.c (call_init, _dl_init): Likewise.
33492 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33493 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33494 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33495 Likewise.
33496 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33497 Likewise.
33498 * elf/dl-minimal.c (__libc_memalign): Likewise.
33499 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33500 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33501 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33502 * elf/dl-sym.c (do_sym): Likewise.
33503 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33504 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33505 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33506 * elf/dl-writev.h (_dl_writev): Likewise.
33507 * elf/ldconfig.c (search_dir): Likewise.
33508 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33509 (dl_main): Likewise.
33510 * elf/setup-vdso.h (setup_vdso): Likewise.
33511 * grp/compat-initgroups.c (compat_call): Likewise.
33512 * grp/fgetgrent.c (fgetgrent): Likewise.
33513 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33514 * grp/putgrent.c (putgrent): Likewise.
33515 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33516 Likewise.
33517 * hurd/hurdinit.c: Likewise.
33518 * iconvdata/8bit-gap.c (struct): Likewise.
33519 * iconvdata/ansi_x3.110.c : Likewise.
33520 * iconvdata/big5.c : Likewise.
33521 * iconvdata/big5hkscs.c : Likewise.
33522 * iconvdata/cp1255.c: Likewise.
33523 * iconvdata/cp1258.c : Likewise.
33524 * iconvdata/cp932.c : Likewise.
33525 * iconvdata/euc-cn.c: Likewise.
33526 * iconvdata/euc-jisx0213.c : Likewise.
33527 * iconvdata/euc-jp.c: Likewise.
33528 * iconvdata/euc-jp-ms.c : Likewise.
33529 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33530 * iconvdata/gb18030.c : Likewise.
33531 * iconvdata/gbbig5.c (const): Likewise.
33532 * iconvdata/gbgbk.c: Likewise.
33533 * iconvdata/gbk.c : Likewise.
33534 * iconvdata/ibm1364.c : Likewise.
33535 * iconvdata/ibm930.c : Likewise.
33536 * iconvdata/ibm932.c: Likewise.
33537 * iconvdata/ibm933.c : Likewise.
33538 * iconvdata/ibm935.c : Likewise.
33539 * iconvdata/ibm937.c : Likewise.
33540 * iconvdata/ibm939.c : Likewise.
33541 * iconvdata/ibm943.c: Likewise.
33542 * iconvdata/iso_11548-1.c: Likewise.
33543 * iconvdata/iso-2022-cn.c : Likewise.
33544 * iconvdata/iso-2022-cn-ext.c : Likewise.
33545 * iconvdata/iso-2022-jp-3.c: Likewise.
33546 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33547 * iconvdata/iso-2022-kr.c : Likewise.
33548 * iconvdata/iso646.c (gconv_end): Likewise.
33549 * iconvdata/iso_6937-2.c : Likewise.
33550 * iconvdata/iso_6937.c : Likewise.
33551 * iconvdata/iso8859-1.c: Likewise.
33552 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33553 * iconvdata/shift_jisx0213.c : Likewise.
33554 * iconvdata/sjis.c : Likewise.
33555 * iconvdata/t.61.c : Likewise.
33556 * iconvdata/tcvn5712-1.c : Likewise.
33557 * iconvdata/tscii.c: Likewise.
33558 * iconvdata/uhc.c : Likewise.
33559 * iconvdata/unicode.c (gconv_end): Likewise.
33560 * iconvdata/utf-16.c (gconv_end): Likewise.
33561 * iconvdata/utf-32.c (gconv_end): Likewise.
33562 * iconvdata/utf-7.c (base64): Likewise.
33563 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33564 * iconv/gconv_close.c (__gconv_close): Likewise.
33565 * iconv/gconv_open.c (__gconv_open): Likewise.
33566 * iconv/gconv_simple.c (internal_ucs4_loop_single)
33567 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33568 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33569 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33570 (ucs4le_internal_loop_single): Likewise.
33571 * iconv/iconv.c (iconv): Likewise.
33572 * iconv/iconv_close.c: Likewise.
33573 * iconv/loop.c (SINGLE): Likewise.
33574 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33575 * include/atomic.h: Likewise.
33576 * inet/inet6_option.c (option_alloc): Likewise.
33577 * intl/bindtextdom.c (set_binding_values): Likewise.
33578 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33579 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33580 * intl/localealias.c (read_alias_file): Likewise.
33581 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33582 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33583 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33584 * libio/fmemopen.c (fmemopen): Likewise.
33585 * libio/iofgets.c (_IO_fgets): Likewise.
33586 * libio/iofgets_u.c (fgets_unlocked): Likewise.
33587 * libio/iofgetws.c (fgetws): Likewise.
33588 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33589 * libio/iogetdelim.c (_IO_getdelim): Likewise.
33590 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33591 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33592 * locale/findlocale.c (_nl_find_locale): Likewise.
33593 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33594 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33595 Likewise.
33596 * locale/setlocale.c (setlocale): Likewise.
33597 * login/programs/pt_chown.c (main): Likewise.
33598 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33599 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33600 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33601 (mmap, mmap64, mremap, munmap): Likewise.
33602 * math/e_exp2l.c: Likewise.
33603 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33604 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33605 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33606 * math/s_catan.c (__catan): Likewise.
33607 * math/s_catanf.c (__catanf): Likewise.
33608 * math/s_catanh.c (__catanh): Likewise.
33609 * math/s_catanhf.c (__catanhf): Likewise.
33610 * math/s_catanhl.c (__catanhl): Likewise.
33611 * math/s_catanl.c (__catanl): Likewise.
33612 * math/s_ccosh.c (__ccosh): Likewise.
33613 * math/s_ccoshf.c (__ccoshf): Likewise.
33614 * math/s_ccoshl.c (__ccoshl): Likewise.
33615 * math/s_cexp.c (__cexp): Likewise.
33616 * math/s_cexpf.c (__cexpf): Likewise.
33617 * math/s_cexpl.c (__cexpl): Likewise.
33618 * math/s_clog10.c (__clog10): Likewise.
33619 * math/s_clog10f.c (__clog10f): Likewise.
33620 * math/s_clog10l.c (__clog10l): Likewise.
33621 * math/s_clog.c (__clog): Likewise.
33622 * math/s_clogf.c (__clogf): Likewise.
33623 * math/s_clogl.c (__clogl): Likewise.
33624 * math/s_csin.c (__csin): Likewise.
33625 * math/s_csinf.c (__csinf): Likewise.
33626 * math/s_csinh.c (__csinh): Likewise.
33627 * math/s_csinhf.c (__csinhf): Likewise.
33628 * math/s_csinhl.c (__csinhl): Likewise.
33629 * math/s_csinl.c (__csinl): Likewise.
33630 * math/s_csqrt.c (__csqrt): Likewise.
33631 * math/s_csqrtf.c (__csqrtf): Likewise.
33632 * math/s_csqrtl.c (__csqrtl): Likewise.
33633 * math/s_ctan.c (__ctan): Likewise.
33634 * math/s_ctanf.c (__ctanf): Likewise.
33635 * math/s_ctanh.c (__ctanh): Likewise.
33636 * math/s_ctanhf.c (__ctanhf): Likewise.
33637 * math/s_ctanhl.c (__ctanhl): Likewise.
33638 * math/s_ctanl.c (__ctanl): Likewise.
33639 * math/w_pow.c: Likewise.
33640 * math/w_powf.c: Likewise.
33641 * math/w_powl.c: Likewise.
33642 * math/w_scalb.c (sysv_scalb): Likewise.
33643 * math/w_scalbf.c (sysv_scalbf): Likewise.
33644 * math/w_scalbl.c (sysv_scalbl): Likewise.
33645 * misc/error.c (error_tail): Likewise.
33646 * misc/pselect.c (__pselect): Likewise.
33647 * nis/nis_callback.c (__nis_create_callback): Likewise.
33648 * nis/nis_call.c (__nisfind_server): Likewise.
33649 * nis/nis_creategroup.c (nis_creategroup): Likewise.
33650 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33651 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33652 * nis/nis_getservlist.c (nis_getservlist): Likewise.
33653 * nis/nis_lookup.c (nis_lookup): Likewise.
33654 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33655 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33656 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33657 * nis/nis_xdr.c (xdr_endpoint): Likewise.
33658 * nis/nss_compat/compat-grp.c (getgrent_next_file)
33659 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33660 * nis/nss_compat/compat-initgroups.c (add_group)
33661 (internal_getgrent_r): Likewise.
33662 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33663 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33664 * nis/nss_compat/compat-spwd.c (getspent_next_file)
33665 (internal_getspnam_r): Likewise.
33666 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33667 (_nss_nis_getaliasbyname_r): Likewise.
33668 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33669 (_nss_nis_getntohost_r): Likewise.
33670 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33671 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33672 (_nss_nis_getgrgid_r): Likewise.
33673 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33674 (internal_nis_gethostent_r, internal_gethostbyname2_r)
33675 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33676 (_nss_nis_gethostbyname4_r): Likewise.
33677 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33678 (initgroups_netid): Likewise.
33679 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33680 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33681 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33682 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33683 (_nss_nis_getprotobynumber_r): Likewise.
33684 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33685 (_nss_nis_getsecretkey): Likewise.
33686 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33687 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33688 (_nss_nis_getpwuid_r): Likewise.
33689 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33690 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33691 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33692 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33693 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33694 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33695 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33696 Likewise.
33697 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33698 (_nss_nisplus_getntohost_r): Likewise.
33699 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33700 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33701 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33702 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33703 Likewise.
33704 * nis/nss_nisplus/nisplus-initgroups.c
33705 (_nss_nisplus_initgroups_dyn): Likewise.
33706 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33707 (_nss_nisplus_getnetbyaddr_r): Likewise.
33708 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33709 (_nss_nisplus_getprotobynumber_r): Likewise.
33710 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33711 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33712 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33713 Likewise.
33714 * nis/nss_nisplus/nisplus-service.c
33715 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33716 (_nss_nisplus_getservbyport_r): Likewise.
33717 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33718 (_nss_nisplus_getspnam_r): Likewise.
33719 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33720 Likewise.
33721 * nscd/aicache.c (addhstaiX): Likewise.
33722 * nscd/cache.c (cache_search, prune_cache): Likewise.
33723 * nscd/connections.c (register_traced_file, send_ro_fd)
33724 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33725 (main_loop_epoll): Likewise.
33726 * nscd/grpcache.c (addgrbyX): Likewise.
33727 * nscd/hstcache.c (addhstbyX): Likewise.
33728 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33729 * nscd/mem.c (gc, mempool_alloc): Likewise.
33730 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33731 (addinnetgrX): Likewise.
33732 * nscd/nscd-client.h (__nscd_acquire_maplock)
33733 (__nscd_drop_map_ref): Likewise.
33734 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33735 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33736 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33737 Likewise.
33738 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33740 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33741 (__nscd_get_map_ref): Likewise.
33742 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33743 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33744 Likewise.
33745 * nscd/pwdcache.c (addpwbyX): Likewise.
33746 * nscd/selinux.c (preserve_capabilities): Likewise.
33747 * nscd/servicescache.c (addservbyX): Likewise.
33748 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33749 * posix/fnmatch.c (fnmatch): Likewise.
33750 * posix/getopt.c (_getopt_internal_r): Likewise.
33751 * posix/glob.c (glob, glob_in_dir): Likewise.
33752 * posix/wordexp.c (exec_comm_child): Likewise.
33753 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33754 (getanswer_r, gaih_getanswer_slice): Likewise.
33755 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33756 * resolv/res_init.c: Likewise.
33757 * resolv/res_mkquery.c (res_nmkquery): Likewise.
33758 * resolv/res_query.c (__libc_res_nquery): Likewise.
33759 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33760 Likewise.
33761 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33762 * stdio-common/perror.c (perror): Likewise.
33763 * stdio-common/printf_fp.c (___printf_fp): Likewise.
33764 * stdio-common/tmpnam.c (tmpnam): Likewise.
33765 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33766 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33767 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33768 Likewise.
33769 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33770 * stdlib/putenv.c (putenv): Likewise.
33771 * stdlib/setenv.c (__add_to_environ): Likewise.
33772 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33773 * stdlib/strtol_l.c (INTERNAL): Likewise.
33774 * string/memmem.c (memmem): Likewise.
33775 * string/strerror.c (strerror): Likewise.
33776 * string/strnlen.c (__strnlen): Likewise.
33777 * string/test-memmem.c (simple_memmem): Likewise.
33778 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33779 * sunrpc/pm_getport.c (__get_socket): Likewise.
33780 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33781 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33782 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33783 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33784 Likewise.
33785 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33786 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33787 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33788 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33789 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33790 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33791 Likewise.
33792 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33793 Likewise.
33794 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33795 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33796 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33797 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33798 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33800 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33801 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33802 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33803 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33804 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33805 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33806 Likewise.
33807 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33808 Likewise.
33809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33810 Likewise.
33811 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33813 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33814 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33815 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33816 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33817 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33820 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33821 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33822 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33823 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33824 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33826 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33827 Likewise.
33828 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33829 Likewise.
33830 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33831 Likewise.
33832 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33833 Likewise.
33834 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33836 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33837 Likewise.
33838 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33839 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33840 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33841 * sysdeps/posix/sleep.c: Likewise.
33842 * sysdeps/posix/tempname.c: Likewise.
33843 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33844 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33845 Likewise.
33846 * sysdeps/powerpc/powerpc32/dl-machine.h
33847 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33848 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33850 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33851 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33852 Likewise.
33853 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33854 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33855 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33856 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33857 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33858 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33859 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33860 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33861 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33862 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33864 (elf_machine_lazy_rel): Likewise.
33865 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33867 (elf_machine_lazy_rel): Likewise.
33868 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33869 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33870 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33871 * sysdeps/unix/grantpt.c (grantpt): Likewise.
33872 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33873 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33874 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33876 Likewise.
33877 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33878 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33879 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33880 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33881 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33882 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33883 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33884 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33885 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33886 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33887 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33888 Likewise.
33889 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33890 (__posix_fallocate64_l64): Likewise.
33891 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33892 (posix_fallocate): Likewise.
33893 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33894 Likewise.
33895 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33896 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33897 (getifaddrs_internal): Likewise.
33898 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33899 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33900 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33901 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33902 * sysdeps/unix/sysv/linux/posix_fallocate64.c
33903 (__posix_fallocate64_l64): Likewise.
33904 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33905 Likewise.
33906 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33907 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33908 (__get_clockfreq): Likewise.
33909 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33910 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33911 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33913 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33914 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33915 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33916 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33917 Likewise.
33918 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33919 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33920 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33921 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33922 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33923 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33924 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33925 Likewise.
33926 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33927 (posix_fallocate): Likewise.
33928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33929 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33930 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33931 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33932 (elf_machine_rela, elf_machine_rela_relative)
33933 (elf_machine_lazy_rel): Likewise.
33934 * time/asctime.c (asctime_internal): Likewise.
33935 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33936 * time/tzset.c (__tzset_parse_tz): Likewise.
33937 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33938 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33939 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33940 * wcsmbs/wcsmbsload.h: Likewise.
33941
33942 [BZ #15894]
33943 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33944
33945 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33946 (arena_get2): Remove THREAD_STATS conditionals.
33947 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33948 (__malloc_stats, int): Likewise.
33949
33950 2014-02-08 Mike Frysinger <vapier@gentoo.org>
33951
33952 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33953 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
33954
33955 * manual/setjmp.texi: Fix typos/grammar errors.
33956
33957 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33958 Only return early when n is <= 0. Delete unused return statement.
33959
33960 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33961 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33962 * debug/tst-longjmp_chk3.c: New file.
33963
33964 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33965 (test_main): Replace code with set_fortify_handler call.
33966 * debug/test-strcpy_chk.c: Likewise.
33967 * debug/tst-chk1.c: Likewise.
33968 * debug/tst-longjmp_chk.c: Likewise.
33969 * test-skeleton.c: Include fcntl.h & paths.h
33970 (set_fortify_handler): Define.
33971
33972 * debug/tst-longjmp_chk.c: Add header comment and include
33973 ../test-skeleton.c.
33974 (do_test): Mark static.
33975 (TEST_FUNCTION): Define.
33976
33977 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33978 (IP_PMTUDISC_INTERFACE): Likewise.
33979 (IP_MULTICAST_IF): Likewise.
33980 (IP_MULTICAST_TTL): Likewise.
33981 (IP_MULTICAST_LOOP): Likewise.
33982 (IP_ADD_MEMBERSHIP): Likewise.
33983 (IP_DROP_MEMBERSHIP): Likewise.
33984 (IP_UNBLOCK_SOURCE): Likewise.
33985 (IP_BLOCK_SOURCE): Likewise.
33986 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33987 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33988 (IP_MSFILTER): Likewise.
33989 (MCAST_JOIN_GROUP): Likewise.
33990 (MCAST_BLOCK_SOURCE): Likewise.
33991 (MCAST_UNBLOCK_SOURCE): Likewise.
33992 (MCAST_LEAVE_GROUP): Likewise.
33993 (MCAST_JOIN_SOURCE_GROUP): Likewise.
33994 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33995 (MCAST_MSFILTER): Likewise.
33996 (IP_MULTICAST_ALL): Likewise.
33997 (IP_UNICAST_IF): Likewise.
33998
33999 * timezone/Makefile: Delete $(have-ksh) check.
34000 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34001 * timezone/tzselect.ksh: Add +x mode bits.
34002
34003 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34004 (ANON_INODE_FS_MAGIC): Likewise.
34005 (BDEVFS_MAGIC): Likewise.
34006 (BINFMTFS_MAGIC): Likewise.
34007 (BTRFS_TEST_MAGIC): Likewise.
34008 (CRAMFS_MAGIC_WEND): Likewise.
34009 (DEBUGFS_MAGIC): Likewise.
34010 (ECRYPTFS_SUPER_MAGIC): Likewise.
34011 (EXT3_SUPER_MAGIC): Likewise.
34012 (EXT4_SUPER_MAGIC): Likewise.
34013 (FUTEXFS_SUPER_MAGIC): Likewise.
34014 (HOSTFS_SUPER_MAGIC): Likewise.
34015 (HUGETLBFS_MAGIC): Likewise.
34016 (MINIX3_SUPER_MAGIC): Likewise.
34017 (MTD_INODE_FS_MAGIC): Likewise.
34018 (NILFS_SUPER_MAGIC): Likewise.
34019 (OPENPROM_SUPER_MAGIC): Likewise.
34020 (PIPEFS_MAGIC): Likewise.
34021 (PSTOREFS_MAGIC): Likewise.
34022 (QNX6_SUPER_MAGIC): Likewise.
34023 (RAMFS_MAGIC): Likewise.
34024 (REISERFS_SUPER_MAGIC_STRING): Likewise.
34025 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34026 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34027 (SECURITYFS_MAGIC): Likewise.
34028 (SELINUX_MAGIC): Likewise.
34029 (SMACK_MAGIC): Likewise.
34030 (SOCKFS_MAGIC): Likewise.
34031 (SQUASHFS_MAGIC): Likewise.
34032 (STACK_END_MAGIC): Likewise.
34033 (TMPFS_MAGIC): Likewise.
34034 (USBDEVICE_SUPER_MAGIC): Likewise.
34035 (V9FS_MAGIC): Likewise.
34036 (XENFS_SUPER_MAGIC): Likewise.
34037 (CRAMFS_MAGIC): Fix typo in comment.
34038 (EXT2_SUPER_MAGIC): Update comment.
34039 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34040
34041 2014-02-08 Joseph Myers <joseph@codesourcery.com>
34042
34043 * sysdeps/arm: Move directory from ports/sysdeps/arm.
34044 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34045 * sysdeps/unix/sysv/linux/arm: Move directory from
34046 ports/sysdeps/unix/sysv/linux/arm.
34047 * README: Update listing for arm-*-linux-gnueabi.
34048
34049 * README: Remove mention of am33.
34050
34051 2014-02-07 Roland McGrath <roland@hack.frob.com>
34052
34053 * bits/sigset.h (__sigemptyset): Use a statement expression rather
34054 than the comma operator, to avoid "rhs of comma has no effect"
34055 compiler warnings.
34056 (__sigfillset, __sigandset, __sigorset): Likewise.
34057 * include/signal.h (__sigemptyset): Likewise.
34058 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34059
34060 2014-02-07 Allan McRae <allan@archlinux.org>
34061
34062 * version.h (RELEASE): Set to "development".
34063 (VERSION): Set to "2.19.90"
34064 * NEWS: Add 2.20 section.
34065
34066 2014-02-06 Carlos O'Donell <carlos@redhat.com>
34067
34068 [BZ #16529]
34069 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34070
34071 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34072
34073 * manual/contrib.texi: Update entry for Carlos O'Donell,
34074 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34075
34076 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
34077
34078 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34079
34080 * sysdeps/unix/sysv/linux/kernel-features.h
34081 [__LINUX_KERNEL_VERSION >= 0x020621]
34082 (__ASSUME_PROC_PID_TASK_COMM): Define.
34083
34084 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34085
34086 [BZ #16398]
34087 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34088 conversion when destination buffer does not have enough space.
34089 * libio/tst-ftell-partial-wide.c: New test case.
34090 * libio/Makefile (tests): Add tst-ftell-partial-wide.
34091
34092 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34093 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
34094 Leonard and Allan McRae.
34095
34096 2014-02-04 David S. Miller <davem@davemloft.net>
34097
34098 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34099 32-bit.
34100
34101 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34102
34103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34104 New file
34105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34106 New file
34107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34108 New file.
34109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34110 New file.
34111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34112 New file.
34113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34114 New file.
34115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34116 New file.
34117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34118 New file.
34119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34120 New file.
34121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34122 New file.
34123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34124 New file.
34125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34126 New file.
34127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34128 New file.
34129
34130 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34131
34132 * nptl/shlib-versions: Change powerpc*le start to 2.17.
34133 * shlib-versions: Likewise.
34134
34135 2014-02-04 Roland McGrath <roland@hack.frob.com>
34136 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34137
34138 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34139 (abilist-pattern): New variable, set to %-le.abilist.
34140
34141 * Makerules (abilist-pattern): New variable.
34142 (vpath): Use $(abilist-pattern) in place of %.abilist.
34143 (check-abi-% pattern rule): Likewise.
34144 (check-abi, update-abi): Likewise.
34145
34146 2014-02-04 Eric Wong <normalperson@yhbt.net>
34147
34148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34149
34150 2014-02-03 Carlos O'Donell <carlos@redhat.com>
34151
34152 * manual/startup.texi: Add next, previous, and top entries for
34153 the `Program Arguments' and `Environment Variables' nodes.
34154
34155 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
34156
34157 * manual/macros.texi: Add comments before MTASC-safety macros.
34158
34159 * manual/users.texi: Document MTASC-safety properties.
34160
34161 * manual/threads.texi (pthread_key_create, pthread_key_delete)
34162 (pthread_getspecific, pthread_setspecific): Format with
34163 @deftypefun, and add @safety note.
34164 * manual/signal.texi: Move comments that analyze the above
34165 functions to their home place.
34166
34167 2014-02-03 Allan McRae <allan@archlinux.org>
34168
34169 * po/sl.po: Update Slovenian translation from translation project.
34170
34171 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
34172
34173 * manual/time.texi (timegm): Add missing blank after @c.
34174 Reported by Joseph Myers <joseph@codesourcery.com>.
34175
34176 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
34177
34178 * manual/check-safety.sh: New.
34179 * manual/Makefile ($(objpfx)stamp-summary): Run it.
34180
34181 * manual/terminal.texi: Document MTASC-safety properties.
34182
34183 * manual/filesys.texi: Document MTASC-safety properties.
34184
34185 * manual/errno.texi: Document MTASC-safety properties.
34186
34187 * manual/intro.texi: Document safety identifiers and
34188 conditionals.
34189
34190 * manual/string.texi (wcstok): Fix prototype.
34191 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34192
34193 * manual/time.texi: Document MTASC-safety properties.
34194
34195 * manual/string.texi: Document MTASC-safety properties.
34196
34197 * manual/threads.texi: Document MTASC-safety properties.
34198
34199 * manual/stdio.texi: Document MTASC-safety properties.
34200
34201 * manual/syslog.texi: Document MTASC-safety properties.
34202
34203 * manual/sysinfo.texi: Document MTASC-safety properties.
34204
34205 * manual/startup.texi: Document MTASC-safety properties.
34206
34207 * manual/socket.texi: Document MTASC-safety properties.
34208
34209 * manual/signal.texi: Document MTASC-safety properties.
34210
34211 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
34212
34213 * manual/setjmp.texi: Document MTASC-safety properties.
34214
34215 * manual/search.texi: Document MTASC-safety properties.
34216
34217 * manual/resource.texi: Document MTASC-safety properties.
34218
34219 * manual/process.texi: Document MTASC-safety properties.
34220
34221 * manual/platform.texi: Document MTASC-safety properties.
34222
34223 * manual/pipe.texi: Document MTASC-safety properties.
34224
34225 * manual/pattern.texi: Document MTASC-safety properties.
34226
34227 * manual/message.texi: Document MTASC-safety properties.
34228
34229 [BZ #12751]
34230 * manual/memory.texi: Document MTASC-safety properties.
34231
34232 * manual/math.texi: Document MTASC-safety properties.
34233
34234 * manual/locale.texi: Document MTASC-safety properties.
34235
34236 * manual/llio.texi: Document MTASC-safety properties.
34237
34238 * manual/libdl.texi: New.
34239
34240 * manual/lang.texi: Document MTASC-safety properties.
34241
34242 * manual/job.texi: Document MTASC-safety properties.
34243
34244 * manual/getopt.texi: Document MTASC-safety properties.
34245
34246 * manual/ctype.texi: Document MTASC-safety properties.
34247
34248 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
34249
34250 [BZ #16046]
34251 * csu/libc-tls.c (static_map): Remove variable.
34252 (__libc_setup_tls): Use main executable's link map for TLS data.
34253 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34254 casing for LM_ID_BASE and GL(dl_nns).
34255 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34256 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
34257 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34258 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34259 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34260 member.
34261 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34262 l_phnum members.
34263
34264 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
34265
34266 * manual/debug.texi: Document MTASC-safety properties.
34267
34268 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
34269
34270 [BZ #16510]
34271 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34272 of __x86_64__ when disabling x87 inline functions.
34273
34274 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
34275
34276 * manual/charset.texi: Document MTASC-safety properties.
34277
34278 * manual/crypt.texi: Document MTASC-safety properties.
34279
34280 * manual/conf.texi: Document MTASC-safety properties.
34281
34282 * manual/arith.texi: Document MTASC-safety properties.
34283
34284 * manual/argp.texi: Document MTASC-safety properties.
34285
34286 * manual/macros.texi: Introduce macros to document multi
34287 thread, asynchronous signal and asynchronous cancellation
34288 safety properties.
34289 * manual/intro.texi: Introduce the properties themselves.
34290
34291 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34292
34293 * sysdeps/sh/sh4/Makefile: New file.
34294
34295 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
34296
34297 * math/gen-libm-test.pl ($srcdir): New variable.
34298 ($auto_input): Use it.
34299
34300 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34301
34302 [BZ #16506]
34303 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34304 access beyond array bounds when parsing netgroups file.
34305
34306 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34307 the old buffer before realloc.
34308
34309 2014-01-27 Allan McRae <allan@archlinux.org>
34310
34311 * po/fr.po: Update French translation from translation project.
34312
34313 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34314
34315 * sysdeps/sh/libm-test-ulps: Regenerate.
34316
34317 2014-01-24 David S. Miller <davem@davemloft.net>
34318
34319 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34320
34321 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34322
34323 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34324 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34325
34326 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34327
34328 [BZ #16474]
34329 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34330 string pointers after reallocation.
34331
34332 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34333
34334 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34335 __SH4A__ instead of __SH_FPU_ANY__.
34336
34337 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34338
34339 * sysdeps/sh/fpu_control.h: New file.
34340 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34341 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34342 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34343 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34344 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34345 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34346 * sysdeps/sh/sys/ucontext.h: Remove.
34347 * sysdeps/sh/sys: Remove directory.
34348
34349 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34350
34351 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34352 s390/sys/ucontext.h.
34353 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34354 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34355
34356 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
34357
34358 [BZ #15605]
34359 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34360
34361 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34362
34363 [BZ#16431]
34364 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34365 Adjust the vDSO correctly for internal calls.
34366 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34367
34368 2014-01-20 Allan McRae <allan@archlinux.org>
34369
34370 * po/ca.po: Update Catalan translation from translation project.
34371
34372 2014-01-16 Mike Frysinger <vapier@gentoo.org>
34373
34374 * sysdeps/s390/sotruss-lib.c: New file.
34375
34376 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34377
34378 [BZ#16430]
34379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34380 (__GI___gettimeofday): Alias for a different internal symbol to avoid
34381 local calls issues by not having a PLT stub required for IFUNC calls.
34382 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34383
34384 2014-01-16 Joseph Myers <joseph@codesourcery.com>
34385
34386 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34387 * math/test-fpucw-static.c: Likewise.
34388
34389 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34390
34391 [BZ #16453]
34392 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34393
34394 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34395
34396 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34397 implementation for powerpc.
34398
34399 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
34400
34401 [BZ #14782]
34402 * sysdeps/posix/system.c (__libc_system): Do not enable
34403 asynchronous cancellation.
34404
34405 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34406
34407 [BZ #16427]
34408 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34409 handling only for numbers special also in the IEEE case.
34410
34411 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34412
34413 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34414
34415 2014-01-11 Allan McRae <allan@archlinux.org>
34416
34417 * po/bg.po: Update Bulgarian translation from translation project.
34418
34419 * po/de.po: Update German translation from translation project.
34420
34421 2014-01-10 Roland McGrath <roland@hack.frob.com>
34422
34423 * sysdeps/generic/gcc-compat.h: New file.
34424
34425 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34426
34427 * benchtests/asin-inputs: Correct slow inputs.
34428 * benchtests/acos-inputs: Likewise.
34429
34430 2014-01-10 Allan McRae <allan@archlinux.org>
34431
34432 * po:sv.po: Update Swedish translation from translation project.
34433
34434 * po/vi.po: Update Vietnamese translation from translation project.
34435
34436 * po/eo.po: Update Esperanto translation from translation project.
34437
34438 * po/cs.po: Update Czech translation from translation project.
34439
34440 * po/nl.po: Update Dutch translation from translation project.
34441
34442 * po/pl.po: Update Polish translation from translation project.
34443
34444 * po/ru.po: Update Russian translation from translation project.
34445
34446 * po/uk.po: Update Ukrainian translation from translation project.
34447
34448 2014-01-08 Brooks Moses <bmoses@google.com>
34449
34450 * elf/dl-load.c: Fix comment typo.
34451
34452 2014-01-08 Carlos O'Donell <carlos@redhat.com>
34453
34454 * po/header.pot: Rename to...
34455 * po/pot.header: ... this.
34456 * po/Makefile: Use pot.header.
34457
34458 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
34459 Maxim Kuvyrkov <maxim@kugelworks.com>
34460
34461 [BZ #16394]
34462 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34463 SRC and DEST against LEN.
34464
34465 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34466
34467 [BZ #16414]
34468 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34469 implementation.
34470 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34471
34472 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34473
34474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34475
34476 2014-01-08 Joseph Myers <joseph@codesourcery.com>
34477
34478 [BZ #16408]
34479 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34480 for large positive arguments.
34481
34482 2014-01-07 Joseph Myers <joseph@codesourcery.com>
34483
34484 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34485
34486 * math/auto-libm-test-in: Mark various tests with
34487 xfail-rounding:ldbl-128ibm.
34488 * math/auto-libm-test-out: Regenerated.
34489
34490 [BZ #16407]
34491 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34492 Increase overflow threshold.
34493
34494 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
34495
34496 [BZ #14286]
34497 * stdio-common/vfprintf.c: Check for integer overflow.
34498
34499 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34500
34501 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34502 the first argument and return value of __tls_get_addr_internal.
34503
34504 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34505
34506 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34507 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34508
34509 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34510
34511 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34512 * sysdeps/s390/rtld-global-offsets.sym: New file.
34513 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34514 GLIBC_2.19 symbol.
34515 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34516 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34517 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34518 ... this.
34519 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34520 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34521 ... this.
34522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34523 Regenerate.
34524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34525 Regenerate.
34526 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34527 halfs of GPRs for high_gprs contexts.
34528 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34529 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
34530 field.
34531 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34532 uc_flags field.
34533 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34534 64 bit versions:
34535 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34536 for high GPRs (uc_high_gprs) and for future extensions
34537 (__reserved).
34538 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34539 for future extensions (__reserved).
34540 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34541 64 bit versions:
34542 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34543 SC_HIGHGPRS offset definition.
34544 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34545 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34546
34547 * Versions.def: Add GLIBC_2.19 for libpthread.
34548 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34549 siglongjmp for libpthread with GLIBC_2.19 symver.
34550 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34551 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34552 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34553 * sysdeps/s390/__longjmp.c: New file.
34554 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34555 * sysdeps/s390/longjmp.c: New file.
34556 * sysdeps/s390/setjmp.S: New file.
34557 * sysdeps/s390/sigjmp.S: New file.
34558 * sysdeps/s390/v1-longjmp.c: New file.
34559 * sysdeps/s390/v1-setjmp.h: New file.
34560 * sysdeps/s390/v1-sigjmp.c: New file.
34561 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34562 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34563 GLIBC_2.19 version.
34564 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34565 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34566 versioned symbols for ____longjmp_chk.
34567 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34568 Likewise.
34569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34570 Regenerate.
34571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34572 Regenerate.
34573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34574 Regenerate.
34575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34576 Regenerate.
34577 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34578 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34579 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34580 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34581 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34582 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34583 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34584 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34585 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34586 * sysdeps/s390/rtld-__longjmp.c: New file.
34587 * sysdeps/s390/rtld-setjmp.S: New file.
34588
34589 2014-01-06 Joseph Myers <joseph@codesourcery.com>
34590
34591 [BZ #16400]
34592 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34593 Return -__logl (x) for small positive arguments without evaluating
34594 a polynomial.
34595
34596 2014-01-06 Mike Frysinger <vapier@gentoo.org>
34597
34598 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34599 Rename to ...
34600 (__ptrace_peeksiginfo_args): ... this.
34601 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34603 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34604
34605 2014-01-06 Allan McRae <allan@archlinux.org>
34606
34607 * inet/netinet/in.h: Fix typo in comment.
34608
34609 2014-01-05 Andreas Jaeger <aj@suse.de>
34610
34611 * sysdeps/i386/fpu/libm-test-ulps: Update.
34612
34613 2014-01-05 Allan McRae <allan@archlinux.org>
34614
34615 * po/libc.pot: Regenerated.
34616
34617 * malloc/memusagestat.c: Fix gettext call formatting.
34618
34619 2014-01-04 Sami Kerola <kerolasa@iki.fi>
34620
34621 * nscd/nscd.c: Improve usage() output.
34622
34623 2014-01-04 Mike Frysinger <vapier@gentoo.org>
34624
34625 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34626 * sysdeps/unix/sysv/linux/configure: Regenerated.
34627 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34628 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34629
34630 2014-01-03 Joseph Myers <joseph@codesourcery.com>
34631
34632 [BZ #16390]
34633 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34634 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34635
34636 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34637
34638 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34639 extra tokens at end of #undef directive.
34640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34641 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34643
34644 2014-01-03 Joseph Myers <joseph@codesourcery.com>
34645
34646 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34647
34648 * math/auto-libm-test-in: Mark various tests with
34649 xfail-rounding:ldbl-128ibm.
34650 * math/auto-libm-test-out: Regenerated.
34651
34652 2014-01-02 Joseph Myers <joseph@codesourcery.com>
34653
34654 [BZ #16386]
34655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34656 numbers with subnormal high part when calculating exponent.
34657
34658 [BZ #16385]
34659 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34660 fabs.
34661
34662 [BZ #16384]
34663 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34664 M_LN2l.
34665 (__ieee754_acoshl): Use __log1pl not __log1p.
34666
34667 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
34668
34669 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34670 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34671 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34672 (grow_heap, heap_trim, _int_new_arena, get_free_list)
34673 (reused_arena, arena_get2): Convert to GNU style.
34674 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34675 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34676 (memalign_check, __malloc_set_state): Likewise.
34677 * malloc/mallocbug.c (main): Likewise.
34678 * malloc/malloc.c (__malloc_assert, malloc_init_state)
34679 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34680 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34681 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34682 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34683 (__posix_memalign, malloc_info): Likewise.
34684 * malloc/malloc.h: Likewise.
34685 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34686 (mallochook, memalignhook, reallochook, mabort): Likewise.
34687 * malloc/mcheck.h: Likewise.
34688 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34689 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34690 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34691 * malloc/morecore.c (__default_morecore): Likewise.
34692 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34693 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34694 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34695 (print_and_abort): Likewise.
34696 * malloc/obstack.h: Likewise.
34697 * malloc/set-freeres.c (__libc_freeres): Likewise.
34698 * malloc/tst-mallocstate.c (main): Likewise.
34699 * malloc/tst-mtrace.c (main): Likewise.
34700 * malloc/tst-realloc.c (do_test): Likewise.
34701
34702 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34703
34704 [BZ #16366]
34705 * nscd/netgroupcache.c (do_notfound): New function.
34706 (addgetnetgrentX): Use it.
34707
34708 [BZ # 16365]
34709 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34710 NSS_STATUS_NOTFOUND.
34711
34712 2014-01-01 Joseph Myers <joseph@codesourcery.com>
34713
34714 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34716
34717 2014-01-01 Allan McRae <allan@archlinux.org>
34718
34719 * scripts/update-copyrights: Update configure input file suffix.
34720
34721 * NEWS: Update copyright year.
34722 * catgets/gencat.c: Likewise.
34723 * csu/version.c: Likewise.
34724 * debug/catchsegv.sh: Likewise.
34725 * debug/pcprofiledump.c: Likewise.
34726 * debug/xtrace.sh: Likewise.
34727 * elf/ldconfig.c: Likewise.
34728 * elf/ldd.bash.in: Likewise.
34729 * elf/pldd.c: Likewise.
34730 * elf/sotruss.ksh: Likewise.
34731 * elf/sprof.c: Likewise.
34732 * iconv/iconv_prog.c: Likewise.
34733 * iconv/iconvconfig.c: Likewise.
34734 * locale/programs/locale.c: Likewise.
34735 * locale/programs/localedef.c: Likewise.
34736 * login/programs/pt_chown.c: Likewise.
34737 * malloc/memusage.sh: Likewise.
34738 * malloc/memusagestat.c: Likewise.
34739 * malloc/mtrace.pl: Likewise.
34740 * manual/libc.texinfo: Likewise.
34741 * nscd/nscd.c: Likewise.
34742 * nss/getent.c: Likewise.
34743 * nss/makedb.c: Likewise.
34744 * posix/getconf.c: Likewise.
34745 * scripts/test-installation.pl: Likewise.
34746
34747 * All files with FSF copyright notices: Update copyright dates
34748 using scripts/update-copyrights.
34749 * intl/plural.c: Regenerated.
34750 * locale/programs/charmap-kw.h: Likewise.
34751 * locale/programs/locfile-kw.h: Likewise.
34752
34753 2013-12-31 Mike Frysinger <vapier@gentoo.org>
34754
34755 * sysdeps/unix/sysv/linux/configure: Regenerated.
34756 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34757 the linux/fanotify.h header.
34758 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34759 HAVE_LINUX_FANOTIFY_H is defined.
34760
34761 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34762
34763 * benchtests/cos-inputs: New inputs.
34764 * benchtests/sin-inputs: Likewise.
34765
34766 * benchtests/atan-inputs: New inputs. Fix name of multiple
34767 precision fallback inputs.
34768
34769 * benchtests/atanh-inputs: New inputs.
34770 * benchtests/tanh-inputs: Likewise.
34771
34772 * benchtests/acosh-inputs: New inputs.
34773 * benchtests/asinh-inputs: Likewise.
34774
34775 * benchtests/cosh-inputs: New inputs.
34776 * benchtests/sinh-inputs: Likewise.
34777
34778 * benchtests/acos-inputs: Add more inputs.
34779 * benchtests/asin-inputs: Likewise.
34780
34781 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
34782
34783 [BZ #16375]
34784 * manual/arith.texi: Fix spelling.
34785 * manual/charset.texi: Likewise.
34786 * manual/errno.texi: Likewise.
34787 * manual/filesys.texi: Likewise.
34788 * manual/lang.texi: Likewise.
34789 * manual/llio.texi: Likewise.
34790 * manual/locale.texi: Likewise.
34791 * manual/message.texi: Likewise.
34792 * manual/resource.texi: Likewise.
34793 * manual/search.texi: Likewise.
34794 * manual/setjmp.texi: Likewise.
34795 * manual/stdio.texi: Likewise.
34796 * manual/string.texi: Likewise.
34797 * manual/sysinfo.texi: Likewise.
34798 * manual/time.texi: Likewise.
34799
34800 2013-12-27 Carlos O'Donell <carlos@redhat.com>
34801
34802 * po/sl.po: New file.
34803
34804 2013-12-27 Mike Frysinger <vapier@gentoo.org>
34805
34806 * .gitignore: Add core/.gdbinit/.gdb_history.
34807
34808 2013-12-27 Allan McRae <allan@archlinux.org>
34809
34810 [BZ #16369]
34811 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34812 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34813
34814 2013-12-24 Brooks Moses <bmoses@google.com>
34815
34816 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34817 all compilers that claim C++98 compliance, not just GCC.
34818 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34819 Likewise.
34820
34821 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
34822
34823 * NEWS: Restore accidentally deleted bug-fix entries.
34824
34825 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
34826 Ondřej Bílka <neleai@seznam.cz>
34827
34828 [BZ #15073]
34829 * malloc/malloc.c (_int_free): Perform sanity check only if we
34830 have_lock.
34831
34832 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
34833
34834 [BZ #12986]
34835 * manual/stdio.texi (String Input Conversions): Clarify that character
34836 classes are not supported.
34837
34838 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34839
34840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34841
34842 2013-12-22 Joseph Myers <joseph@codesourcery.com>
34843
34844 [BZ #16337]
34845 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34846 Calculate results for small negative arguments directly rather
34847 than using reflection formula with special underflow handling.
34848
34849 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34850 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34851 sysdeps/unix/bsd/bsd4.4/syscalls.list.
34852 (fchflags): Likewise.
34853 (revoke): Likewise.
34854 (setlogin): Likewise.
34855 (sigaltstack): Likewise.
34856 (wait4): Likewise.
34857 (sigblock): Remove.
34858 (sigsetmask): Likewise.
34859 (wait3): Likewise.
34860 (waitpid): Likewise.
34861 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34862 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34863 file.
34864 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34865 * sysdeps/unix/bsd/Makefile: ... here.
34866 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34867 * sysdeps/unix/bsd/Versions: ... here.
34868 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34869 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34870 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34871 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34872 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34873 * sysdeps/unix/bsd/sigblock.c: ... here.
34874 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34875 * sysdeps/unix/bsd/sigsetmask.c: ... here.
34876 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34877 * sysdeps/unix/bsd/sigvec.c: ... here.
34878 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34879 * sysdeps/unix/bsd/tcdrain.c: ... here.
34880 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34881 * sysdeps/unix/bsd/tcgetattr.c: ... here.
34882 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34883 * sysdeps/unix/bsd/tcsetattr.c: ... here.
34884 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34885 * sysdeps/unix/bsd/wait.c: ... here.
34886 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34887 * sysdeps/unix/bsd/wait3.c: ... here.
34888 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34889 * sysdeps/unix/bsd/waitpid.c: ... here.
34890
34891 2013-12-21 Joseph Myers <joseph@codesourcery.com>
34892
34893 [BZ #16356]
34894 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34895 round-to-nearest for [!USE_AS_EXPM1L].
34896 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34897 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
34898 more tests of exp and exp10. Expect some exp10 tests to miss
34899 exceptions or fail in directed rounding modes.
34900 * math/auto-libm-test-out: Regenerated.
34901 * math/libm-test.inc (exp10_tonearest_test_data): New array.
34902 (exp10_test_tonearest): New function.
34903 (exp10_towardzero_test_data): New array.
34904 (exp10_test_towardzero): New function.
34905 (exp10_downward_test_data): New array.
34906 (exp10_test_downward): New function.
34907 (exp10_upward_test_data): New array.
34908 (exp10_test_upward): New function.
34909 (main): Call the new functions.
34910 * sysdeps/i386/fpu/libm-test-ulps: Update.
34911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34912
34913 2013-12-20 Joseph Myers <joseph@codesourcery.com>
34914
34915 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34916 asinh, atan, atan2, atanh, cbrt, cos and cosh.
34917 * math/auto-libm-test-out: Regenerated.
34918 * math/libm-test.inc (acosh_test_data): Add more tests.
34919 (atanh_test_data): Likewise.
34920 (ceil_test_data): Likewise.
34921 (copysign_test_data): Likewise.
34922 * sysdeps/i386/fpu/libm-test-ulps: Update.
34923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34924
34925 * timezone/checktab.awk: Update from tzcode 2013i.
34926 * timezone/private.h: Likewise.
34927 * timezone/scheck.c: Likewise.
34928 * timezone/tzfile.h: Likewise.
34929 * timezone/tzselect.ksh: Likewise.
34930 * timezone/zdump.c: Likewise.
34931 * timezone/zic.c: Likewise.
34932
34933 * math/auto-libm-test-in: Add tests of cpow.
34934 * math/auto-libm-test-out: Regenerated.
34935 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34936 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34937 mpc_cc_c.
34938 (func_calc_desc): Add mpc_cc_c union field.
34939 (test_functions): Add cpow.
34940 (special_fill_2pi): New function.
34941 (special_real_inputs): Add 2pi.
34942 (calc_generic_results): Handle mpc_cc_c.
34943 * sysdeps/i386/fpu/libm-test-ulps: Update.
34944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34945
34946 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34947 csqrt, ctan and ctanh.
34948 * math/auto-libm-test-out: Regenerated.
34949 * math/libm-test.inc (TEST_COND_x86_64): New macro.
34950 (TEST_COND_x86): Likewise.
34951 (ccos_test_data): Use AUTO_TESTS_c_c.
34952 (ccosh_test_data): Likewise.
34953 (cexp_test_data): Likewise.
34954 (clog_test_data): Likewise.
34955 (csqrt_test_data): Likewise.
34956 (ctan_test_data): Likewise.
34957 (ctan_tonearest_test_data): Likewise.
34958 (ctan_towardzero_test_data): Likewise.
34959 (ctan_downward_test_data): Likewise.
34960 (ctan_upward_test_data): Likewise.
34961 (ctanh_test_data): Likewise.
34962 (ctanh_tonearest_test_data): Likewise.
34963 (ctanh_towardzero_test_data): Likewise.
34964 (ctanh_downward_test_data): Likewise.
34965 (ctanh_upward_test_data): Likewise.
34966 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34967 mpc_c_c.
34968 (func_calc_desc): Add mpc_c_c union field.
34969 (FUNC_mpc_c_c): New macro.
34970 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34971 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34972 ctanh.
34973 (special_fill_min_subnorm_p120): New function.
34974 (special_real_inputs): Add min_subnorm_p120.
34975 (calc_generic_results): Handle mpc_c_c.
34976 * sysdeps/i386/fpu/libm-test-ulps: Update.
34977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34978
34979 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34980
34981 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34982 (do_sin_slow): New functions.
34983 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34984 (cslow2, csloww1, csloww2): Use the new functions.
34985
34986 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34987 Use M to change sign of result instead of X. Assume X is
34988 positive.
34989 (csloww1): Likewise.
34990 (__sin): Adjust.
34991 (__cos): Adjust.
34992
34993 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34994 arguments A and DA.
34995 (__sin): Adjust.
34996 (__cos): Likewise.
34997
34998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34999 (__cos): Likewise.
35000 (sloww1): Don't adjust sign of DX.
35001 (csloww1): Likewise.
35002 (sloww2): Use X directly and don't adjust sign of DX.
35003 (csloww2): Likewise.
35004
35005 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35006
35007 * math/auto-libm-test-in: Add tests of cabs and carg.
35008 * math/auto-libm-test-out: Regenerated.
35009 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35010 (carg_test_data): Likewise.
35011 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35012 mpc_c_f.
35013 (func_calc_desc): Add mpc_c_f union field.
35014 (test_functions): Add cabs and carg.
35015 (calc_generic_results): Handle mpc_c_f.
35016
35017 * sysdeps/powerpc/powerpc32/libgcc-compat.S
35018 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35019 as a macro and a compat symbol.
35020 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35021 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35022 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35023 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35024 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35025 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35026 not use .hidden.
35027 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35028 Likewise.
35029 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35030 Likewise.
35031 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35032 Likewise.
35033 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35034 Likewise.
35035 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35036 Likewise.
35037 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35038 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35039 from GLIBC_2.3.2.
35040
35041 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35042
35043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35044
35045 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35046
35047 * manual/texinfo.tex: Update to version 2013-11-26.10 with
35048 trailing whitespace removed.
35049 * scripts/config.guess: Update to version 2013-11-29.
35050 * scripts/config.sub: Update to version 2013-10-01.
35051
35052 * math/auto-libm-test-in: Add tests of sincos.
35053 * math/auto-libm-test-out: Regenerated.
35054 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35055 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35056 mpfr_f_11.
35057 (func_calc_desc): Add mpfr_f_11 union field.
35058 (test_functions): Add sincos.
35059 (calc_generic_results): Handle mpfr_f_11.
35060 * sysdeps/i386/fpu/libm-test-ulps: Update.
35061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35062
35063 2013-12-19 Andreas Schwab <schwab@suse.de>
35064
35065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35066 CALL_MCOUNT.
35067 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35068 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35069 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35070
35071 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35072
35073 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35074 * sysdeps/i386/fpu/libm-test-ulps: Update.
35075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35076
35077 [BZ #16293]
35078 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35079 round-to-nearest mode when using frndint.
35080 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35081 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35082 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35083 Likewise.
35084 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
35085 sinh test to fail.
35086 * math/auto-libm-test-out: Regenerated.
35087 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35088 (TEST_COND_x86): Likewise.
35089 (expm1_tonearest_test_data): New array.
35090 (expm1_test_tonearest): New function.
35091 (expm1_towardzero_test_data): New array.
35092 (expm1_test_towardzero): New function.
35093 (expm1_downward_test_data): New array.
35094 (expm1_test_downward): New function.
35095 (expm1_upward_test_data): New array.
35096 (expm1_test_upward): New function.
35097 (main): Run the new test functions.
35098 * sysdeps/i386/fpu/libm-test-ulps: Update.
35099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35100
35101 * include/features.h: Update comment documenting feature test
35102 macros. Mention _DEFAULT_SOURCE in comment.
35103 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35104 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35105 _BSD_SOURCE and _SVID_SOURCE.
35106 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35107 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35108 !_SVID_SOURCE]: Likewise.
35109 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35110 (__USE_POSIX_IMPLICITLY): Define.
35111 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35112 (_POSIX_SOURCE): Undefine and redefine.
35113 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35114 (_POSIX_C_SOURCE): Likewise.
35115 * manual/creature.texi (_DEFAULT_SOURCE): Document.
35116 (Feature Test Macros): Update documentation of default features.
35117
35118 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35119
35120 * benchtests/Makefile: Add bench-strtok.
35121 * benchtests/bench-strtok.c: New file: strtok benchtest.
35122
35123 2013-12-19 Allan McRae <allan@archlinux.org>
35124
35125 * manual/install.texi: Suppress menu for plain text output.
35126 * INSTALL: Regenerated.
35127
35128 2013-12-18 Brooks Moses <bmoses@google.com>
35129
35130 [BZ #15846]
35131 * misc/getauxval.c: Include errno.h.
35132 (__getauxval): Set errno to ENOENT if the requested type is not
35133 found.
35134 * misc/sys/auxv.h (getauxval): Document that it may set errno;
35135 don't declare with __attribute_const__.
35136 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35137 * manual/startup.texi: Document that getauxval sets errno.
35138
35139 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35140
35141 * math/auto-libm-test-in: Add tests of jn and yn.
35142 * math/auto-libm-test-out: Regenerated.
35143 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35144 (yn_test_data): Likewise.
35145 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35146 mpfr_if_f.
35147 (func_calc_desc): Add mpfr_if_f union field.
35148 (FUNC_mpfr_if_f): New macro.
35149 (test_functions): Add jn and yn.
35150 (calc_generic_results): Assert type of second input for
35151 mpfr_ff_f. Handle mpfr_if_f.
35152 (output_for_one_input_case): Disable all checking for arguments
35153 fitting floating-point types in case of an integer argument.
35154 * sysdeps/i386/fpu/libm-test-ulps: Update.
35155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35156
35157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35158 Don't expect fegetround reference in libm.so.
35159
35160 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35161
35162 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35163 $(config-cflags-nofma).
35164
35165 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35166
35167 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35168 * math/auto-libm-test-out: Regenerated.
35169
35170 [BZ #16338]
35171 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35172 to determine exponent and adjust argument to have exponent of -1.
35173 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35174 log2.
35175 * math/auto-libm-test-out: Regenerated.
35176 * sysdeps/i386/fpu/libm-test-ulps: Update.
35177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35178
35179 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
35180
35181 * manual/probes.texi: Remove cases when per-thread arenas are
35182 disabled.
35183
35184 2013-12-18 Andreas Schwab <schwab@suse.de>
35185
35186 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35187 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35188 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35189 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35190 * sysdeps/i386/i686/multiarch/Makefile: Update.
35191 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35192
35193 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35194
35195 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35196 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35197
35198 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
35199
35200 [BZ #15968]
35201 Support TZ transition times < 00:00:00.
35202 This is needed for version-3 tz-format files; it supports time
35203 stamps past 2037 for America/Godthab (the only entry in the tz
35204 database for which this change is relevant).
35205 * manual/time.texi (TZ Variable): Document transition times
35206 from -167:59:59 through -00:00:01.
35207 * time/tzset.c (tz_rule): Time of day is now signed.
35208 (__tzset_parse_tz): Parse negative time of day.
35209
35210 Document TZ transition times >= 25:00:00.
35211 * manual/time.texi (TZ Variable): Document transition times from
35212 25:00:00 through 167:59:59. These are already supported, and this
35213 support will help with version-3 tz-format files.
35214
35215 * manual/time.texi (TZ Variable): Modernize North America example
35216 to reflect current (i.e., 2007-and-later) daylight saving rules.
35217
35218 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35219
35220 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35221
35222 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35223 * sysdeps/unix/bsd/bits/stat.h: Likewise.
35224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35226 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35227 * sysdeps/unix/bsd/bsdstat.h: Likewise.
35228 * sysdeps/unix/bsd/clock.c: Likewise.
35229 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35230 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35231 * sysdeps/unix/bsd/init-posix.c: Likewise.
35232 * sysdeps/unix/bsd/poll.c: Likewise.
35233 * sysdeps/unix/bsd/ptsname.c: Likewise.
35234 * sysdeps/unix/bsd/seekdir.c: Likewise.
35235 * sysdeps/unix/bsd/setegid.c: Likewise.
35236 * sysdeps/unix/bsd/seteuid.c: Likewise.
35237 * sysdeps/unix/bsd/setgid.c: Likewise.
35238 * sysdeps/unix/bsd/setrgid.c: Likewise.
35239 * sysdeps/unix/bsd/setruid.c: Likewise.
35240 * sysdeps/unix/bsd/setsid.c: Likewise.
35241 * sysdeps/unix/bsd/setuid.c: Likewise.
35242 * sysdeps/unix/bsd/sigaction.c: Likewise.
35243 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35244 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35245 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35246 * sysdeps/unix/bsd/telldir.c: Likewise.
35247 * sysdeps/unix/bsd/times.c: Likewise.
35248 * sysdeps/unix/bsd/usleep.c: Likewise.
35249
35250 * misc/Makefile (install-lib): Remove libbsd-compat.a.
35251 ($(objpfx)libbsd-compat.a): Remove rule.
35252
35253 * include/features.h (__FAVOR_BSD): Do not define.
35254 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35255 features conflicting with POSIX.
35256 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35257 (_BSD_SOURCE): Remove description of not being a subset of other
35258 feature test macros.
35259 * manual/job.texi (getpgrp): Do not document BSD version.
35260 (getpgid): Do not document by reference to BSD getpgrp.
35261 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35262 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35263 * signal/signal.h [__FAVOR_BSD]: Likewise.
35264 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35265 instead of making contents conditional on [__FAVOR_BSD].
35266 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35267
35268 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35269
35270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35271
35272 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35273
35274 [BZ #16314]
35275 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35276 values below 2**-450, not 2**-500.
35277 * math/auto-libm-test-in: Don't allow spurious underflow from
35278 hypot.
35279 * math/auto-libm-test-out: Regenerated.
35280
35281 [BZ #16316]
35282 [BZ #16330]
35283 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35284 values of ha and hb and sort them after adjusting subnormal
35285 arguments.
35286 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35287 Likewise.
35288 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35289 values of ea and eb and sort them after adjusting subnormal
35290 arguments.
35291 * math/auto-libm-test-in: Do not expect some hypot tests of
35292 subnormals to fail. Add more hypot tests.
35293 * math/auto-libm-test-out: Regenerated.
35294
35295 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35296
35297 [BZ #13304]
35298 * sysdeps/sh/s_fma.c: New file.
35299 * sysdeps/sh/s_fmaf.c: New file.
35300 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
35301 version.
35302 * sysdeps/sh/Implies: Add sh/soft-fp.
35303
35304 2013-12-16 Roland McGrath <roland@hack.frob.com>
35305
35306 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
35307 level of indirection to members `objname', `errstring', `malloced'.
35308 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35309 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
35310 it as the __longjmp argument (just pass 1 instead).
35311 (_dl_catch_error): Initialize C with argument pointers and address of
35312 volatile local ERRCODE rather than copying values out of C at return.
35313
35314 2013-12-16 Joseph Myers <joseph@codesourcery.com>
35315
35316 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35317 * math/auto-libm-test-out: Regenerated.
35318 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35319 (hypot_test_data): Likewise.
35320 (pow_test_data): Likewise.
35321 (pow_tonearest_test_data): Likewise.
35322 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35323 mpfr_ff_f.
35324 (func_calc_desc): Add mpfr_ff_f union field.
35325 (FUNC_mpfr_ff_f): New macro.
35326 (test_functions): Add atan2, hypot and pow.
35327 (special_fill_min): New function.
35328 (special_fill_minus_min): Likewise.
35329 (special_fill_min_subnorm): Likewise.
35330 (special_fill_minus_min_subnorm): Likewise.
35331 (special_real_inputs): Add min, -min, min_subnorm and
35332 -min_subnorm.
35333 (calc_generic_results): Handle mpfr_ff_f.
35334 * sysdeps/i386/fpu/libm-test-ulps: Update.
35335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35336
35337 2013-12-16 Will Newton <will.newton@linaro.org>
35338
35339 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35340 (Aligned Memory Blocks): Add documentation for aligned_alloc
35341 and suggest it as an alternative to posix_memalign.
35342 (Hooks for Malloc): Document __memalign_hook is also called
35343 for aligned_alloc. (Summary of Malloc): Add summary for
35344 aligned alloc. Document __memalign_hook is also called
35345 for aligned_alloc.
35346
35347 2013-12-16 Will Newton <will.newton@linaro.org>
35348
35349 * manual/memory.texi (Malloc Examples): Clarify default
35350 alignment documentation. Suggest posix_memalign rather
35351 than memalign or valloc.
35352 (Aligned Memory Blocks): Remove suggestion to use memalign
35353 or valloc. Remove obsolete comment about BSD.
35354 Document memalign errno values and mark the function obsolete.
35355 Document posix_memalign returned error codes. Mark valloc
35356 as obsolete. (Hooks for Malloc): __memalign_hook is also
35357 called for posix_memalign and valloc.
35358 (Summary of Malloc): Add posix_memalign to function summary.
35359 __memalign_hook is also called for posix_memalign and valloc.
35360
35361 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35362
35363 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35364 TAYLOR_SIN.
35365 (__sin): Adjust.
35366 (__cos): Likewise.
35367 (sloww): Use mynumber union. Expand ternary operator into
35368 if-else statements.
35369 (cslow): use mynumber union.
35370
35371 2013-12-16 Allan McRae <allan@archlinux.org>
35372
35373 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35374 * configure: Regenerated.
35375
35376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35377
35378 [BZ #14120]
35379 * configure.ac: Added --enable-maintainer-mode. Check for
35380 autoconf when enabled.
35381 * configure: Regenerated.
35382
35383 * nscd/nscd.service: New file.
35384 * nscd/nscd.tmpfiles: New file.
35385
35386 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
35387
35388 [BZ #12100]
35389 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35390 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35391 * sysdeps/x86_64/multiarch/strstr.c: ... here.
35392 (strstr): Add __strstr_sse2_unaligned ifunc.
35393 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35394 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35395 (strcasestr): Remove __strcasestr_sse42 ifunc.
35396 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35397 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35399
35400 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35401
35402 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35403 * sysdeps/sh/bits/fenv.h: ... here.
35404 * sysdeps/sh/sh4/fpu/bits: Remove directory.
35405
35406 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35407
35408 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35409
35410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35411 hypotf multiarch implementations.
35412 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35413 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35414 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35415 multiarch hypot for PPC64.
35416 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35417 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35418 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35419 multiarch hypotf for PPC64.
35420
35421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35422 modff multiarch implementations.
35423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35426 multiarch modf for PPC64.
35427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35430 multiarch modff for PPC64.
35431
35432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35433 and logl multiarch implementations.
35434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35437 multiarch logb for PPC64.
35438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35441 multiarch logb for PPC64.
35442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35445 multiarch logb for PPC64.
35446
35447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35448 isinff multiarch implementation.
35449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35450 file.
35451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35453 multiarch isinf for PPC64.
35454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35455 file.
35456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35457 multiarch isinff for PPC64.
35458
35459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35460 finitef multiarch implementation.
35461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35462 file.
35463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35465 multiarch finite for PPC64.
35466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35467 file.
35468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35469 multiarch finitef for PPC64.
35470
35471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35472 lrint multiarch implementation.
35473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35474 file.
35475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35477 multiarch llrint for PPC64.
35478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35479 multiarch lrint for PPC64.
35480
35481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35482 copysignf multiarch implementation.
35483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35484 file.
35485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35486 file.
35487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35488 multiarch copysign for PPC64.
35489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35490 multiarch copysignf for PPC64.
35491
35492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35493 multiarch implementation.
35494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35495 file.
35496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35497 file.
35498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35499 file.
35500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35501 file.
35502 multiarch llround for PPC64.
35503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35504 multiarch trunc for PPC64.
35505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35506 multiarch truncf for PPC64.
35507
35508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35509 multiarch implementation.
35510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35511 file.
35512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35513 file.
35514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35515 file.
35516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35517 file.
35518 multiarch llround for PPC64.
35519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35520 multiarch round for PPC64.
35521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35522 multiarch roundf for PPC64.
35523
35524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35525 multiarch implementation.
35526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35527 file.
35528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35529 file.
35530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35531 file.
35532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35533 file.
35534 multiarch llround for PPC64.
35535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35536 multiarch floor for PPC64.
35537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35538 multiarch floorf for PPC64.
35539
35540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35541 multiarch implementation.
35542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35543 file.
35544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35545 file.
35546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35547 file.
35548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35549 file.
35550 multiarch llround for PPC64.
35551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35552 multiarch ceil for PPC64.
35553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35554 multiarch ceilf for PPC64.
35555
35556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35557 multiarch implementation.
35558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35559 file.
35560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35561 file.
35562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35563 file.
35564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35565 multiarch llround for PPC64.
35566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35567 multiarch lround for PPC64.
35568
35569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35570 multiarch implementation.
35571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35574 file.
35575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35578 multiarch isnan for PPC64.
35579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35580 multiarch isnanf for PPC64.
35581
35582 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35583 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35584 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35585 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35586 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35588
35589 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35590 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35591 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35593
35594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35595 multiarch implementations.
35596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35597 (__libc_ifunc_impl_list): Likewise.
35598 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35599 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35600 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35601 multiarch stpcpy for PPC64.
35602
35603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35604 multiarch implementations.
35605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35606 (__libc_ifunc_impl_list): Likewise.
35607 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35608 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35609 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35610 multiarch strcpy for PPC64.
35611
35612 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35613 redefine function name.
35614 (_wordcopy_fwd_dest_aligned): Likewise.
35615 (_wordcopy_bwd_aligned): Likewise.
35616 (_wordcopy_bwd_dest_aligned): Likewise.
35617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35618 multiarch implementations.
35619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35620 (__libc_ifunc_impl_list): Likewise.
35621 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35622 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35623 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35624 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35625 multiarch wcscpy for PPC64.
35626
35627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35628 multiarch implementations.
35629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35630 (__libc_ifunc_impl_list): Likewise.
35631 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35632 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35633 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35634 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35635 multiarch wcscpy for PPC64.
35636
35637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35638 multiarch implementations.
35639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35640 (__libc_ifunc_impl_list): Likewise.
35641 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35642 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35643 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35644 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35645 multiarch wcsrchr for PPC64.
35646
35647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35648 multiarch implementations.
35649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35650 (__libc_ifunc_impl_list): Likewise.
35651 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35652 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35653 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35654 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35655 multiarch wcschr for PPC64.
35656
35657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35658 multiarch implementations.
35659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35660 (__libc_ifunc_impl_list): Likewise.
35661 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35662 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35663 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35664 multiarch strchrnul for PPC64.
35665
35666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35667 implementations.
35668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35669 (__libc_ifunc_impl_list): Likewise.
35670 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35671 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35672 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35673 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35674 strchr for PPC64.
35675
35676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35677 implementations.
35678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35679 (__libc_ifunc_impl_list): Likewise.
35680 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35681 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35682 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35683 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35684 strncmp for PPC64.
35685
35686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35687 multiarch implementations.
35688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35689 (__libc_ifunc_impl_list): Likewise.
35690 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35691 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35692 strncasecmp for PPC64.
35693 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35694 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35695 multiarch strncasecmp_l for PPC64.
35696
35697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35698 multiarch implementations.
35699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35700 (__libc_ifunc_impl_list): Likewise.
35701 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35702 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35703 multiarch strcasecmp for PPC64.
35704 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35705 file.
35706 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35707 multiarch strcasecmp_l for PPC64.
35708
35709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35710 implementations.
35711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35712 (__libc_ifunc_impl_list): Likewise.
35713 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35714 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35715 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35716 strnlen for PPC64.
35717
35718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35719 implementations.
35720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35721 (__libc_ifunc_impl_list): Likewise.
35722 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35723 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35724 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35725 strlen for PPC64.
35726
35727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35728 implementations.
35729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35730 (__libc_ifunc_impl_list): Likewise.
35731 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35732 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35733 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35734 rawmemrchr for PPC64.
35735
35736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35737 implementation.
35738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35739 (__libc_ifunc_impl_list): Likewise.
35740 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35741 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35742 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35743 memrchr for PPC64.
35744
35745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35746 implementation.
35747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35748 (__libc_ifunc_impl_list): Likewise.
35749 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35750 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35751 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35752 memchr for PPC64.
35753
35754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35755 implementation.
35756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35757 (__libc_ifunc_impl_list): Likewise.
35758 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35759 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35760 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35761 mempcpy for PPC64.
35762
35763 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35764 avoid cretion of __bzero symbol.
35765 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35766 Likewise.
35767 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35768 Likewise.
35769 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35770 Likewise.
35771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35772 multiarch implementations.
35773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35774 (__libc_ifunc_impl_list): Likewise.
35775 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35776 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35777 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35778 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35779 bzero for PPC32.
35780 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35781 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35782 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35783 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35784 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35785 memset for PPC64.
35786 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35787
35788 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35790 implementations.
35791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35792 (__libc_ifunc_impl_list): Likewise.
35793 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35794 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35795 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35796 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35797 memcmp for PPC64.
35798
35799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35800 multiarch for POWER/PPC64.
35801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35802 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35803 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35804 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35805 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35806 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35807 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35808 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35809 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35810 memcpy for PPC64.
35811
35812 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35813 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35814 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35815 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35816 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35817 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35818 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35819 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35820 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35821 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35822 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35823 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35824 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35825 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35826 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35834
35835 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35836
35837 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35838
35839 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35840
35841 * benchtests/Makefile (bench): Add exp2 and log2.
35842 (LDLIBS-bench-exp2): Add -lm.
35843 (LDLIBS-bench-log2): Likewise.
35844 * benchtests/exp2-inputs: New inputs file.
35845 * benchtests/log2-inputs: New inputs file.
35846 * benchtests/log-inputs: Add new inputs.
35847 * benchtests/tan-inputs: Likewise.
35848
35849 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35850
35851 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35852 definition...
35853 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35854 (csloww2): ... from here.
35855
35856 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35857 instead of structures.
35858 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35859 (POLYNOMIAL): Likewise.
35860 (TAYLOR_SLOW): Likewise.
35861 (__sin): Likewise.
35862 (__cos): Likewise.
35863 (slow1): Likewise.
35864 (slow2): Likewise.
35865 (sloww): Likewise.
35866 (sloww1); Likewise.
35867 (sloww2): Likewise.
35868 (bsloww1): Likewise.
35869 (bsloww2): Likewise.
35870 (cslow2): Likewise.
35871 (csloww): Likewise.
35872 (csloww1): Likewise.
35873 (csloww2): Likewise.
35874
35875 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
35876
35877 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35878 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35879 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35880 * malloc/hooks.c (realloc_check): Likewise.
35881
35882 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35883 * malloc/arena.c: Remove PER_THREAD conditional.
35884 [!PER_THREAD]: Remove code.
35885 (ptmalloc_unlock_all2): Likewise.
35886 (ptmalloc_init): Likewise.
35887 (_int_new_arena): Likewise.
35888 (arena_get2): Likewise.
35889 * malloc/hooks.c (__malloc_get_state): Likewise.
35890 (__malloc_set_state): Likewise.
35891 * malloc/malloc.c: Likewise.
35892 (struct malloc_state): Likewise.
35893 (struct malloc_par): Likewise.
35894 (__libc_realloc): Likewise.
35895 (__libc_mallopt): Likewise.
35896
35897 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35898
35899 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35900
35901 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
35902
35903 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35904 macro to a function. Check for zero perturb_byte.
35905 (_int_malloc, _int_free): Remove zero perturb_byte checks.
35906
35907 * malloc/malloc.c: (force_reg): Remove.
35908 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35909 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35910 force_reg by atomic_forced_read.
35911 * malloc/arena.c (ptmalloc_init): Likewise.
35912 * malloc/hooks.c (top_check): Likewise.
35913
35914 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35915
35916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35917
35918 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
35919
35920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35921
35922 2013-12-08 Joseph Myers <joseph@codesourcery.com>
35923
35924 * math/auto-libm-test-in: Add tests of lgamma.
35925 * math/auto-libm-test-out: Regenerated.
35926 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35927 (M_LOG_2_SQRT_PIl): Likewise.
35928 (lgamma_test_data): Use AUTO_TESTS_f_f1.
35929 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35930 mpfr_f_f1.
35931 (func_calc_desc): Add mpfr_f_f1 union field.
35932 (ARGS1): New macro.
35933 (ARGS2): Likewise.
35934 (ARGS3): Likewise.
35935 (ARGS4): Likewise.
35936 (RET1): Likewise.
35937 (RET2): Likewise.
35938 (CALC): Likewise.
35939 (FUNC): Likewise.
35940 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35941 (test_functions): Add lgamma.
35942 (calc_generic_results): Handle mpfr_f_f1.
35943 * sysdeps/i386/fpu/libm-test-ulps: Update.
35944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35945
35946 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35947
35948 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35949 __mpn_add_n for PowerPC64/POWER7.
35950 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35951 __mpn_sub_n for PowerPC64/POWER7.
35952
35953 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35954 __mpn_addmul_1 for PowerPC64.
35955 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35956 __mpn_submul_1 for PowerPC64.
35957 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35958 for PowerPC64.
35959 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35960 for PowerPC64.
35961
35962 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
35963
35964 [BZ #15089]
35965 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35966
35967 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35968
35969 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35970
35971 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35972 add multiarch folders.
35973 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35974 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35975 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35976 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35977 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35978 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35979 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35980 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35981 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35982 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35983 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35990
35991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35992 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35994 New file.
35995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35996 New file.
35997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35998 multiarch __ieee754_hypot for PowerPC32.
35999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36000 New file.
36001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36002 New file.
36003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36004 multiarch __ieee754_hypotf for PowerPC32.
36005
36006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36007 long_double_symbol only if __logbl is defined.
36008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36009 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36011 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36013 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36014 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36015 path for implementation.
36016 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36017 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36019 logb, and logbl multiarch implementations for PowerPC32.
36020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36021 file.
36022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36023 file.
36024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36025 multiarch logb for PowerPC32.
36026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36027 file.
36028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36029 file.
36030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36031 multiarch logbf for PowerPC32.
36032 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36034 file.
36035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36036 multiarch logbl implementation for PowerPC32.
36037
36038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36039 and modff multiarch implementations.
36040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36041 New file.
36042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36043 New file.
36044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36045 multiarch modf for PowerPC32.
36046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36047 New file.
36048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36049 New file.
36050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36051 multiarch modff for PowerPC32.
36052
36053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36054 and lrintf multiarch implementations.
36055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36056 New file.
36057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36058 New file.
36059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36060 multiarch lrint for PowerPC32.
36061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36062 file: multiarch lrintf for PowerPC32.
36063
36064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36065 and lroundf multiarch implementations.
36066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36067 New file.
36068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36069 New file.
36070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36071 New file.
36072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36073 multiarch lround for PowerPC32.
36074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36075 file: multiarch lroundf for PowerPC32.
36076
36077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36078 copysign and copysignf multiarch implementations.
36079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36080 New file.
36081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36082 New file.
36083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36084 file: multiarch copysign for PowerPC32.
36085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36086 file: multiarch copysignf for PowerPC32.
36087
36088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36089 and truncf multiarch implementations.
36090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36091 New file.
36092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36093 file.
36094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36095 multiarch trunc for PowerPC32.
36096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36097 New file.
36098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36099 New file.
36100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36101 multiarch truncf for PowerPC32.
36102
36103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36104 and roundf multiarch implementations.
36105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36106 New file.
36107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36108 file.
36109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36110 multiarch round for PowerPC32.
36111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36112 New file.
36113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36114 New file.
36115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36116 multiarch roundf for PowerPC32.
36117
36118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36119 and floorf multiarch implementations.
36120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36121 New file.
36122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36123 file.
36124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36125 multiarch floor for PowerPC32.
36126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36127 New file.
36128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36129 New file.
36130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36131 multiarch floorf for PowerPC32.
36132
36133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36134 and ceilf multiarch implementations.
36135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36136 New file.
36137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36138 file.
36139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36140 multiarch ceil for PowerPC32.
36141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36142 New file.
36143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36144 file.
36145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36146 multiarch ceilf for PowerPC32.
36147
36148 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36149 is defined.
36150 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36151 FINITEF is defined.
36152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36153 and finitef multiarch implementations.
36154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36155 New file.
36156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36157 file.
36158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36159 multiarch finite for PowerPC32.
36160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36161 New file.
36162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36163 file: multiarch finitef for PowerPC32.
36164
36165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36166 and isinff multiarch implementations.
36167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36168 file.
36169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36170 file.
36171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36172 multiarch isinf for PowerPC32.
36173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36174 New file.
36175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36176 multiarch isinff for PowerPC32.
36177
36178 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36179 alias when __isnan is defined.
36180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36181 and isnanf multiarch implementations.
36182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36183 file.
36184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36185 file.
36186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36187 file.
36188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36189 file.
36190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36191 multiarch isnan for PowerPC32.
36192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36193 New file.
36194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36195 New file.
36196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36197 multiarch isnanf for PowerPC32.
36198
36199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36200 and sqrtf multiarch implementations.
36201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36202 file.
36203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36204 file.
36205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36206 multiarch sqrt for PowerPC32.
36207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36208 file.
36209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36210 file.
36211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36212 multiarch sqrtf for PowerPC32.
36213
36214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36215 and llroundf multiarch implementations.
36216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36217 New file.
36218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36219 New file.
36220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36221 New file.
36222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36223 file: multiarch llround for PowerPC32.
36224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36225 file: multiarch llroundf for PowerPC32.
36226
36227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36228 multiarch PowerPC32 fpu implementations.
36229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36230 New file.
36231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36232 New file.
36233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36234 multiarch llrint for PowerPC32.
36235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36236 New file.
36237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36238 New file.
36239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36240 file.
36241
36242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36243
36244 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36245 file.
36246 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36247 file.
36248 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36249 file.
36250 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36251 multiarch wordcopy for PPC32.
36252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36253 wordcopy objects.
36254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36255 (__libc_ifunc_impl_list): Likewise.
36256 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36257 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36258 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36259 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36260 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36261 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36262
36263 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36265 file.
36266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36267 file.
36268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36269 file.
36270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36271 multiarch wcscpy for PPC32.
36272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36273 multiarch objects.
36274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36275 (__libc_ifunc_impl_list): Likewise.
36276 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36277 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36278 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36279 sysdeps/powerpc/power6/wcscpy.c.
36280
36281 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36283 file.
36284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36285 file.
36286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36287 file.
36288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36289 multiarch wcsrchr for PPC32.
36290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36291 multiarch objects.
36292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36293 (__libc_ifunc_impl_list): Likewise.
36294 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36295 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36296 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36297 sysdeps/powerpc/power6/wcsrchr.c.
36298
36299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36300 file.
36301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36302 file.
36303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36305 multiarch wcschr for PPc32.
36306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36307 multiarch objects.
36308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36309 (__libc_ifunc_impl_list): Likewise.
36310 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36311 * sysdeps/powerpc/power6/wcschr.c: ... to here.
36312 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36313 sysdeps/powerpc/power6/wcschr.c.
36314
36315 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36316 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36317 file.
36318 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36319 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36320 file: multiarch strchr for PPC32.
36321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36322 multiarch objects.
36323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36324 (__libc_ifunc_impl_list): Likewise.
36325
36326 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36327 name.
36328 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36329 file.
36330 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36331 file.
36332 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36333 multiarch strchrnul for PPC32.
36334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36335 multiarch objects.
36336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36337 (__libc_ifunc_impl_list): Likewise.
36338
36339 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36340 file.
36341 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36342 multiarch strncasecmp for PPC32.
36343 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36344 file.
36345 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36346 multiarch strncasecmp_l for PPC32.
36347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36348 strncasecmp multiarch objects.
36349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36350 (__libc_ifunc_impl_list): Likewise.
36351
36352 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36353 file.
36354 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36355 multiarch strncasecmp for PPC32.
36356 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36357 New file.
36358 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36359 multiarch strcasecmp_l for PPC32.
36360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36361 multiarch objects.
36362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36363 (__libc_ifunc_impl_list): Likewise.
36364
36365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36366 file.
36367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36368 file.
36369 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36370 multiarch strncmp for PPC32.
36371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36372 multiarch objects.
36373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36374 (__libc_ifunc_impl_list): Likewise.
36375
36376 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36377 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36378 file.
36379 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36380 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36382 multiarch objects.
36383 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36384 (__libc_ifunc_impl_list): Likewise.
36385
36386 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36387 file.
36388 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36389 file.
36390 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36392 multiarch objects.
36393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36394 (__libc_ifunc_impl_list): Likewise.
36395
36396 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36397 file.
36398 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36399 file.
36400 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36401 multiarch rawmemchr for PPC32.
36402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36403 multiarch objects.
36404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36405 (__libc_ifunc_impl_list): Likewise.
36406
36407 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36408 file.
36409 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36410 file.
36411 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36412 file: memrchr multiarch for PPC32.
36413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36414 multiarch objects.
36415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36416 (__libc_ifunc_impl_list): Likewise.
36417
36418 * string/memchr.c (__memchr): Using macro to redefine symbol name.
36419 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36420 file.
36421 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36422 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36423 multiarch memchr for PPC32.
36424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36425 multiarch objects.
36426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36427 (__libc_ifunc_impl_list): Likewise.
36428
36429 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36430 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36431 file.
36432 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36433 file.
36434 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36435 file: multiarch mempcpy for PPC32.
36436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36437 multiarch objects.
36438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36439 (__libc_ifunc_impl_list): Likewise.
36440
36441 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36442 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36443 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36444 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36445 multiarch bzero for PPC32.
36446 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36447 file.
36448 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36449 file.
36450 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36451 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36452 file: multiarch memset for PPC32.
36453 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36455 memset multiarch objects.
36456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36457 (__libc_ifunc_impl_list): Likewise.
36458
36459 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36460 file.
36461 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36463 memcmp for PPC32.
36464 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36466 multiarch objects.
36467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36468 (__libc_ifunc_impl_list): Likewise.
36469
36470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36471 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36473 file.
36474 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36475 file.
36476 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36477 file.
36478 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36479 multiarch memcpy for PPC32.
36480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36481 multiarch objects.
36482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36483 (__libc_ifunc_impl_list): Likewise.
36484
36485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36486 support multiarch for POWER/PPC32.
36487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36488 Likewise.
36489 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36491 Implies file to make multiarch folder appers before the fpu and
36492 default folder for power4 configuration.
36493
36494 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36495
36496 * scripts/bench.pl: Append volatile keyword to type.
36497
36498 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36499
36500 * sysdeps/sh/sotruss-lib.c: New file.
36501 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36502
36503 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36504
36505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36506
36507 2013-12-05 Joseph Myers <joseph@codesourcery.com>
36508
36509 [BZ #6810]
36510 * math/w_tgamma.c: Include <errno.h>.
36511 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
36512 * math/w_tgammaf.c: Include <errno.h>.
36513 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
36514 * math/w_tgammal.c: Include <errno.h>.
36515 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
36516 * math/auto-libm-test-in: Do not allow missing errno on tgamma
36517 underflow. Add more tgamma tests.
36518 * math/auto-libm-test-out: Regenerated.
36519 * sysdeps/i386/fpu/libm-test-ulps: Update.
36520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36521
36522 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36523 sin, sinh, tan, tanh, tgamma, y0 and y1.
36524 * math/auto-libm-test-out: Regenerated.
36525 * math/libm-test.inc (TEST_COND_x86_64): New macro.
36526 (TEST_COND_x86): Likewise.
36527 (M_E2l): Remove macro.
36528 (M_E3l): Likewise.
36529 (M_2_SQRT_PIl): Likewise.
36530 (M_SQRT_PIl): Likewise.
36531 (M_1_DIV_El): Likewise.
36532 (log_test_data): Use AUTO_TESTS_f_f.
36533 (log10_test_data): Likewise.
36534 (log1p_test_data): Likewise.
36535 (log2_test_data): Likewise.
36536 (sin_test_data): Likewise.
36537 (sin_tonearest_test_data): Likewise.
36538 (sin_towardzero_test_data): Likewise.
36539 (sin_downward_test_data): Likewise.
36540 (sin_upward_test_data): Likewise.
36541 (sinh_test_data): Likewise.
36542 (sinh_tonearest_test_data): Likewise.
36543 (sinh_towardzero_test_data): Likewise.
36544 (sinh_downward_test_data): Likewise.
36545 (sinh_upward_test_data): Likewise.
36546 (tan_test_data): Likewise.
36547 (tan_tonearest_test_data): Likewise.
36548 (tan_towardzero_test_data): Likewise.
36549 (tan_downward_test_data): Likewise.
36550 (tan_upward_test_data): Likewise.
36551 (tanh_test_data): Likewise.
36552 (tgamma_test_data): Likewise.
36553 (y0_test_data): Likewise.
36554 (y1_test_data): Likewise.
36555 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36556 (special_real_inputs): Add pi/4.
36557 * sysdeps/i386/fpu/libm-test-ulps: Update.
36558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36559
36560 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36561
36562 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36563 "longjmp_target" static probes.
36564 (__longjmp): Rename to __longjmp_symbol.
36565 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36566 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36567 on which longjmp to generate.
36568 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36569 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36570 probe.
36571 (__sigsetjmp): Rename to __sigsetjmp_symbol.
36572 (__sigjmp_save): Rename to __sigjmp_save_symbol.
36573 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36574 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36575 and __sigjmp_save_symbol based on which sigsetjmp to generated.
36576 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36578 __longjmp_symbol based on which __longjmp to generate.
36579 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36580 probe.
36581 (setjmp): Rename to setjmp_symbol.
36582 (__sigsetjmp): Rename to __sigsetjmp_symbol.
36583 (_setjmp): Rename to _setjmp_symbol.
36584 (__sigsetjmp): Rename to __sigsetjmp_symbol.
36585 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36586 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36587 which setjmp to generate.
36588 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36589 "longjmp_target" static probes.
36590
36591 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36592
36593 * benchtests/README: Add note about output arguments.
36594 * benchtests/bench-sincos.c: Remove file.
36595 * benchtests/sincos-inputs: New file.
36596 * scripts/bench.pl: Identify output arguments and define
36597 static variables for them.
36598
36599 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36600
36601 [BZ #15941]
36602 * Makefile (INSTALL): Add install-plain.texi as the primary
36603 dependency.
36604 * manual/install-plain.texi: New file.
36605 * manual/install.texi: Include node directive only for
36606 non-plaintext output.
36607
36608 2013-12-04 Joseph Myers <joseph@codesourcery.com>
36609
36610 * stdlib/longlong.h: Update from GCC.
36611
36612 [BZ #6807]
36613 [BZ #15901]
36614 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36615 * math/w_j0f.c (y0f): Likewise.
36616 * math/w_j0l.c (__y0l): Likewise.
36617 * math/w_j1.c (y1): Likewise.
36618 * math/w_j1f.c (y1f): Likewise.
36619 * math/w_j1l.c (__y1l): Likewise.
36620 * math/w_jn.c (yn): Likewise.
36621 * math/w_jnf.c (ynf): Likewise.
36622 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36623 Bessel function pole errors in _POSIX_ mode. Use NAN as return
36624 value for Bessel function domain errors outside _SVID_ mode.
36625 Adjust sign of return value for yn (negative integer, 0).
36626 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36627 by zero in return for negative x and set sign appropriately for
36628 negative n.
36629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36630 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36631 * math/libm-test.inc (y0_test_data): Add more tests and adjust
36632 expectations in error cases.
36633 (y1_test_data): Likewise.
36634 (yn_test_data): Likewise.
36635 * sysdeps/i386/fpu/libm-test-ulps: Update.
36636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36637
36638 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36639
36640 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36641 "64" to "64-v1". Add "64-v2".
36642 (abi-64-options): Rename to ...
36643 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
36644 (abi-64-condition): Rename to ...
36645 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
36646 (abi-64-ld-soname): Rename to ...
36647 (abi-64-v1-ld-soname): ... this.
36648 (abi-64-v2-options): Define.
36649 (abi-64-v2-condition): Likewise.
36650 (abi-64-v2-ld-soname): Likewise.
36651 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36652 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36656
36657 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36658 Alan Modra <amodra@gmail.com>
36659
36660 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36661 New versions for use with the ELFv2 ABI.
36662 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36663 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36664 declaration.
36665 (struct La_ppc64v2_retval): Likewise.
36666 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36667 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36668 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36669 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36670 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36671 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36672 Do not save or restore CR.
36673 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36674 (_dl_profile_resolve): Do no save or restore CR. Support extended
36675 return values for ELFv2 ABI. Fix location of FPR return registers.
36676 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36677 updated values for _CALL_ELF == 2.
36678 (La_regs, La_retval, int_retval): Likewise.
36679
36680 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36681
36682 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36683 (FRAME_MIN_SIZE_PARM): Likewise.
36684 (FRAME_BACKCHAIN): Likewise.
36685 (FRAME_CR_SAVE): Likewise.
36686 (FRAME_LR_SAVE): Likewise.
36687 (FRAME_TOC_SAVE): Likewise.
36688 (FRAME_PARM_SAVE): Likewise.
36689 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36690 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36691 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36692 (call_mcount_parm_offset): New macro.
36693 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36694 (PROF): Use symbolic stack frame offsets.
36695 (TAIL_CALL_SYSCALL_ERROR): Likewise.
36696 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36697 Redefine in terms of FRAME_MIN_SIZE.
36698 (_dl_runtime_resolve): Use symbolic stack frame offsets.
36699 (_dl_profile_resolve): Likewise. Update comment.
36700 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36701 symbols stack frame offsets.
36702 (__sigsetjmp): Likewise.
36703 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36704 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36705 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36706 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36707
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36709 (FRAME_BACKCHAIN): Remove.
36710 (FRAME_CR_SAVE): Likewise.
36711 (FRAME_LR_SAVE): Likewise.
36712 (FRAME_COMPILER_DW): Likewise.
36713 (FRAME_LINKER_DW): Likewise.
36714 (FRAME_TOC_SAVE): Likewise.
36715 (FRAME_PARM_SAVE): Likewise.
36716 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36717 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36718 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36720 (CHECK_SP): Use symbolic stack frame offsets.
36721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36722 zone" instead of caller's parameter save area for temp storage.
36723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36724 Likewise. Also, use symbolic stack frame offsets.
36725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36726 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36727 our own stack frame instead of the caller's.
36728 (__socket): Use symbolic stack frame offsets.
36729
36730 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36731 Alan Modra <amodra@gmail.com>
36732
36733 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36734 Define.
36735 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36736 (PPC64_LOCAL_ENTRY_OFFSET): Define.
36737 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36738 New function.
36739 (elf_machine_fixup_plt): Call it.
36740 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
36741 reloc arguments.
36742 (elf_machine_rela): Update call to elf_machine_plt_conflict.
36743 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36744 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36745 r2 before calling target.
36746
36747 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36748 Alan Modra <amodra@gmail.com>
36749
36750 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36751 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36752 versions of macros to support ELFv2 ABI.
36753 (LOCALENTRY): New macro.
36754 (ENTRY, EALIGN): Use it.
36755 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36756 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36757 fall through into ENTRY entry point.
36758 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36759 Only define if _CALL_ELF != 2.
36760
36761 (elf_machine_matches_host): Verify ABI version matches.
36762 (RTLD_START): Use LOCALENTRY.
36763 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36764 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36765 (PLT_ENTRY_WORDS): New macro.
36766 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36767 (elf_machine_runtime_setup): Support ELFv2 ABI.
36768 (elf_machine_fixup_plt): Likewise.
36769 (elf_machine_plt_conflict): Likewise.
36770 (resolve_ifunc): Likewise.
36771 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36772 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36773 Likewise.
36774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36775 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36777 (makecontext): Support ELFv2 ABI.
36778 * elf/elf.h (EF_PPC64_ABI): Define.
36779
36780 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36781
36782 * sysdeps/powerpc/powerpc64/sysdep.h
36783 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36784 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36785 (ENTRY) [ASSEMBLER]: ... but instead here ...
36786 (EALIGN) [ASSEMBLER]: ... and here.
36787 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36788 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36789 (ENTRY_2) [!ASSEMBLER]: Use it.
36790 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36791 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
36792 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36793 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36794 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36796 Use PPC64_LOAD_FUNCPTR.
36797
36798 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36799
36800 2013-12-04 Alan Modra <amodra@gmail.com>
36801
36802 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36803 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36804 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36805 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36806
36807 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36808 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36809 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36810 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36811 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36812 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36813
36814 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36815
36816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36817 (__makecontext): Fix incorrect CFI when backtracing out of
36818 context created via makecontext.
36819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36820 (__setcontext): Fix incorrect CFI during switch to new context.
36821 (__novec_setcontext): Likewise.
36822
36823 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
36824
36825 [BZ #4772]
36826 * time/strptime_l.c (__strptime_internal): Allow modifiers
36827 in strptime.
36828 * time/tst-strptime.c (day_tests): Add testcase.
36829
36830 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36831
36832 * scripts/bench.pl: Skip over blank lines.
36833
36834 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
36835
36836 [BZ #926]
36837 * manual/time.texi (Calendar Time): Clarify what timezone functions
36838 use.
36839
36840 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36841
36842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36843
36844 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
36845
36846 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36847 implementation.
36848 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36849 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36850 * debug/memset_chk.c (__memset_chk): Likewise.
36851 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36852 * debug/strncpy_chk.c: Likewise.
36853
36854 2013-12-03 Joseph Myers <joseph@codesourcery.com>
36855
36856 [BZ #15268]
36857 [BZ #15425]
36858 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36859 (__ieee754_exp): For possibly underflowing results, check size of
36860 result and force underflow exception if required.
36861 * math/auto-libm-test-in: Add more tests of exp.
36862 * math/auto-libm-test-out: Regenerated.
36863 * sysdeps/i386/fpu/libm-test-ulps: Update.
36864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36865
36866 [BZ #16283]
36867 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36868 * math/w_exp2f.c (__exp2f): Likewise.
36869 * math/w_exp2l.c (__exp2l): Likewise.
36870 * math/auto-libm-test-in: Do not allow missing errno on exp2
36871 underflow.
36872 * math/auto-libm-test-out: Regenerated.
36873
36874 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
36875
36876 [BZ #16274]
36877 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36878 handle filename validation.
36879 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36880 (do_open): Delete.
36881
36882 2013-12-03 Joseph Myers <joseph@codesourcery.com>
36883
36884 [BZ #6786]
36885 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36886 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36887 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36888 <float.h>.
36889 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36891 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36893 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36894 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36895 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36896 * math/auto-libm-test-in: Don't allow missing errno from erfc.
36897 Add more erfc tests.
36898 * math/auto-libm-test-out: Regenerated.
36899 * sysdeps/i386/fpu/libm-test-ulps: Update.
36900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36901
36902 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36903 exp2, expm1, j0 and j1.
36904 * math/auto-libm-test-out: Regenerated.
36905 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36906 (erfc_test_data): Likewise.
36907 (exp_test_data): Likewise.
36908 (exp_tonearest_test_data): Likewise.
36909 (exp_towardzero_test_data): Likewise.
36910 (exp_downward_test_data): Likewise.
36911 (exp_upward_test_data): Likewise.
36912 (exp10_test_data): Likewise.
36913 (exp2_test_data): Likewise.
36914 (expm1_test_data): Likewise.
36915 (j0_test_data): Likewise.
36916 (j1_test_data): Likewise.
36917 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36918 (input_flag_type): Add flag_xfail_rounding.
36919 (input_flags): Add xfail-rounding.
36920 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36921 (output_for_one_input_case): Handle flag_xfail_rounding.
36922 * sysdeps/i386/fpu/libm-test-ulps: Update.
36923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36924
36925 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
36926
36927 [BZ #16289]
36928 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36929 division by 0.
36930
36931 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
36932
36933 [BZ #16195]
36934 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36935 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36936 (STAP_PROBE0): New macro.
36937 (STAP_PROBE1): Likewise.
36938 (STAP_PROBE2): Likewise.
36939 (STAP_PROBE3): Likewise.
36940 (STAP_PROBE4): Likewise.
36941
36942 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
36943
36944 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36945
36946 2013-12-02 Steve Ellcey <sellcey@mips.com>
36947
36948 * benchtests/Makefile (bench): Add sqrt.
36949 (LDLIBS-bench-sqrt): New.
36950 * benchtests/sqrt-input: New.
36951
36952 2013-12-02 Pavel Simerda <psimerda@redhat.com>
36953
36954 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36955 (GAIH_EAI): Likewise.
36956 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36957 (gaih_inet): Likewise.
36958 (getaddrinfo): Don't use GAIH_EAI.
36959
36960 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36961 (struct gaih): Remove definition.
36962
36963 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36964
36965 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36966 Use HERRNOP directly.
36967
36968 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36969
36970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36971
36972 2013-11-30 Joseph Myers <joseph@codesourcery.com>
36973
36974 * math/gen-auto-libm-tests.c (test_functions): Add more
36975 single-argument functions.
36976 (special_fill_pi_2): New function.
36977 (special_fill_minus_pi_2): Likewise.
36978 (special_fill_pi_6): Likewise.
36979 (special_fill_minus_pi_6): Likewise.
36980 (special_fill_pi_3): Likewise.
36981 (special_fill_2pi_3): Likewise.
36982 (special_fill_e): Likewise.
36983 (special_fill_1_e): Likewise.
36984 (special_fill_e_minus_1): Likewise.
36985 (special_real_inputs): Add more special inputs.
36986 (output_for_one_input_case): Do not require ERANGE on underflow to
36987 zero if round-to-nearest result does not underflow to zero, unless
36988 exact results required.
36989 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36990 atan, atanh, cbrt, cos and cosh.
36991 * math/auto-libm-test-out: Regenerated.
36992 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36993 (acos_tonearest_test_data): Likewise.
36994 (acos_towardzero_test_data): Likewise.
36995 (acos_downward_test_data): Likewise.
36996 (acos_upward_test_data): Likewise.
36997 (acosh_test_data): Likewise.
36998 (asin_test_data): Likewise.
36999 (asin_tonearest_test_data): Likewise.
37000 (asin_towardzero_test_data): Likewise.
37001 (asin_upward_test_data): Likewise.
37002 (asinh_test_data): Likewise.
37003 (atan_test_data): Likewise.
37004 (atanh_test_data): Likewise.
37005 (cbrt_test_data): Likewise.
37006 (cos_test_data): Likewise.
37007 (cos_tonearest_test_data): Likewise.
37008 (cos_towardzero_test_data): Likewise.
37009 (cos_downward_test_data): Likewise.
37010 (cos_upward_test_data): Likewise.
37011 (cosh_test_data): Likewise.
37012 (cosh_tonearest_test_data): Likewise.
37013 (cosh_towardzero_test_data): Likewise.
37014 (cosh_downward_test_data): Likewise.
37015 (cosh_upward_test_data): Likewise.
37016 * sysdeps/i386/fpu/libm-test-ulps: Update.
37017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37018
37019 2013-11-29 Joseph Myers <joseph@codesourcery.com>
37020
37021 [BZ #6787]
37022 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37023 * math/w_exp10f.c (__exp10f): Likewise.
37024 * math/w_exp10l.c (__exp10l): Likewise.
37025 * math/libm-test.inc (exp10_test_data): Add more tests and expect
37026 errno settings in existing tests.
37027
37028 [BZ #14032]
37029 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37030 precision control set to double precision.
37031 * sysdeps/i386/fpu/w_sqrt.c: New file.
37032 * math/auto-libm-test-in: Add more tests.
37033 * math/auto-libm-test-out: Update.
37034
37035 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37036 (sqrt_test_tonearest): New function.
37037 (sqrt_towardzero_test_data): New variable.
37038 (sqrt_test_towardzero): New function.
37039 (sqrt_downward_test_data): New variable.
37040 (sqrt_test_downward): New function.
37041 (sqrt_upward_test_data): New variable.
37042 (sqrt_test_upward): New function.
37043 (main): Call the new functions.
37044
37045 * math/gen-auto-libm-tests.c: New file.
37046 * math/auto-libm-test-in: Likewise.
37047 * math/auto-libm-test-out: New generated file.
37048 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37049 variables.
37050 (%beautify): Add generated representations of zero.
37051 (top level): Set $auto_input and call parse_auto_input.
37052 (beautify): Remove trailing "f" from hex float constants.
37053 (parse_args): Handle XFAIL_TEST.
37054 (convert_condition): New function.
37055 (or_value): Likewise.
37056 (or_cond_value): Likewise.
37057 (generate_testfile): Handle AUTO_TESTS_* lines.
37058 (parse_auto_input): New function.
37059 * math/libm-test.inc (XFAIL_TEST): New macro.
37060 (ERRNO_UNCHANGED): Update value.
37061 (ERRNO_EDOM): Likewise.
37062 (ERRNO_ERANGE): Likewise.
37063 (IGNORE_RESULT): Likewise.
37064 (TEST_COND_flt_32): New macro.
37065 (TEST_COND_dbl_64): Likewise.
37066 (TEST_COND_ldbl_96_intel): Likewise.
37067 (TEST_COND_ldbl_96_m68k): Likewise.
37068 (TEST_COND_ldbl_128): Likewise.
37069 (TEST_COND_ldbl_128ibm): Likewise.
37070 (TEST_COND_long32): Likewise.
37071 (TEST_COND_long64): Likewise.
37072 (TEST_COND_before_rounding): Likewise.
37073 (TEST_COND_after_rounding): Likewise.
37074 (enable_test): Handle XFAIL_TEST flag.
37075 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37076 with finite results.
37077 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37078 auto-libm-test-out.
37079
37080 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37081 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37082
37083 [BZ #16214]
37084 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37085 __tls_get_addr_internal instead of __tls_get_offset in order to
37086 avoid GOT pointer dependency. Make rtld export
37087 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37088 __tls_get_addr since we are a __tls_get_offset platform.
37089 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37090 GOT pointer being set up before.
37091 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37092
37093 2013-11-28 Joseph Myers <joseph@codesourcery.com>
37094
37095 * manual/math.texi (Errors in Math Functions): Document accuracy
37096 goals.
37097
37098 [BZ #15004]
37099 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37100 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37103 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37105 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37110 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37114 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37115
37116 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37117 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37118 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37119 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37120 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37121 Likewise.
37122 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37123 Likewise.
37124 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37125 Likewise.
37126 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37127 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37128 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37129 atomic-feupdateenv and flt-rounds.
37130 * sysdeps/powerpc/nofpu/Versions (libc): Add
37131 __atomic_feholdexcept, __atomic_feclearexcept,
37132 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37133 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37134 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37135 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37136 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37137 here.
37138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37139 Update.
37140
37141 * manual/arith.texi (FP Exceptions): Document that exceptions may
37142 not be raised when matherr is used.
37143 (Math Error Reporting): Document overflow in directed rounding
37144 modes. Document that errno may not be set when finite values are
37145 returned on overflow. Document intent to set errno on underflow
37146 only for underflow to zero.
37147
37148 [BZ #16271]
37149 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37150 round-to-nearest then adjust result for other rounding modes.
37151 * include/fenv.h (fegetround): Use libm_hidden_proto.
37152 * math/fegetround.c (fegetround): Use libm_hidden_def.
37153 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37154 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37155 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37156 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37157 Likewise.
37158 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37159 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37160 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37161 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37162
37163 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37164
37165 [BZ #16077]
37166 * nss/Versions (libnss_files): Add
37167 _nss_files_gethostbyname3_r.
37168 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37169 New function.
37170 (HOST_DB_LOOKUP): Remove macro.
37171 (_nss_files_gethostbyname_r): Implement function without the
37172 HOST_DB_LOOKUP macro.
37173 (_nss_files_gethostbyname2_r): Likewise.
37174
37175 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
37176
37177 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37178
37179 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
37180
37181 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37182 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37183 warning.
37184
37185 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37186
37187 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37188 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37189 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37190 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37191 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37192 __fe_nomask_env_priv and attribute_hidden.
37193 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37194 (libc_feupdateenv_test_ppc): Likewise.
37195 (libc_feresetround_ppc): Likewise.
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37197 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37198 compat_symbol macro.
37199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37200 (__fe_nomask_env): Likewise.
37201 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37202
37203 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37204
37205 * string/Makefile: Remove ifunc tests.
37206 * string/test-string.h: Define TEST_IFUNC.
37207 * string/test-bcopy-ifunc.c: Remove.
37208 * string/test-bzero-ifunc.c: Likewise.
37209 * string/test-memccpy-ifunc.c: Likewise.
37210 * string/test-memchr-ifunc.c: Likewise.
37211 * string/test-memcmp-ifunc.c: Likewise.
37212 * string/test-memcpy-ifunc.c: Likewise.
37213 * string/test-memmem-ifunc.c: Likewise.
37214 * string/test-memmove-ifunc.c: Likewise.
37215 * string/test-mempcpy-ifunc.c: Likewise.
37216 * string/test-memrchr-ifunc.c: Likewise.
37217 * string/test-memset-ifunc.c: Likewise.
37218 * string/test-rawmemchr-ifunc.c: Likewise.
37219 * string/test-stpcpy-ifunc.c: Likewise.
37220 * string/test-stpncpy-ifunc.c: Likewise.
37221 * string/test-strcasecmp-ifunc.c: Likewise.
37222 * string/test-strcasestr-ifunc.c: Likewise.
37223 * string/test-strcat-ifunc.c: Likewise.
37224 * string/test-strchr-ifunc.c: Likewise.
37225 * string/test-strchrnul-ifunc.c: Likewise.
37226 * string/test-strcmp-ifunc.c: Likewise.
37227 * string/test-strcpy-ifunc.c: Likewise.
37228 * string/test-strcspn-ifunc.c: Likewise.
37229 * string/test-strlen-ifunc.c: Likewise.
37230 * string/test-strncasecmp-ifunc.c: Likewise.
37231 * string/test-strncat-ifunc.c: Likewise.
37232 * string/test-strncmp-ifunc.c: Likewise.
37233 * string/test-strncpy-ifunc.c: Likewise.
37234 * string/test-strnlen-ifunc.c: Likewise.
37235 * string/test-strpbrk-ifunc.c: Likewise.
37236 * string/test-strrchr-ifunc.c: Likewise.
37237 * string/test-strspn-ifunc.c: Likewise.
37238 * string/test-strstr-ifunc.c: Likewise.
37239
37240 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37241
37242 * benchtests/Makefile: Remove ifunc tests.
37243 * benchtests/bench-string.h: Define TEST_IFUNC.
37244 * benchtests/bench-bcopy-ifunc.c: Remove.
37245 * benchtests/bench-bzero-ifunc.c: Likewise.
37246 * benchtests/bench-memccpy-ifunc.c: Likewise.
37247 * benchtests/bench-memchr-ifunc.c: Likewise.
37248 * benchtests/bench-memcmp-ifunc.c: Likewise.
37249 * benchtests/bench-memcpy-ifunc.c: Likewise.
37250 * benchtests/bench-memmem-ifunc.c: Likewise.
37251 * benchtests/bench-memmove-ifunc.c: Likewise.
37252 * benchtests/bench-mempcpy-ifunc.c: Likewise.
37253 * benchtests/bench-memrchr-ifunc.c: Likewise.
37254 * benchtests/bench-memset-ifunc.c: Likewise.
37255 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37256 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37257 * benchtests/bench-stpcpy-ifunc.c: Likewise.
37258 * benchtests/bench-stpncpy-ifunc.c: Likewise.
37259 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37260 * benchtests/bench-strcasestr-ifunc.c: Likewise.
37261 * benchtests/bench-strcat-ifunc.c: Likewise.
37262 * benchtests/bench-strchr-ifunc.c: Likewise.
37263 * benchtests/bench-strchrnul-ifunc.c: Likewise.
37264 * benchtests/bench-strcmp-ifunc.c: Likewise.
37265 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37266 * benchtests/bench-strcpy-ifunc.c: Likewise.
37267 * benchtests/bench-strcspn-ifunc.c: Likewise.
37268 * benchtests/bench-strlen-ifunc.c: Likewise.
37269 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37270 * benchtests/bench-strncat-ifunc.c: Likewise.
37271 * benchtests/bench-strncmp-ifunc.c: Likewise.
37272 * benchtests/bench-strncpy-ifunc.c: Likewise.
37273 * benchtests/bench-strnlen-ifunc.c: Likewise.
37274 * benchtests/bench-strpbrk-ifunc.c: Likewise.
37275 * benchtests/bench-strrchr-ifunc.c: Likewise.
37276 * benchtests/bench-strsep-ifunc.c: Likewise.
37277 * benchtests/bench-strspn-ifunc.c: Likewise.
37278 * benchtests/bench-strstr-ifunc.c: Likewise.
37279
37280 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37281
37282 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37283
37284 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37285
37286 * resolv/netdb.h: Use __glibc_reserved instead __unused.
37287 * rt/aio.h: Likewise.
37288 * sysdeps/gnu/bits/utmp.h: Likewise.
37289 * sysdeps/gnu/bits/utmpx.h: Likewise.
37290 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37291 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37292 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37293 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37294 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37295 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37296 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37297 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37298 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37299 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37300 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37301 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37302 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37304 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37305 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37306 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37307 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37308 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37309 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37310 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37311 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37312 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37313 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37314 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37316 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37317 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37318 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37319 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37320 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37321 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37322 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37323 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37324 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37325 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37326 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37327 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37328 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37329 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37330 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37331 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37332
37333 2013-11-25 Carlos O'Donell <carlos@redhat.com>
37334
37335 [BZ #16245]
37336 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37337 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37338
37339 2013-11-25 Joseph Myers <joseph@codesourcery.com>
37340
37341 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37342 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37343 Likewise.
37344
37345 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37346
37347 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37348 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37349 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37350 (__fesetround): Remove define.
37351 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37352 rounding and exceptions handling.
37353 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37354 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37355 (__fe_nomask_env): Likewise.
37356 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37357 __fegetround instead of fegetround.
37358 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37359 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37360
37361 2013-11-21 Roland McGrath <roland@hack.frob.com>
37362
37363 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37364 it's there.
37365
37366 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37367
37368 2013-11-21 Meador Inge <meadori@codesourcery.com>
37369
37370 [BZ #11157]
37371 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37372 (encrypt_r): Likewise.
37373 * malloc/obstack.h (obstack_free): Likewise.
37374 * posix/unistd.h (encrypt): Likewise.
37375
37376 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
37377
37378 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37379 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37380 DL_CALL_DT_FINI() that call the functions directly.
37381 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37382 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37383 * elf/dl-fini.c: Likewise.
37384
37385 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
37386
37387 * malloc/hooks.c (memalign_check): Add alignment rounding.
37388 * malloc/malloc.c (_mid_memalign): New function.
37389 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37390 Implement by calling _mid_memalign.
37391 * manual/probes.texi (Memory Allocation Probes): Remove
37392 memory_valloc_retry and memory_pvalloc_retry.
37393
37394 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37395
37396 * locale/programs/locarchive.c (open_archive): Add const
37397 qualifier to ARCHIVEFNAME and copy default fname to
37398 DEFAULT_FNAME.
37399
37400 [BZ #15601]
37401 * libio/tst-widetext.input: Rename Oriya to Odia.
37402 * locale/iso-639.def: Likewise.
37403
37404 * manual/probes.texi (Mathematical Function Probes): Add
37405 documentation for sin, cos, asin and acos probes.
37406 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37407 (__sin32): Add slowasin probe.
37408 (__cos32): Add slowacos probe.
37409 (__mpsin): Add slowsin probe.
37410 (__mpcos): Add slowcos probe.
37411
37412 2013-11-19 Joseph Myers <joseph@codesourcery.com>
37413
37414 [BZ #15483]
37415 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37416 thread-local __sim_exceptions_thread and global
37417 __sim_exceptions_global.
37418 (__sim_disabled_exceptions): Change to thread-local
37419 __sim_disabled_exceptions_thread and global
37420 __sim_disabled_exceptions_global.
37421 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37422 and global __sim_round_mode_global.
37423 (__simulate_exceptions): Use thread-local floating-point state and
37424 set global state from it as needed.
37425 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37426 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37427 __sim_round_mode_thread.
37428 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37429 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37430 and global __sim_exceptions_global.
37431 (__sim_disabled_exceptions): Change to thread-local
37432 __sim_disabled_exceptions_thread and global
37433 __sim_disabled_exceptions_global.
37434 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37435 and global __sim_round_mode_global.
37436 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37437 (SIM_SET_GLOBAL): Likewise.
37438 * sysdeps/powerpc/soft-fp/sfp-machine.h
37439 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37440 __sim_round_mode_thread.
37441 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37442 __sim_disabled_exceptions_thread.
37443 (__sim_exceptions): Change to __sim_exceptions_thread.
37444 (__sim_disabled_exceptions): Change to
37445 __sim_disabled_exceptions_thread.
37446 (__sim_round_mode): Change to __sim_round_mode_thread.
37447 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37448 thread-local floating-point state and set global state from it as
37449 needed.
37450 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37451 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37452 (__sim_disabled_exceptions): Remove extern declaration.
37453 (feenableexcept): Use thread-local floating-point state and set
37454 global state from it as needed.
37455 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37456 extern declaration.
37457 (__sim_disabled_exceptions): Likewise.
37458 (__sim_round_mode): Likewise.
37459 (__fegetenv): Use thread-local floating-point state.
37460 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37461 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37462 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37463 floating-point state and set global state from it as needed.
37464 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37465 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37466 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37467 Likewise.
37468 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37469 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37470 Likewise.
37471 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37472 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37473 Use __sim_round_mode_thread.
37474 * math/test-fenv-tls.c: New file.
37475 * math/Makefile (tests): Add test-fenv-tls.
37476 ($(objpfx)test-fenv-tls): Depend on
37477 $(common-objpfx)nptl/libpthread.so.
37478
37479 2013-11-19 Andreas Schwab <schwab@suse.de>
37480
37481 * locale/programs/locale.c (show_info): Decode wordarray elements.
37482 * locale/categories.def (LC_MONETARY): Add element for
37483 _NL_MONETARY_CRNCYSTR.
37484 * locale/C-monetary.c (conversion_rate): New variable.
37485 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37486 element.
37487
37488 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
37489
37490 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37491 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37492
37493 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37494
37495 * elf/Makefile (tst-auxv): New test.
37496 * elf/tst-auxv.c: New
37497 * elf/rtld.c (dl_main): Adjust AT_EXECFN
37498
37499 2013-11-18 Joseph Myers <joseph@codesourcery.com>
37500
37501 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37502 (hidden_proto): Caller changed.
37503 (hidden_tls_proto): New macro.
37504 (libc_hidden_tls_proto): Likewise.
37505 (rtld_hidden_tls_proto): Likewise.
37506 (libm_hidden_tls_proto): Likewise.
37507 (libresolv_hidden_tls_proto): Likewise.
37508 (librt_hidden_tls_proto): Likewise.
37509 (libdl_hidden_tls_proto): Likewise.
37510 (libnss_files_hidden_tls_proto): Likewise.
37511 (libnsl_hidden_tls_proto): Likewise.
37512 (libnss_nisplus_hidden_tls_proto): Likewise.
37513 (libutil_hidden_tls_proto): Likewise.
37514
37515 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
37516
37517 [BZ #10253]
37518 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37519 (decompose_rpath): Defer expansion to fillin_rpath.
37520 (_dl_init_paths): Pass linkmap to fillin_rpath.
37521
37522 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37523
37524 * benchtests/Makefile: Add strsep.
37525 * benchtests/bench-strsep.c: New file: strsep benchtest.
37526 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37527
37528 2013-11-18 Andreas Schwab <schwab@suse.de>
37529
37530 * locale/programs/locale.c (show_info) [case byte]: Check for
37531 '\377' instead of '\177'.
37532 * locale/C-monetary.c (not_available): Always use "\377".
37533 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37534 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
37535 detect unavailable sign_posn locale elements.
37536 * locale/localeconv.c (__localeconv): For grouping and
37537 mon_grouping handle "\177" and "\377" like no grouping.
37538 (INT_ELEM): New macro. Use it to set all numeric members.
37539 * locale/programs/ld-monetary.c (monetary_read)
37540 <tok_mon_grouping>: Normalize single -1 to the empty string.
37541 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37542 Likewise.
37543
37544 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
37545
37546 [BZ #16055]
37547 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37548 when we match (nil).
37549 * stdio-common/tst-sscanf.c (struct test): Add testcase.
37550
37551 2013-11-16 Joseph Myers <joseph@codesourcery.com>
37552
37553 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37554 (NO_TEST_INLINE): Update value.
37555 (ERRNO_UNCHANGED): Likewise.
37556 (ERRNO_EDOM): Likewise.
37557 (ERRNO_ERANGE): Likewise.
37558 (IGNORE_RESULT): Likewise.
37559 (check_float_internal): Check signs of NaN results if
37560 TEST_NAN_SIGN used.
37561 (check_complex): Pass TEST_NAN_SIGN flag through to second
37562 check_float_internal call.
37563 (copysign_test_data): Add tests with quiet NaNs as second
37564 argument. Use TEST_NAN_SIGN.
37565 (fabs_test_data): Add test of negative quiet NaN argument. Use
37566 TEST_NAN_SIGN.
37567 (signbit_test_data): Add tests of quiet NaN argument.
37568 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37569
37570 * math/gen-libm-test.pl (show_exceptions): Take extra argument
37571 $ignore_result.
37572 (parse_args): Handle function results specified as IGNORE.
37573 * math/libm-test.inc (IGNORE_RESULT): New macro.
37574 (check_float_internal): Do not check numerical result if flag
37575 IGNORE_RESULT set.
37576 (check_complex): Pass through IGNORE_RESULT to second
37577 check_float_internal call.
37578 (check_int): Do not check numerical result if flag IGNORE_RESULT
37579 set.
37580 (check_long): Likewise.
37581 (check_bool): Likewise.
37582 (check_longlong): Likewise.
37583 (lrint_test_data): Add tests of infinite and NaN arguments.
37584 (lrint_tonearest_test_data): Likewise.
37585 (lrint_towardzero_test_data): Likewise.
37586 (lrint_downward_test_data): Likewise.
37587 (lrint_upward_test_data): Likewise.
37588 (llrint_test_data): Likewise.
37589 (llrint_tonearest_test_data): Likewise.
37590 (llrint_towardzero_test_data): Likewise.
37591 (llrint_downward_test_data): Likewise.
37592 (llrint_upward_test_data): Likewise.
37593 (lround_test_data): Likewise.
37594 (llround_test_data): Likewise.
37595
37596 * math/libm-test.inc (NO_TEST_INLINE): New macro.
37597 (ERRNO_UNCHANGED): Update value.
37598 (ERRNO_EDOM): Likewise.
37599 (ERRNO_ERANGE): Likewise.
37600 (NO_TEST_INLINE_FLOAT): New macro.
37601 (NO_TEST_INLINE_DOUBLE): Likewise.
37602 (enable_test): New function.
37603 (RUN_TEST_f_f): Check enable_test before running test.
37604 (RUN_TEST_2_f): Likewise.
37605 (RUN_TEST_fff_f): Likewise.
37606 (RUN_TEST_c_f): Likewise.
37607 (RUN_TEST_f_f1): Likewise.
37608 (RUN_TEST_fF_f1): Likewise.
37609 (RUN_TEST_fI_f1): Likewise.
37610 (RUN_TEST_ffI_f1): Likewise.
37611 (RUN_TEST_c_c): Likewise.
37612 (RUN_TEST_cc_c): Likewise.
37613 (RUN_TEST_f_i): Likewise.
37614 (RUN_TEST_f_i_tg): Likewise.
37615 (RUN_TEST_ff_i_tg): Likewise.
37616 (RUN_TEST_f_b): Likewise.
37617 (RUN_TEST_f_b_tg): Likewise.
37618 (RUN_TEST_f_l): Likewise.
37619 (RUN_TEST_f_L): Likewise.
37620 (RUN_TEST_fFF_11): Likewise.
37621 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37622 conditionals.
37623 (cosh_test_data): Likewise.
37624 (exp_test_data): Likewise.
37625 (expm1_test_data): Likewise.
37626 (hypot_test_data): Likewise.
37627 (pow_test_data): Likewise.
37628 (sinh_test_data): Likewise.
37629 (tanh_test_data): Likewise.
37630 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37631 flags argument.
37632
37633 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37634 tests with quiet NaN input and output.
37635 (acosh_test_data): Likewise.
37636 (asin_test_data): Likewise.
37637 (asinh_test_data): Likewise.
37638 (atan_test_data): Likewise.
37639 (atanh_test_data): Likewise.
37640 (atan2_test_data): Likewise.
37641 (cbrt_test_data): Likewise.
37642 (cos_test_data): Likewise.
37643 (cosh_test_data): Likewise.
37644 (erf_test_data): Likewise.
37645 (erfc_test_data): Likewise.
37646 (exp_test_data): Likewise.
37647 (exp10_test_data): Likewise.
37648 (exp2_test_data): Likewise.
37649 (expm1_test_data): Likewise.
37650 (hypot_test_data): Likewise.
37651 (j0_test_data): Likewise.
37652 (j1_test_data): Likewise.
37653 (jn_test_data): Likewise.
37654 (lgamma_test_data): Likewise.
37655 (log_test_data): Likewise.
37656 (log10_test_data): Likewise.
37657 (log1p_test_data): Likewise.
37658 (log2_test_data): Likewise.
37659 (pow_test_data): Likewise.
37660 (scalb_test_data): Likewise.
37661 (sin_test_data): Likewise.
37662 (sincos_test_data): Likewise.
37663 (sinh_test_data): Likewise.
37664 (tan_test_data): Likewise.
37665 (tanh_test_data): Likewise.
37666 (tgamma_test_data): Likewise.
37667 (y0_test_data): Likewise.
37668 (y1_test_data): Likewise.
37669 (yn_test_data): Likewise.
37670
37671 [BZ #16167]
37672 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37673 argument being NaN and avoid computations with second argument in
37674 that case.
37675 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37676 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37677 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37678
37679 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
37680
37681 * locale/iso-639.def: Add Chitwani Tharu (the).
37682
37683 2013-11-14 Andreas Schwab <schwab@suse.de>
37684
37685 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37686 word instead of empty string.
37687
37688 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37689
37690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37691 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37693 (__fe_nomask_env): Likewise.
37694
37695 2013-11-13 Steve Ellcey <sellcey@mips.com>
37696
37697 * benchtests/bench-timing.h: Include time.h.
37698
37699 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
37700
37701 [BZ #15997]
37702 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37703 to 3.4.0 for x32.
37704 * sysdeps/unix/sysv/linux/configure: Regenerated.
37705
37706 2013-11-13 Joseph Myers <joseph@codesourcery.com>
37707
37708 [BZ #16151]
37709 * stdlib/strtod_l.c (round_and_return): Do not consider
37710 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37711 exponent one less than half the least subnormal exponent.
37712 * stdlib/test-strtod-round-data: Add more tests.
37713 * stdlib/tst-strtod-round.c (tests): Regenerated.
37714
37715 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37716
37717 [BZ #14143]
37718 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37719 (__fe_mask_env): Likewise.
37720 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37721 libm_hidden_proto and add function prototype.
37722 (__fe_mask_env): Add function prototype.
37723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37724 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37726 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37728 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37729
37730 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37731
37732 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37733 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37734
37735 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37736
37737 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37738 of htab_find_slot().
37739
37740 2013-11-11 David S. Miller <davem@davemloft.net>
37741
37742 [BZ #16150]
37743 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37744 symbol in the non-vis3 case in static builds.
37745 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37746 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37747 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37748 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37749
37750 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
37751
37752 [BZ #387]
37753 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37754 it is empty.
37755
37756 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37757
37758 * benchtests/Makefile: Add bench-strtod.
37759 * benchtests/bench-strtod.c: New file: strtod benchtest
37760
37761 2013-11-11 Andreas Schwab <schwab@suse.de>
37762
37763 [BZ #16153]
37764 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37765 terminating NUL in key length.
37766
37767 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37768
37769 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37770 Add artificial ODP entry for vDSO symbol for PPC64.
37771 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37772 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37773
37774 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
37775
37776 [BZ #15374]
37777 * nss/getent.c (services_keys): Recognize services starting with digit.
37778
37779 2013-11-06 David S. Miller <davem@davemloft.net>
37780
37781 [BZ #15985]
37782 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37783 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37784
37785 2013-11-06 Will Newton <will.newton@linaro.org>
37786
37787 * manual/memory.texi (Malloc Examples): Remove register
37788 keyword from examples.
37789
37790 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
37791
37792 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37793
37794 2013-11-04 Joseph Myers <joseph@codesourcery.com>
37795
37796 [BZ #6981]
37797 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37798 depending on [__GCC_IEC_559 > 0].
37799 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37800 depending on [__GCC_IEC_559_COMPLEX > 0].
37801
37802 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
37803
37804 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37805 to iso-639.def.
37806
37807 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
37808
37809 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37810
37811 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
37812
37813 [BZ #16112]
37814 * malloc/malloc (malloc_info): Do not handle first bin as
37815 special case.
37816
37817 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
37818
37819 * locale/iso-639.def: Add Central Nahuatl (nhn).
37820
37821 2013-11-01 Bruno Haible <bruno@clisp.org>
37822
37823 [BZ #7003]
37824 * manual/math.texi (BSD Random): Specify range upper bound as
37825 in POSIX.
37826
37827 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
37828
37829 * locale/iso-639.def: Add Meadow Mari (mhr).
37830
37831 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
37832
37833 [BZ #14752], [BZ #15763]
37834 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37835 Validate name.
37836 * rt/tst_shm.c: Add test for escaping directory.
37837
37838 2013-10-31 Andreas Schwab <schwab@suse.de>
37839
37840 [BZ #15917]
37841 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37842 followed by 'x' as part of digit sequence.
37843 * stdio-common/tst-sscanf.c (double_tests2): New tests.
37844
37845 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37846
37847 [BZ #16037]
37848 * configure.ac: allow GNU Make 4.0 and greater.
37849 * configure: Regenerated.
37850
37851 2013-10-30 Will Newton <will.newton@linaro.org>
37852
37853 [BZ #16038]
37854 * malloc/hooks.c (memalign_check): Limit alignment to the
37855 maximum representable power of two.
37856 * malloc/malloc.c (__libc_memalign): Likewise.
37857 * malloc/tst-memalign.c (do_test): Add test for very
37858 large alignment values.
37859 * malloc/tst-posix_memalign.c (do_test): Likewise.
37860
37861 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
37862
37863 [BZ #11087]
37864 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37865 (munmap_chunk): Likewise.
37866 (mremap_chunk): Likewise.
37867
37868 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
37869
37870 [BZ #15799]
37871 * stdlib/div.c (div): Remove obsolete code.
37872 * stdlib/ldiv.c (ldiv): Likewise.
37873 * stdlib/lldiv.c (lldiv): Likewise.
37874
37875 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37876
37877 [BZ #16071]
37878 * nss/nss_files/files-XXX.c (get_contents_ret): New
37879 enumerator.
37880 (get_contents): New function.
37881 (internal_getent): Use it. Expand size of LINEBUFLEN.
37882
37883 2013-10-30 Mike Frysinger <vapier@gentoo.org>
37884
37885 * configure.in: Moved to ...
37886 * configure.ac: ... here. Change reference to configure.in
37887 to configure.ac.
37888 * sysdeps/arm/preconfigure.ac: ... here.
37889 configure.in to configure.ac.
37890 * sysdeps/gnu/configure.in: Moved to ...
37891 * sysdeps/gnu/configure.ac: ... here.
37892 * sysdeps/i386/configure.in: Moved to ...
37893 * sysdeps/i386/configure.ac: ... here.
37894 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37895 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37896 * sysdeps/mach/configure.in: Moved to ...
37897 * sysdeps/mach/configure.ac: ... here.
37898 * sysdeps/mach/hurd/configure.in: Moved to ...
37899 * sysdeps/mach/hurd/configure.ac: ... here.
37900 * sysdeps/powerpc/configure.in: Moved to ...
37901 * sysdeps/powerpc/configure.ac: ... here.
37902 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37903 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37904 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37905 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37906 * sysdeps/s390/s390-32/configure.in: Moved to ...
37907 * sysdeps/s390/s390-32/configure.ac: ... here.
37908 * sysdeps/s390/s390-64/configure.in: Moved to ...
37909 * sysdeps/s390/s390-64/configure.ac: ... here.
37910 * sysdeps/sh/configure.in: Moved to ...
37911 * sysdeps/sh/configure.ac: ... here.
37912 * sysdeps/sparc/configure.in: Moved to ...
37913 * sysdeps/sparc/configure.ac: ... here.
37914 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37915 * sysdeps/unix/sysv/linux/configure.ac: ... here.
37916 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37917 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37918 * sysdeps/x86_64/configure.in: Moved to ...
37919 * sysdeps/x86_64/configure.ac: ... here.
37920 * sysdeps/x86_64/preconfigure.in: Moved to ...
37921 * sysdeps/x86_64/preconfigure.ac: ... here.
37922 * aclocal.m4: Change reference to configure.in to configure.ac.
37923 * config.h.in: Likewise.
37924 * manual/install.texi: Likewise.
37925 * manual/maint.texi: Likewise.
37926 * Makefile: Likewise.
37927 * malloc/Makefile: Likewise.
37928 * nscd/Makefile: Likewise.
37929 * Makeconfig: Change reference to configure.in and
37930 preconfigure.in to configure.ac and preconfigure.ac
37931 respectively.
37932 * INSTALL: Regenerated.
37933 * configure: Likewise.
37934 * sysdeps/gnu/configure: Likewise.
37935 * sysdeps/i386/configure: Likewise.
37936 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37937 * sysdeps/mach/configure: Likewise.
37938 * sysdeps/mach/hurd/configure: Likewise.
37939 * sysdeps/powerpc/configure: Likewise.
37940 * sysdeps/powerpc/powerpc32/configure: Likewise.
37941 * sysdeps/powerpc/powerpc64/configure: Likewise.
37942 * sysdeps/s390/s390-32/configure: Likewise.
37943 * sysdeps/s390/s390-64/configure: Likewise.
37944 * sysdeps/sh/configure: Likewise.
37945 * sysdeps/sparc/configure: Likewise.
37946 * sysdeps/unix/sysv/linux/configure: Likewise.
37947 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37948 * sysdeps/x86_64/configure: Likewise.
37949 * sysdeps/x86_64/preconfigure: Likewise.
37950
37951 2013-10-29 Andreas Schwab <schwab@suse.de>
37952
37953 * stdio-common/Makefile (tst-swscanf-ENV): Define.
37954
37955 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37956
37957 * benchtests/pow-inputs: Add new inputs.
37958
37959 * benchtests/exp-inputs: Add new inputs.
37960
37961 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37962 conditional check for return value.
37963 (__cos32): Likewise.
37964
37965 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37966
37967 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37968 to provide a boost for large inputs with word alignment.
37969 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37970 implementation based on optimized PPC64 strcpy.
37971 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37972 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37973 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37974 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37975
37976 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37977
37978 [BZ #2801]
37979 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37980
37981 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37982
37983 [BZ #14876]
37984 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37985 * time/tst-strptime.c (day_tests): Add testcase.
37986
37987 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37988
37989 [BZ #14029]
37990 * manual/pattern.texi: Acknowledge that fnmatch can fail.
37991
37992 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
37993
37994 [BZ #16074]
37995 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37996 MAP_FAILED on error.
37997
37998 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37999
38000 [BZ #16072]
38001 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38002 heap for large requests.
38003
38004 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
38005
38006 [BZ #9954]
38007 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38008 result if the result has no associated interface.
38009 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38010 interface for all 127.X.Y.Z addresses.
38011
38012 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
38013
38014 * locale/iso-639.def: Add Ligurian (lij)
38015
38016 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
38017
38018 [BZ #15825]
38019 * sunrpc/rpc_main.c: Document rpcgen -5.
38020
38021 2013-10-19 Michael Stahl <mstahl@redhat.com>
38022
38023 * elf/rtld.c (do_preload): Print the reason why preloading failed.
38024
38025 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
38026
38027 [BZ #10278]
38028 * posix/glob.c: Match only directories when trailing slash is present.
38029 * posix/tst-gnuglob.c (my_opendir): Do not open files.
38030 (main): Add testcase.
38031
38032 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
38033
38034 [BZ #15670]
38035 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38036
38037 2013-10-18 Carlos O'Donell <carlos@redhat.com>
38038
38039 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38040 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38041 AUTH_DES and cindex for FIPS 140-2.
38042 (DES Encryption): Add cindex FIPS 46-3.
38043
38044 * locale/locarchive.h (struct locarhandle): Add fname.
38045 * locale/programs/localedef.c (main): Pass ARGV[remaining]
38046 if an optional argument was specified to --list-archive,
38047 otherwise NULL.
38048 * locale/programs/locarchive.c (show_archive_content): Take new
38049 argument fname and pass it via ah.fname to open_archive.
38050 * locale/programs/localedef.h: Update decl.
38051 (open_archive): If AH->fname is non-null, open that file
38052 rather than the default file name, and don't ignore ENOENT.
38053 (create_archive): Set AH.fname to NULL.
38054 (delete_locales_from_archive): Likewise.
38055 (add_locales_to_archive): Likewise.
38056 * locale/programs/locfile.c (write_all_categories): Likewise.
38057
38058 2013-10-18 Joseph Myers <joseph@codesourcery.com>
38059 Aldy Hernandez <aldyh@redhat.com>
38060
38061 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38062 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38063 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38064 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38065 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38066 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38067 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38068 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38069 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38070 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38071 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38072 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38073 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38074 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38075 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38076 Likewise.
38077 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38078 Likewise.
38079 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38080 Likewise.
38081 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38082 Likewise.
38083 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38084 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38085 Likewise.
38086 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38087 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38088 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38089 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38090 Likewise.
38091 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38092 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38093 * sysdeps/powerpc/preconfigure: Likewise.
38094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38095 Likewise.
38096 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38097 Replace contents of file by #include of <fenv_libc.h>.
38098 * sysdeps/powerpc/soft-fp/sfp-machine.h
38099 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38100 and <sys/prctl.h>.
38101 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38102 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38103 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38104 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38105 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38106 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38108 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38109 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38110 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38111 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38112 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38114 Allow copysignl PLT reference to be missing.
38115
38116 2013-10-18 Richard Sandiford <richard@codesourcery.com>
38117 Joseph Myers <joseph@codesourcery.com
38118
38119 [BZ #15948]
38120 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38121 single character.
38122 (add_to_tablewc): Assert sequence of wide characters is nonempty.
38123
38124 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38125
38126 * elf/tst-tls-dlinfo.c: Don't include tls.h.
38127 * elf/tst-tls1.c: Likewise.
38128 * elf/tst-tls10.h: Likewise.
38129 * elf/tst-tls14.c: Likewise.
38130 * elf/tst-tls2.c: Likewise.
38131 * elf/tst-tls3.c: Likewise.
38132 * elf/tst-tls4.c: Likewise.
38133 * elf/tst-tls5.c: Likewise.
38134 * elf/tst-tls6.c: Likewise.
38135 * elf/tst-tls7.c: Likewise.
38136 * elf/tst-tls8.c: Likewise.
38137 * elf/tst-tls9.c: Likewise.
38138 * elf/tst-tlsmod1.c: Likewise.
38139 * elf/tst-tlsmod13.c: Likewise.
38140 * elf/tst-tlsmod13a.c: Likewise.
38141 * elf/tst-tlsmod14a.c: Likewise.
38142 * elf/tst-tlsmod16a.c: Likewise.
38143 * elf/tst-tlsmod16b.c: Likewise.
38144 * elf/tst-tlsmod2.c: Likewise.
38145 * elf/tst-tlsmod3.c: Likewise.
38146 * elf/tst-tlsmod4.c: Likewise.
38147 * elf/tst-tlsmod5.c: Likewise.
38148 * elf/tst-tlsmod6.c: Likewise.
38149
38150 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
38151
38152 [BZ #12486]
38153 * malloc/malloc.c: remove checks for statistics.
38154
38155 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
38156
38157 [BZ #15277]
38158 * inet/inet_net.c (inet_network): Detect additional invalid strings.
38159 * inet/tst-network.c: Add testcase.
38160
38161 2013-10-17 Andreas Schwab <schwab@suse.de>
38162
38163 [BZ #15218]
38164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38165 to determine canonical name.
38166
38167 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
38168
38169 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38170 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38172 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38174 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38176 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38177 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38178 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38179 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38180 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38181 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38182 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38183 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38184 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38186 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38187 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38188 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38192 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38193 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38194 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38195 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38196 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38197 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38198 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38199 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38201 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38202 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38203 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38204 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38205 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38206 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38207 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38208 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38209 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38210 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38212 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38215 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38216 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38217 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38218 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38219 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38220 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38221 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38222 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38223 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38224 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38226 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38227
38228 2013-10-17 Joseph Myers <joseph@codesourcery.com>
38229
38230 [BZ #16041]
38231 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38232 make result into a quiet NaN.
38233
38234 2013-10-16 Joseph Myers <joseph@codesourcery.com>
38235
38236 * soft-fp/adddf3.c: Fix horizontal whitespace.
38237 * soft-fp/addsf3.c: Likewise.
38238 * soft-fp/addtf3.c: Likewise.
38239 * soft-fp/divdf3.c: Likewise.
38240 * soft-fp/divsf3.c: Likewise.
38241 * soft-fp/divtf3.c: Likewise.
38242 * soft-fp/double.h: Likewise.
38243 * soft-fp/eqdf2.c: Likewise.
38244 * soft-fp/eqsf2.c: Likewise.
38245 * soft-fp/eqtf2.c: Likewise.
38246 * soft-fp/extenddftf2.c: Likewise.
38247 * soft-fp/extended.h: Likewise.
38248 * soft-fp/extendsfdf2.c: Likewise.
38249 * soft-fp/extendsftf2.c: Likewise.
38250 * soft-fp/extendxftf2.c: Likewise.
38251 * soft-fp/fixdfdi.c: Likewise.
38252 * soft-fp/fixdfsi.c: Likewise.
38253 * soft-fp/fixdfti.c: Likewise.
38254 * soft-fp/fixsfdi.c: Likewise.
38255 * soft-fp/fixsfsi.c: Likewise.
38256 * soft-fp/fixsfti.c: Likewise.
38257 * soft-fp/fixtfdi.c: Likewise.
38258 * soft-fp/fixtfsi.c: Likewise.
38259 * soft-fp/fixtfti.c: Likewise.
38260 * soft-fp/fixunsdfdi.c: Likewise.
38261 * soft-fp/fixunsdfsi.c: Likewise.
38262 * soft-fp/fixunsdfti.c: Likewise.
38263 * soft-fp/fixunssfdi.c: Likewise.
38264 * soft-fp/fixunssfsi.c: Likewise.
38265 * soft-fp/fixunssfti.c: Likewise.
38266 * soft-fp/fixunstfdi.c: Likewise.
38267 * soft-fp/fixunstfsi.c: Likewise.
38268 * soft-fp/fixunstfti.c: Likewise.
38269 * soft-fp/floatdidf.c: Likewise.
38270 * soft-fp/floatdisf.c: Likewise.
38271 * soft-fp/floatditf.c: Likewise.
38272 * soft-fp/floatsidf.c: Likewise.
38273 * soft-fp/floatsisf.c: Likewise.
38274 * soft-fp/floatsitf.c: Likewise.
38275 * soft-fp/floattidf.c: Likewise.
38276 * soft-fp/floattisf.c: Likewise.
38277 * soft-fp/floattitf.c: Likewise.
38278 * soft-fp/floatundidf.c: Likewise.
38279 * soft-fp/floatundisf.c: Likewise.
38280 * soft-fp/floatunditf.c: Likewise.
38281 * soft-fp/floatunsidf.c: Likewise.
38282 * soft-fp/floatunsisf.c: Likewise.
38283 * soft-fp/floatunsitf.c: Likewise.
38284 * soft-fp/floatuntidf.c: Likewise.
38285 * soft-fp/floatuntisf.c: Likewise.
38286 * soft-fp/floatuntitf.c: Likewise.
38287 * soft-fp/fmadf4.c: Likewise.
38288 * soft-fp/fmasf4.c: Likewise.
38289 * soft-fp/fmatf4.c: Likewise.
38290 * soft-fp/gedf2.c: Likewise.
38291 * soft-fp/gesf2.c: Likewise.
38292 * soft-fp/getf2.c: Likewise.
38293 * soft-fp/ledf2.c: Likewise.
38294 * soft-fp/lesf2.c: Likewise.
38295 * soft-fp/letf2.c: Likewise.
38296 * soft-fp/muldf3.c: Likewise.
38297 * soft-fp/mulsf3.c: Likewise.
38298 * soft-fp/multf3.c: Likewise.
38299 * soft-fp/negdf2.c: Likewise.
38300 * soft-fp/negsf2.c: Likewise.
38301 * soft-fp/negtf2.c: Likewise.
38302 * soft-fp/op-1.h: Likewise.
38303 * soft-fp/op-2.h: Likewise.
38304 * soft-fp/op-4.h: Likewise.
38305 * soft-fp/op-8.h: Likewise.
38306 * soft-fp/op-common.h: Likewise.
38307 * soft-fp/quad.h: Likewise.
38308 * soft-fp/single.h: Likewise.
38309 * soft-fp/soft-fp.h: Likewise.
38310 * soft-fp/sqrtdf2.c: Likewise.
38311 * soft-fp/sqrtsf2.c: Likewise.
38312 * soft-fp/sqrttf2.c: Likewise.
38313 * soft-fp/subdf3.c: Likewise.
38314 * soft-fp/subsf3.c: Likewise.
38315 * soft-fp/subtf3.c: Likewise.
38316 * soft-fp/truncdfsf2.c: Likewise.
38317 * soft-fp/trunctfdf2.c: Likewise.
38318 * soft-fp/trunctfsf2.c: Likewise.
38319 * soft-fp/trunctfxf2.c: Likewise.
38320 * soft-fp/unorddf2.c: Likewise.
38321 * soft-fp/unordsf2.c: Likewise.
38322 * soft-fp/unordtf2.c: Likewise.
38323
38324 2013-10-15 Joseph Myers <joseph@codesourcery.com>
38325
38326 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38327 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38328
38329 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
38330
38331 * elf/dl-libc.c: Clear initfini list after freeing.
38332
38333 2013-10-14 Joseph Myers <joseph@codesourcery.com>
38334
38335 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38336 * soft-fp/addsf3.c: Likewise.
38337 * soft-fp/addtf3.c: Likewise.
38338 * soft-fp/divdf3.c: Likewise.
38339 * soft-fp/divsf3.c: Likewise.
38340 * soft-fp/divtf3.c: Likewise.
38341 * soft-fp/double.h: Likewise.
38342 * soft-fp/eqdf2.c: Likewise.
38343 * soft-fp/eqsf2.c: Likewise.
38344 * soft-fp/eqtf2.c: Likewise.
38345 * soft-fp/extenddftf2.c: Likewise.
38346 * soft-fp/extended.h: Likewise.
38347 * soft-fp/extendsfdf2.c: Likewise.
38348 * soft-fp/extendsftf2.c: Likewise.
38349 * soft-fp/extendxftf2.c: Likewise.
38350 * soft-fp/fixdfdi.c: Likewise.
38351 * soft-fp/fixdfsi.c: Likewise.
38352 * soft-fp/fixdfti.c: Likewise.
38353 * soft-fp/fixsfdi.c: Likewise.
38354 * soft-fp/fixsfsi.c: Likewise.
38355 * soft-fp/fixsfti.c: Likewise.
38356 * soft-fp/fixtfdi.c: Likewise.
38357 * soft-fp/fixtfsi.c: Likewise.
38358 * soft-fp/fixtfti.c: Likewise.
38359 * soft-fp/fixunsdfdi.c: Likewise.
38360 * soft-fp/fixunsdfsi.c: Likewise.
38361 * soft-fp/fixunsdfti.c: Likewise.
38362 * soft-fp/fixunssfdi.c: Likewise.
38363 * soft-fp/fixunssfsi.c: Likewise.
38364 * soft-fp/fixunssfti.c: Likewise.
38365 * soft-fp/fixunstfdi.c: Likewise.
38366 * soft-fp/fixunstfsi.c: Likewise.
38367 * soft-fp/fixunstfti.c: Likewise.
38368 * soft-fp/floatdidf.c: Likewise.
38369 * soft-fp/floatdisf.c: Likewise.
38370 * soft-fp/floatditf.c: Likewise.
38371 * soft-fp/floatsidf.c: Likewise.
38372 * soft-fp/floatsisf.c: Likewise.
38373 * soft-fp/floatsitf.c: Likewise.
38374 * soft-fp/floattidf.c: Likewise.
38375 * soft-fp/floattisf.c: Likewise.
38376 * soft-fp/floattitf.c: Likewise.
38377 * soft-fp/floatundidf.c: Likewise.
38378 * soft-fp/floatundisf.c: Likewise.
38379 * soft-fp/floatunsidf.c: Likewise.
38380 * soft-fp/floatunsisf.c: Likewise.
38381 * soft-fp/floatuntidf.c: Likewise.
38382 * soft-fp/floatuntisf.c: Likewise.
38383 * soft-fp/floatuntitf.c: Likewise.
38384 * soft-fp/fmadf4.c: Likewise.
38385 * soft-fp/fmasf4.c: Likewise.
38386 * soft-fp/fmatf4.c: Likewise.
38387 * soft-fp/gedf2.c: Likewise.
38388 * soft-fp/gesf2.c: Likewise.
38389 * soft-fp/getf2.c: Likewise.
38390 * soft-fp/ledf2.c: Likewise.
38391 * soft-fp/lesf2.c: Likewise.
38392 * soft-fp/letf2.c: Likewise.
38393 * soft-fp/muldf3.c: Likewise.
38394 * soft-fp/mulsf3.c: Likewise.
38395 * soft-fp/multf3.c: Likewise.
38396 * soft-fp/negdf2.c: Likewise.
38397 * soft-fp/negsf2.c: Likewise.
38398 * soft-fp/negtf2.c: Likewise.
38399 * soft-fp/op-1.h: Likewise.
38400 * soft-fp/op-2.h: Likewise.
38401 * soft-fp/op-4.h: Likewise.
38402 * soft-fp/op-8.h: Likewise.
38403 * soft-fp/op-common.h: Likewise.
38404 * soft-fp/quad.h: Likewise.
38405 * soft-fp/single.h: Likewise.
38406 * soft-fp/soft-fp.h: Likewise.
38407 * soft-fp/sqrtdf2.c: Likewise.
38408 * soft-fp/sqrtsf2.c: Likewise.
38409 * soft-fp/sqrttf2.c: Likewise.
38410 * soft-fp/subdf3.c: Likewise.
38411 * soft-fp/subsf3.c: Likewise.
38412 * soft-fp/subtf3.c: Likewise.
38413 * soft-fp/truncdfsf2.c: Likewise.
38414 * soft-fp/trunctfdf2.c: Likewise.
38415 * soft-fp/trunctfsf2.c: Likewise.
38416 * soft-fp/trunctfxf2.c: Likewise.
38417 * soft-fp/unorddf2.c: Likewise.
38418 * soft-fp/unordsf2.c: Likewise.
38419 * soft-fp/unordtf2.c: Likewise.
38420
38421 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
38422
38423 [BZ #15672]
38424 * misc/error.c (error_tail): Fix possible buffer overflow.
38425
38426 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
38427
38428 [BZ #13028]
38429 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38430 address.
38431
38432 2013-10-14 P. J. McDermott <pj@pehjota.net>
38433
38434 [BZ #832]
38435 * elf/ldd.bash.in (try_trace): New function. Delete previous code
38436 testing pipefail option.
38437
38438 2013-10-12 Joseph Myers <joseph@codesourcery.com>
38439
38440 * soft-fp/double.h: Indent preprocessor directives inside #if.
38441 * soft-fp/extended.h: Likewise.
38442 * soft-fp/op-2.h: Likewise.
38443 * soft-fp/op-4.h: Likewise.
38444 * soft-fp/op-common.h: Likewise.
38445 * soft-fp/quad.h: Likewise.
38446 * soft-fp/single.h: Likewise.
38447 * soft-fp/soft-fp.h: Likewise.
38448
38449 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
38450
38451 * iconv/iconv_prog.c: Fix typos.
38452 * stdio-common/psiginfo-data.h: Likewise.
38453
38454 2013-10-12 Reuben Thomas <rrt@sc3d.org>
38455
38456 [BZ #15764]
38457 * locale/setlocale.c: Fix typo.
38458
38459 2013-10-12 Joseph Myers <joseph@codesourcery.com>
38460
38461 [BZ #16036]
38462 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38463 signaling NaN arguments.
38464 * soft-fp/unordsf2.c (__unordsf2): Likewise.
38465 * soft-fp/unordtf2.c (__unordtf2): Likewise.
38466
38467 [BZ #14910]
38468 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38469 unordered operands.
38470 * soft-fp/gesf2.c (__gesf2): Likewise.
38471 * soft-fp/getf2.c (__getf2): Likewise.
38472 * soft-fp/ledf2.c (__ledf2): Likewise.
38473 * soft-fp/lesf2.c (__lesf2): Likewise.
38474 * soft-fp/letf2.c (__letf2): Likewise.
38475
38476 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38477 * soft-fp/eqsf2.c (__eqsf2): Likewise.
38478 * soft-fp/eqtf2.c (__eqtf2): Likewise.
38479 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38480 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38481 * soft-fp/fixdfti.c (__fixdfti): Likewise.
38482 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38483 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38484 * soft-fp/fixsfti.c (__fixsfti): Likewise.
38485 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38486 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38487 * soft-fp/fixtfti.c (__fixtfti): Likewise.
38488 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38489 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38490 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38491 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38492 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38493 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38494 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38495 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38496 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38497 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38498 * soft-fp/floatdisf.c (__floatdisf): Likewise.
38499 * soft-fp/floatsisf.c (__floatsisf): Likewise.
38500 * soft-fp/floattidf.c (__floattidf): Likewise.
38501 * soft-fp/floattisf.c (__floattisf): Likewise.
38502 * soft-fp/floattitf.c (__floattitf): Likewise.
38503 * soft-fp/floatundidf.c (__floatundidf): Likewise.
38504 * soft-fp/floatundisf.c (__floatundisf): Likewise.
38505 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38506 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38507 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38508 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38509 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38510 * soft-fp/gesf2.c (__gesf2): Likewise.
38511 * soft-fp/getf2.c (__getf2): Likewise.
38512 * soft-fp/ledf2.c (__ledf2): Likewise.
38513 * soft-fp/lesf2.c (__lesf2): Likewise.
38514 * soft-fp/letf2.c (__letf2): Likewise.
38515
38516 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38517 Undefine and redefine.
38518 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38519 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38520 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38521 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38522 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38523 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38524 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38525 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38526 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38527 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38528 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38529 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38530 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38531 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38532 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38533
38534 [BZ #16032]
38535 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38536 without decrementing exponent if mantissa >= that for the
38537 denominator, not >.
38538 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38539 denominator, not >. Decrement exponent in < case instead of
38540 incrementing in >= case.
38541 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38542 without decrementing exponent if mantissa >= that for the
38543 denominator, not >.
38544
38545 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38546 computing saturated result for unsigned overflow.
38547
38548 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38549 Jeff Law <law@redhat.com>
38550
38551 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38552 (atan2Mp): Add systemtap probe marker.
38553 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38554 (__ieee754_log): Add systemtap probe marker.
38555 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38556 (atanMp): Add systemtap probe marker.
38557 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38558 (tanMp): Add systemtap probe marker.
38559 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38560 (__slowexp): Add systemtap probe marker.
38561 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38562 (__slowpow): Add systemtap probe marker.
38563 * manual/probes.texi: Document probes.
38564
38565 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
38566
38567 [BZ #15362]
38568 * libio/fileops.c (_IO_new_file_write): Return count of bytes
38569 written.
38570 (_IO_new_file_xsputn): Don't return EOF if nothing has been
38571 written.
38572 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38573 written to buffer but not flushed.
38574 * libio/iofwrite_u.c: Likewise.
38575 * libio/iopadn.c: Return bytes returned even if EOF was
38576 encountered.
38577 * libio/iowpadn.c: Likewise.
38578 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38579 if _IO_padn does not write the whole buffer.
38580 [!COMPILE_WPRINTF] (PAD): Likewise.
38581
38582 2013-10-10 David S. Miller <davem@davemloft.net>
38583
38584 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38585 directory block.
38586
38587 2013-10-10 Joseph Myers <joseph@codesourcery.com>
38588
38589 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
38590 instead of FSF address.
38591 * soft-fp/fixdfti.c: Likewise.
38592 * soft-fp/fixsfti.c: Likewise.
38593 * soft-fp/fixtfti.c: Likewise.
38594 * soft-fp/fixunsdfti.c: Likewise.
38595 * soft-fp/fixunssfti.c: Likewise.
38596 * soft-fp/fixunstfti.c: Likewise.
38597 * soft-fp/floattidf.c: Likewise.
38598 * soft-fp/floattisf.c: Likewise.
38599 * soft-fp/floattitf.c: Likewise.
38600 * soft-fp/floatuntidf.c: Likewise.
38601 * soft-fp/floatuntisf.c: Likewise.
38602 * soft-fp/floatuntitf.c: Likewise.
38603 * soft-fp/trunctfxf2.c: Likewise.
38604
38605 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
38606 * soft-fp/fixdfti.c: Likewise.
38607 * soft-fp/fixsfti.c: Likewise.
38608 * soft-fp/fixtfti.c: Likewise.
38609 * soft-fp/fixunsdfti.c: Likewise.
38610 * soft-fp/fixunssfti.c: Likewise.
38611 * soft-fp/fixunstfti.c: Likewise.
38612 * soft-fp/floattidf.c: Likewise.
38613 * soft-fp/floattisf.c: Likewise.
38614 * soft-fp/floattitf.c: Likewise.
38615 * soft-fp/floatuntidf.c: Likewise.
38616 * soft-fp/floatuntisf.c: Likewise.
38617 * soft-fp/floatuntitf.c: Likewise.
38618 * soft-fp/trunctfxf2.c: Likewise.
38619
38620 2013-10-10 David S. Miller <davem@davemloft.net>
38621
38622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38623
38624 2013-10-10 Joseph Myers <joseph@codsourcery.com>
38625
38626 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38627 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38628 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38629 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38630 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38631 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38632 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38633
38634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38635 for NaNs before doing comparisons on argument.
38636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38637 Likewise.
38638
38639 2013-10-10 Will Newton <will.newton@linaro.org>
38640
38641 * malloc/hooks.c (memalign_check): Ensure the value of bytes
38642 passed to _int_memalign does not overflow.
38643
38644 2013-10-10 Torvald Riegel <triegel@redhat.com>
38645
38646 * scripts/bench.pl: Add include-sources directive.
38647 * benchtests/README: Update documentation.
38648
38649 2013-10-10 Joseph Myers <joseph@codesourcery.com>
38650
38651 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38652 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38653 instead of FP_INIT_ROUNDMODE.
38654 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38655 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38656
38657 [BZ #16034]
38658 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
38659 copy class of input value.
38660 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
38661 not handle exceptions.
38662 * soft-fp/negsf2.c (__negsf2): Likewise.
38663 * soft-fp/negtf2.c (__negtf2): Likewise.
38664 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38665
38666 2013-10-09 Joseph Myers <joseph@codesourcery.com>
38667
38668 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38669 semicolon. From Linux kernel.
38670
38671 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
38672
38673 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38674
38675 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
38676
38677 [BZ #156]
38678 * manual/socket.texi: Added statement about buffer
38679 for gethostbyname2_r.
38680
38681 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
38682
38683 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38684 Use .p2align directive instead, throughout.
38685 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38686 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38687 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38688 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38689 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38690 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38691 * sysdeps/x86_64/strchr.S: Likewise.
38692 * sysdeps/x86_64/strrchr.S: Likewise.
38693
38694 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38695
38696 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38697
38698 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38699
38700 * sysdeps/generic/math_private.h (__mpsin1): Remove
38701 declaration.
38702 (__mpcos1): Likewise.
38703 (__mpsin): New argument __range_reduce.
38704 (__mpcos): Likewise.
38705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38706 (slow): Use __mpsin and __mpcos.
38707 (slow1): Likewise.
38708 (slow2): Likewise.
38709 (sloww): Likewise.
38710 (sloww1): Likewise.
38711 (sloww2): Likewise.
38712 (bsloww): Likewise.
38713 (bsloww1): Likewise.
38714 (bsloww2): Likewise.
38715 (cslow2): Likewise.
38716 (csloww): Likewise.
38717 (csloww1): Likewise.
38718 (csloww2): Likewise.
38719 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38720 range_reduce. Merge in __mpsin1.
38721 (__mpcos): Likewise.
38722 (__mpsin1): Remove.
38723 (__mpcos1): Likewise.
38724
38725 2013-10-07 Joseph Myers <joseph@codesourcery.com>
38726
38727 * locale/loadlocale.c (_nl_intern_locale_data): Use
38728 LOCFILE_ALIGNED_P.
38729 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38730 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38731 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38732 obstack data is appropriately aligned.
38733 (obstack_int32_grow_fast): Likewise.
38734 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38735 * locale/programs/locfile.c (add_locale_uint32): Likewise.
38736 (add_locale_uint32_array): Likewise.
38737
38738 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38739
38740 * benchtests/Makefile: Remove ARGLIST and RET variables.
38741 ($(objpfx)bench-%.c): Pass only function name to the script.
38742 * benchtests/README: Update documentation.
38743 * benchtests/acos-inputs: Add new directives.
38744 * benchtests/acosh-inputs: Likewise.
38745 * benchtests/asin-inputs: Likewise.
38746 * benchtests/asinh-inputs: Likewise.
38747 * benchtests/atan-inputs: Likewise.
38748 * benchtests/atanh-inputs: Likewise.
38749 * benchtests/cos-inputs: Likewise.
38750 * benchtests/cosh-inputs: Likewise.
38751 * benchtests/exp-inputs: Likewise.
38752 * benchtests/log-inputs: Likewise.
38753 * benchtests/pow-inputs: Likewise.
38754 * benchtests/rint-inputs: Likewise.
38755 * benchtests/sin-inputs: Likewise.
38756 * benchtests/sinh-inputs: Likewise.
38757 * benchtests/tan-inputs: Likewise.
38758 * benchtests/tanh-inputs: Likewise.
38759 * scripts/bench.pl: Add support for new directives.
38760
38761 2013-10-07 Alan Modra <amodra@gmail.com>
38762
38763 * README: Fix careless merge.
38764
38765 2013-10-05 Alan Modra <amodra@gmail.com>
38766
38767 * NEWS: Mention powerpc64le support and bugs fixed.
38768 * README: Both big-endian and little-endian powerpc64 supported.
38769
38770 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38771
38772 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38773 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38774 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38775 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38776
38777 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
38778
38779 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38780 match prototype.
38781
38782 2013-10-04 Joseph Myers <joseph@codesourcery.com>
38783
38784 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38785 Move -mhard-float appending from
38786 ports/sysdeps/powerpc/powerpc32/Makefile.
38787 [$(with-fp) = yes] (ASFLAGS): Likewise.
38788 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38789 * sysdeps/powerpc/nofpu: Move directory from
38790 ports/sysdeps/powerpc/nofpu.
38791 * sysdeps/powerpc/soft-fp: Move directory from
38792 ports/sysdeps/powerpc/soft-fp.
38793 * sysdeps/powerpc/powerpc32/405: Move directory from
38794 ports/sysdeps/powerpc/powerpc32/405.
38795 * sysdeps/powerpc/powerpc32/440: Move directory from
38796 ports/sysdeps/powerpc/powerpc32/440.
38797 * sysdeps/powerpc/powerpc32/464: Move directory from
38798 ports/sysdeps/powerpc/powerpc32/464.
38799 * sysdeps/powerpc/powerpc32/476: Move directory from
38800 ports/sysdeps/powerpc/powerpc32/476.
38801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38802 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38804 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38806 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38808 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38810 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38811 * README: Update for powerpc-*-linux-gnu software floating point
38812 support in libc.
38813
38814 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38815 case to powerpc/powerpc32*.
38816 * sysdeps/unix/sysv/linux/configure: Regenerated.
38817
38818 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38819 (_FPU_MASK_OM): Define as 0x04.
38820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38822 0x00c10080.
38823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38824 0x0000003c.
38825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38826
38827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38828 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38829 getcontext_e500.
38830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38831 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38832 setcontext_e500.
38833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38834 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38835 and setcontext_e500.
38836
38837 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
38838
38839 * locale/iso-3166.def: Update iso-1366.def and related occurrences
38840
38841 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38842
38843 * manual/threads.texi (Default Thread Attributes): Fix typo.
38844
38845 2013-10-04 Will Newton <will.newton@linaro.org>
38846
38847 * malloc/Makefile: Add tst-memalign.
38848 * malloc/tst-memalign.c: New file.
38849
38850 * malloc/tst-posix_memalign.c: Add comments.
38851 (do_test): Add comments and call free on all potentially
38852 allocated pointers. Add space after cast.
38853
38854 * malloc/tst-pvalloc.c: Add comments.
38855 (do_test): Add comments and call free on all potentially
38856 allocated pointers. Remove duplicate check for NULL pointer.
38857 Add space after cast.
38858
38859 * malloc/tst-valloc.c: Add comments.
38860 (do_test): Add comments and call free on all potentially
38861 allocated pointers. Remove duplicate check for NULL pointer.
38862 Add space after cast.
38863
38864 2013-10-04 Alan Modra <amodra@gmail.com>
38865
38866 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38867 Use stdint types in rather than __attribute__((mode())).
38868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38869
38870 2013-10-04 Alan Modra <amodra@gmail.com>
38871
38872 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38873 Correct handling of unaligned relocs for little-endian.
38874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38875
38876 2013-10-04 Alan Modra <amodra@gmail.com>
38877
38878 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38879 * configure: Regenerate.
38880 * nptl/shlib-versions: Powerpc*le starts at 2.18.
38881 * shlib-versions: Likewise.
38882
38883 2013-10-04 Alan Modra <amodra@gmail.com>
38884
38885 * string/tester.c (test_memrchr): Increment reported test cycle.
38886
38887 2013-10-04 Alan Modra <amodra@gmail.com>
38888
38889 * string/test-memcpy.c (do_one_test): When reporting errors, print
38890 string address and don't overrun end of string.
38891
38892 2013-10-04 Alan Modra <amodra@gmail.com>
38893
38894 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38895 insrdi. Make better use of reg selection to speed exit slightly.
38896 Schedule entry path a little better. Remove useless "are we done"
38897 checks on entry to main loop. Handle wrapping around zero address.
38898 Correct main loop count. Handle single left-over word from main
38899 loop inline rather than by using loop_small. Remove extra word
38900 case in loop_small caused by wrong loop count. Add little-endian
38901 support.
38902 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38903 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
38904 cache hint.
38905 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38906 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38907 support. Avoid rlwimi.
38908 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38909
38910 2013-10-04 Alan Modra <amodra@gmail.com>
38911
38912 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38913 insrdi. Formatting.
38914 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38915 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38916 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38917 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38918 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38919 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38920
38921 2013-10-04 Alan Modra <amodra@gmail.com>
38922
38923 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38924 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38925 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38926 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38927 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38928 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38929 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38930 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38931 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
38932 use of regs. Use power7 mtocrf. Tidy function tails.
38933
38934 2013-10-04 Alan Modra <amodra@gmail.com>
38935
38936 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38937 Formatting. Consistently use rXXX register defines or rN defines.
38938 Use early exit labels that avoid restoring unused non-volatile regs.
38939 Make cr field use more consistent with rWORDn compares. Rename
38940 regs used as shift registers for unaligned loop, using rN defines
38941 for short lifetime/multiple use regs.
38942 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38943 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
38944 addi 1,1,64 to pop stack frame. Simplify return value code.
38945 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38946
38947 2013-10-04 Alan Modra <amodra@gmail.com>
38948
38949 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38950 support. Correct typos, formatting. Optimize tail. Use insrdi
38951 rather than rlwimi.
38952 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38953 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38954 little-endian support. Correct typos.
38955 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
38956 rather than rlwimi.
38957 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
38958 in loop and entry code to keep "and." results.
38959 (strchr): Add little-endian support. Comment. Move cntlzd
38960 earlier in tail.
38961 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38962
38963 2013-10-04 Alan Modra <amodra@gmail.com>
38964
38965 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38966 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38967 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38968 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38969
38970 2013-10-04 Alan Modra <amodra@gmail.com>
38971
38972 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38973 (rTMP): Define as r11.
38974 (strcmp): Add little-endian support. Optimise tail.
38975 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38976 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38977 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38978 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38979 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38981 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38982
38983 2013-10-04 Alan Modra <amodra@gmail.com>
38984
38985 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38986 little-endian support. Remove unnecessary "are we done" tests.
38987 Handle "s" wrapping around zero and extremely large "size".
38988 Correct main loop count. Handle single left-over word from main
38989 loop inline rather than by using small_loop. Correct comments.
38990 Delete "zero" tail, use "end_max" instead.
38991 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38992
38993 2013-10-04 Alan Modra <amodra@gmail.com>
38994
38995 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38996 support. Don't branch over align.
38997 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38998 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38999 support. Rearrange tmp reg use to suit. Comment.
39000 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39001
39002 2013-10-04 Alan Modra <amodra@gmail.com>
39003
39004 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39005
39006 2013-10-04 Alan Modra <amodra@gmail.com>
39007
39008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39009 conditional form of branch and link when obtaining pc.
39010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39011
39012 2013-10-04 Alan Modra <amodra@gmail.com>
39013
39014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39015 HIWORD/LOWORD.
39016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39018
39019 2013-10-04 Alan Modra <amodra@gmail.com>
39020
39021 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39022 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39023 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39024 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39025 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39026 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39027 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39028 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39029 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39030 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39031
39032 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39033 Alistair Popple <alistair@ozlabs.au.ibm.com>
39034 Alan Modra <amodra@gmail.com>
39035
39036 [BZ #15723]
39037 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39038 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39039 _dl_hwcap access for little-endian.
39040 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
39041 destroy vmx regs when saving unaligned.
39042 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39043 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
39044 destroy vmx regs when saving unaligned.
39045
39046 2013-10-04 Alan Modra <amodra@gmail.com>
39047
39048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39049 Don't use a union to pack hi/low value.
39050
39051 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39052
39053 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39054 for little-endian.
39055 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39057 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39058 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39059 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39060
39061 2013-10-04 Alan Modra <amodra@gmail.com>
39062
39063 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39064 constants to usual value for .cst8 section, and remove redundant
39065 high address load.
39066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39067 constant for 0x1p52. Load little-endian words of double from
39068 correct stack offsets.
39069
39070 2013-10-04 Alan Modra <amodra@gmail.com>
39071
39072 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39073 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39074 words of double from correct stack offsets.
39075 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39076 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39077 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39078 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39079 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39080 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39082 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39083 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39084 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39085 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39086 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39087 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39088 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39089 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39090 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39091 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39092
39093 2013-10-04 Alan Modra <amodra@gmail.com>
39094
39095 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39096 64-bit int/double union.
39097 (_FPU_SETCW): Likewise.
39098 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39099 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39100
39101 2013-10-04 Alan Modra <amodra@gmail.com>
39102
39103 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39104 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39105
39106 2013-10-04 Alan Modra <amodra@gmail.com>
39107
39108 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39109 use vector int constants.
39110 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39111
39112 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39113
39114 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39115 array with long long.
39116 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39117 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39118 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39119 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39120 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39121 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39122 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39123 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39124 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39125 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39126 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39127 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39128 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39129
39130 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39131
39132 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39133 (__signbit): Likewise. Correct for little-endian.
39134 (__signbitl): Call __signbit.
39135 (lrint): Correct for little-endian.
39136 (lrintf): Call lrint.
39137
39138 2013-10-04 Alan Modra <amodra@gmail.com>
39139
39140 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39141 union 32-bit int array member with 64-bit int array.
39142 (t515, tm256): Double rather than long double.
39143 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39144
39145 2013-10-04 Alan Modra <amodra@gmail.com>
39146
39147 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39148 Delete.
39149 (IEEE854_LONG_DOUBLE_BIAS): Delete.
39150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39151 version of math_ldbl.h.
39152
39153 2013-10-04 Alan Modra <amodra@gmail.com>
39154
39155 [BZ #15734], [BZ #15735]
39156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39157 all uses of ieee875 long double macros and unions. Simplify test
39158 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
39159 ldbl_extract_mantissa value for ix,iy exponents. Properly
39160 normalize after ldbl_extract_mantissa, and don't add hidden bit
39161 already handled. Don't treat low word of ieee854 mantissa like
39162 low word of IBM long double and mask off bit when testing for
39163 zero.
39164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39165 all uses of ieee875 long double macros and unions. Simplify tests
39166 for 0.0L and inf. Correct double adjustment of k. Delete dead code
39167 adjusting ha,hb. Simplify code setting kld. Delete two600 and
39168 two1022, instead use their values. Recognise that tests for large
39169 "a" and small "b" are mutually exclusive. Rename vars. Comment.
39170 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39171 Rewrite all uses of ieee875 long double macros and unions. Simplify
39172 test for 0.0L and nan. Correct negation.
39173 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39174 ieee875 long double macros and unions. Correct output for large
39175 magnitude x. Correct absolute value calculation.
39176 (__erfcl): Likewise.
39177 * math/libm-test.inc: Add tests for errors discovered in IBM long
39178 double versions of fmodl, remainderl, erfl and erfcl.
39179
39180 2013-10-04 Alan Modra <amodra@gmail.com>
39181
39182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39183 all uses of ieee854 long double macros and unions. Simplify tests
39184 for long doubles that are fully specified by the high double.
39185 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39186 Likewise.
39187 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39188 Remove dead code too.
39189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39190 (__ieee754_ynl): Likewise.
39191 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39192 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39194 Remove dead code too.
39195 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39196 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39197 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39198 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39199 Simplify.
39200 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39201 Simplify.
39202 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39204 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39205 Comment on variable precision.
39206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39208 Likewise.
39209 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39212 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39213 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39214
39215 2013-10-04 Alan Modra <amodra@gmail.com>
39216
39217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39219 all uses of ieee854 long double macros and unions.
39220 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39221 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39224 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39226 Likewise.
39227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39228 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39229 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39231 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39232 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39233 Simplify sign and nan test too.
39234 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39235 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39236 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39237 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39238 Likewise.
39239 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39240 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39241 Likewise.
39242 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39243 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39244 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39245 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39246 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39248
39249 2013-10-04 Alan Modra <amodra@gmail.com>
39250
39251 * stdio-common/printf_size.c (__printf_size): Don't use
39252 union ieee854_long_double in fpnum union.
39253 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
39254 signbit macro to retrieve sign from long double.
39255 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39256 retrieve sign from long double.
39257 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39258 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39259 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39260 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39261 * math/test-misc.c (main): Don't use union ieee854_long_double.
39262
39263 2013-10-04 Alan Modra <amodra@gmail.com>
39264
39265 [BZ #15680]
39266 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39267 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39268 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39269 calculation. Remove unnecessary test for denormal exponent.
39270 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39271 Correct handling of denormals. Avoid undefined shift behaviour.
39272 Correct normalisation of low mantissa when low double is denormal.
39273 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39274 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
39275 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39276 Correct normalisation of low mantissa. Test for overflow of high
39277 mantissa and normalise.
39278 (ldbl_nearbyint): Use more readable constant for two52.
39279 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39280 (__mpn_construct_long_double): Fix test for overflow of high
39281 mantissa and correct normalisation. Avoid undefined shift.
39282
39283 2013-10-04 Alan Modra <amodra@gmail.com>
39284
39285 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39286 (union ibm_extended_long_double): Define as an array of ieee754_double.
39287 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39288 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39289 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39290 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39292 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39294 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39295 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39298
39299 2013-10-03 Joseph Myers <joseph@codesourcery.com>
39300
39301 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39302 page size instead of calling getpagesize.
39303
39304 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39305 (LOCFILE_ALIGN_MASK): Likewise.
39306 (LOCFILE_ALIGN_UP): Likewise.
39307 (LOCFILE_ALIGNED_P): Likewise.
39308 * locale/programs/ld-collate.c (collate_output): Use the new
39309 macros instead of __alignof__ (int32_t).
39310 * locale/weight.h (findidx): Likewise.
39311
39312 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
39313
39314 [BZ #431]
39315 * manual/string.texi: Fix strncat and wcsncat.
39316
39317 2013-10-03 Brooks Moses <bmoses@google.com>
39318
39319 [BZ #15915]
39320 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39321 * Makerules: ...here, and adjust associated comments.
39322
39323 2013-10-02 Will Newton <will.newton@linaro.org>
39324
39325 * malloc/Makefile: Add tst-pvalloc.
39326 * malloc/tst-pvalloc.c: New file.
39327
39328 2013-10-02 Will Newton <will.newton@linaro.org>
39329
39330 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39331 improve test coverage.
39332
39333 2013-10-02 Will Newton <will.newton@linaro.org>
39334
39335 * malloc/Makefile: Add tst-posix_memalign.
39336 * malloc/tst-posix_memalign.c: New file.
39337
39338 2013-10-01 Eric Blake <eblake@redhat.com>
39339
39340 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39341 Use __THROWNL rather than __THROW on static functions.
39342
39343 2013-09-30 Petr Machata <pmachata@redhat.com>
39344
39345 * elf/elf.h (R_AARCH64_ABS16): New macro.
39346 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39347 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39348 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39349 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39350 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39351 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39352 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39353 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39354 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39355 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39356 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39357 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39358 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39359 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39360 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39361 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39362 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39363 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39364 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39365 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39366 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39367 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39368 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39369 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39370 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39371 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39372 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39373 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39374 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39375 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39376 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39377 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39378 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39379 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39380 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39381 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39382 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39383 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39384 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39385 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39386 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39387 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39388 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39389 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39390 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39391 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39392 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39393 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39394 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39395 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39396 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39397 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39398 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39399 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39400 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39401 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39402 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39403 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39404 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39405 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39406 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39407 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39408 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39409 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39410 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39411 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39412 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39413 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39414 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39415 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39416 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39417 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39418 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39419 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39420 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39421 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39422 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39423 (R_AARCH64_TLSDESC_LDR): Likewise.
39424 (R_AARCH64_TLSDESC_ADD): Likewise.
39425 (R_AARCH64_TLSDESC_CALL): Likewise.
39426
39427 2013-09-30 Andreas Schwab <schwab@suse.de>
39428
39429 [BZ #15048]
39430 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39431 the nss database lookup.
39432 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39434
39435 2013-09-28 Mike Frysinger <vapier@gentoo.org>
39436
39437 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39438
39439 2013-09-28 P. J. McDermott <pj@pehjota.net>
39440
39441 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39442 ${Bash-specific parameter/pattern/string} parameter expansion.
39443 * sysdeps/unix/make-syscalls.sh: Likewise.
39444
39445 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39446
39447 * sysdeps/sh/stackguard-macros.h: New file.
39448
39449 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
39450
39451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39453 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39455 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39456 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39457
39458 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39459
39460 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39461 Fix thread ID register.
39462
39463 2013-09-25 Joseph Myers <joseph@codesourcery.com>
39464
39465 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39466 [POSIX || UNIX98]: Require rather than permitting all symbols from
39467 <time.h>.
39468 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39469 element of struct sched_param.
39470 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39471 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39472 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39473 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39474 constant.
39475
39476 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
39477
39478 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39479 argument calculation.
39480
39481 2013-09-24 Joseph Myers <joseph@codesourcery.com>
39482
39483 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39484 Expect macro.
39485 [POSIX] (pthread_attr_t): Do not require type.
39486 [POSIX] (pthread_cond_t): Likewise.
39487 [POSIX] (pthread_condattr_t): Likewise.
39488 [POSIX] (pthread_key_t): Likewise.
39489 [POSIX] (pthread_mutex_t): Likewise.
39490 [POSIX] (pthread_mutexattr_t): Likewise.
39491 [POSIX] (pthread_once_t): Likewise.
39492 [POSIX] (pthread_t): Likewise.
39493 [POSIX-based standards] (pthread_atfork): Expect function.
39494
39495 2013-09-24 Joseph Myers <joseph@codesourcery.com>
39496 Richard Sandiford <richard@codesourcery.com>
39497
39498 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39499 (swap_endianness_p): New extern variable.
39500 (set_big_endian): New inline function.
39501 (maybe_swap_uint32): Likewise.
39502 (maybe_swap_uint32_array): Likewise.
39503 (maybe_swap_uint32_obstack): Likewise.
39504 * locale/programs/locfile.c: Include <stdbool.h>.
39505 (swap_endianness_p): New variable.
39506 (add_locale_uint32): Call maybe_swap_uint32.
39507 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39508 (write_locale_data): Call maybe_swap_uint32_array.
39509 * locale/programs/ld-collate.c (obstack_int32_grow): Call
39510 maybe_swap_uint32.
39511 (obstack_int32_grow_fast): Likewise.
39512 (output_weightwc): Call maybe_swap_uint32_obstack.
39513 (collate_output): Likewise.
39514 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39515 (OPT_LITTLE_ENDIAN): Likewise.
39516 (options): Add --little-endian and --big-endian options.
39517 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39518 * locale/programs/locarchive.c: Include "locfile.h".
39519 (GET): New macro.
39520 (SET): Likewise.
39521 (INC): Likewise.
39522 (create_archive): Use the new macros to access fields of
39523 structures directly mapped from or written to locale archives.
39524 (oldlocrecentcmp): Likewise.
39525 (enlarge_archive): Likewise.
39526 (insert_name): Likewise.
39527 (add_alias): Likewise.
39528 (add_locale): Likewise.
39529 (delete_locales_from_archive): Likewise.
39530 (show_archive_content): Likewise.
39531 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
39532 locale data.
39533
39534 2013-09-24 Roland McGrath <roland@hack.frob.com>
39535
39536 * manual/freemanuals.texi: Updated from (newly) canonical copy at
39537 http://www.gnu.org/doc/freemanuals.texi.
39538 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39539
39540 2013-09-24 Will Newton <will.newton@linaro.org>
39541
39542 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39543 macro.
39544
39545 2013-09-23 Joseph Myers <joseph@codesourcery.com>
39546
39547 * locale/hashval.h (compute_hashval): Interpret bytes of key as
39548 unsigned char.
39549
39550 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
39551
39552 * manual/threads.texi (POSIX Threads): Fix a typo.
39553
39554 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
39555
39556 [BZ #14547]
39557 * string/tst-strcoll-overflow.c: New test case.
39558 * string/Makefile (xtests): Add tst-strcoll-overflow.
39559 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39560 cache if string sizes may cause integer overflow.
39561
39562 [BZ #14547]
39563 * string/strcoll_l.c (coll_seq): New members rule, idx,
39564 save_idx and back_us.
39565 (get_next_seq_nocache): New function.
39566 (do_compare_nocache): New function.
39567 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39568 when malloc fails.
39569
39570 2013-09-23 Carlos O'Donell <carlos@redhat.com>
39571
39572 [BZ #15754]
39573 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39574 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39575 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39576
39577 [BZ #15754]
39578 * elf/Makefile (tests): Add tst-ptrguard1.
39579 (tests-static): Add tst-ptrguard1-static.
39580 (tst-ptrguard1-ARGS): Define.
39581 (tst-ptrguard1-static-ARGS): Define.
39582 * elf/tst-ptrguard1.c: New file.
39583 * elf/tst-ptrguard1-static.c: New file.
39584 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39585 * sysdeps/i386/stackguard-macros.h: Likewise.
39586 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39587 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39588 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39589 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39590 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39591 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39592
39593 2013-09-23 Hector Marco <hecmargi@upv.es>
39594 Ismael Ripoll <iripoll@disca.upv.es>
39595 Carlos O'Donell <carlos@redhat.com>
39596
39597 [BZ #15754]
39598 * sysdeps/generic/stackguard-macros.h: Define
39599 __pointer_chk_guard_local and POINTER_CHK_GUARD.
39600 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39601 Define __pointer_chk_guard_local.
39602 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39603 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39604
39605 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
39606
39607 [BZ #15859]
39608 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39609
39610 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
39611
39612 * include/string.h (__ffs): Declare as hidden.
39613 * string/ffs.c (__ffs): Define as hidden.
39614 * sysdeps/i386/ffs.c (__ffs): Likewise.
39615 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39616 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39617 * sysdeps/s390/ffs.c (__ffs): Likewise.
39618 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39619
39620 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
39621
39622 * NEWS: Mention malloc probes.
39623
39624 * malloc/arena.c (new_heap): New memory_heap_new probe.
39625 (grow_heap): New memory_heap_more probe.
39626 (shrink_heap): New memory_heap_less probe.
39627 (heap_trim): New memory_heap_free probe.
39628 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39629 (systrim): New memory_sbrk_less probe.
39630 * manual/probes.texi: Document them.
39631
39632 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39633 * manual/probes.texi: Document it.
39634
39635 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39636 (__libc_realloc): Add memory_realloc_retry probe.
39637 (__libc_memalign): Add memory_memalign_retry probe.
39638 (__libc_valloc): Add memory_valloc_retry probe.
39639 (__libc_pvalloc): Add memory_pvalloc_retry probe.
39640 (__libc_calloc): Add memory_calloc_retry probe.
39641 * manual/probes.texi: Document them.
39642
39643 * malloc/arena.c (get_free_list): Add probe
39644 memory_arena_reuse_free_list.
39645 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39646 and memory_arena_reuse.
39647 (arena_get2) [!PER_THREAD]: Likewise.
39648 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39649 memory_arena_reuse_realloc.
39650 * manual/probes.texi: Document them.
39651
39652 * malloc/malloc.c (__libc_free): Add
39653 memory_mallopt_free_dyn_thresholds probe.
39654 (__libc_mallopt): Add multiple memory_mallopt probes.
39655 * manual/probes.texi: Document them.
39656
39657 * malloc/malloc.c: Include stap-probe.h.
39658 (__libc_mallopt): Add memory_mallopt probe.
39659 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39660 * manual/probes.texi: New.
39661 * manual/Makefile (chapters): Add probes.
39662 * manual/threads.texi: Set next node.
39663
39664 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
39665
39666 [BZ #15963, #13985]
39667 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39668 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39669 Add `Chinese' to `nan' entry name.
39670
39671 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39672
39673 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39674 (POLYNOMIAL): Likewise.
39675 (TAYLOR_SINCOS): Likewise.
39676 (TAYLOR_SLOW): Likewise.
39677 (__sin): Use TAYLOR_SINCOS.
39678 (__cos): Likewise.
39679 (slow): Use TAYLOR_SLOW.
39680 (sloww): Likewise.
39681 (bsloww): Likewise.
39682 (csloww): Likewise.
39683
39684 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39685
39686 * stdlib/strtod_l.c: Fix buffer overrun.
39687
39688 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39689
39690 * benchtests/Makefile (bench): Add sincos.
39691 * benchtests/bench-sincos.c: New file.
39692
39693 * math/libm-test.inc (cos_test_data): New test inputs.
39694 (sin_test_data): Likewise.
39695
39696 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39697 macro.
39698 (__sin): Use it.
39699 (__cos): Likewise.
39700 (slow1): Likewise.
39701 (slow2): Likewise.
39702 (sloww1): Likewise.
39703 (sloww2): Likewise.
39704 (bsloww1): Likewise.
39705 (bsloww2): Likewise.
39706 (cslow2): Likewise.
39707 (csloww1): Likewise.
39708 (csloww2): Likewise.
39709
39710 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39711 function.
39712 (__sin): Use it.
39713 (__cos): Likewise.
39714
39715 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39716 gotos.
39717 (__cos): Likewise.
39718
39719 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
39720
39721 * config.h.in (HAVE_MIPS_NAN2008): New macro.
39722 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39723 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39724 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39725 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39726 * elf/cache.c (print_entry): Handle the new cache flags.
39727
39728 2013-09-18 Joseph Myers <joseph@codesourcery.com>
39729 Aldy Hernandez <aldyh@redhat.com>
39730
39731 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39732 Change condition to [_SOFT_FLOAT].
39733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39745 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39748 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39749 declaration.
39750
39751 2013-09-18 Joseph Myers <joseph@codesourcery.com>
39752
39753 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39754 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39755 (__longjmp): Use LOAD_GP to load saved GPRs.
39756 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39757 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39758 (__sigsetjmp): Use SAVE_GP to save GPRs.
39759
39760 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39761 Do not append -msoft-float.
39762 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39763
39764 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39765
39766 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39767
39768 2013-09-17 Joseph Myers <joseph@codesourcery.com>
39769
39770 [BZ #15966]
39771 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39772 (_FPU_GETCW): Use initial "__" on variable and field names but not
39773 on macro parameter name.
39774 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
39775 parentheses around reference to macro parameter.
39776
39777 2013-09-13 Richard Sandiford <richard@codesourcery.com>
39778
39779 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39780 prototype.
39781 (ctype_startup): Use uint32_t in cast and sizeof for
39782 ctype->charnames.
39783
39784 2013-09-11 Jia Liu <proljc@gmail.com>
39785
39786 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39787 __daddr_t_defined.
39788 [__FreeBSD__]: Likewise.
39789
39790 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
39791
39792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39793 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39794 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39795 (strchr): Remove __strchr_sse42 ifunc selection.
39796 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39797 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39798
39799 2013-09-11 Will Newton <will.newton@linaro.org>
39800
39801 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39802 parameter to RES. Remove hardcoded 1000 value.
39803 * benchtests/bench-skeleton.c (main): Pass RES parameter
39804 to TIMING_INIT and multiply result by 1000.
39805
39806 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39807
39808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39809
39810 2013-09-11 Andreas Schwab <schwab@suse.de>
39811
39812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39813 if not defined.
39814 (O_TMPFILE) [__USE_GNU]: Define.
39815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39816 Define.
39817
39818 2013-09-11 Will Newton <will.newton@linaro.org>
39819
39820 [BZ #15857]
39821 * malloc/malloc.c (__libc_memalign): Check the value of bytes
39822 does not overflow.
39823
39824 2013-09-11 Will Newton <will.newton@linaro.org>
39825
39826 [BZ #15856]
39827 * malloc/malloc.c (__libc_valloc): Check the value of bytes
39828 does not overflow.
39829
39830 2013-09-11 Will Newton <will.newton@linaro.org>
39831
39832 [BZ #15855]
39833 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39834 does not overflow.
39835
39836 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
39837
39838 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39839 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39840 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39843
39844 2013-09-10 Allan McRae <allan@archlinux.org>
39845
39846 [BZ #15748]
39847 * manual/arith.texi (Parsing of Floats): Clarify
39848 cross-reference.
39849
39850 [BZ #15849]
39851 * manual/install.texi (Running make install): Mention
39852 --enable-pt-chown.
39853 * INSTALL: Regenerated.
39854
39855 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
39856
39857 * csu/init-first.c (_init): Remove the !SHARED condition around
39858 FPU control word initialization.
39859 * elf/dl-support.c (_dl_fpu_control): New variable.
39860 (_dl_aux_init) <AT_FPUCW>: Initialize it.
39861 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39862 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39863 * math/test-fpucw-static.c: New file.
39864 * math/test-fpucw-ieee.c: New file.
39865 * math/test-fpucw-ieee-static.c: New file.
39866 * math/Makefile (tests): Add `test-fpucw-ieee' and
39867 `$(tests-static)'.
39868 (tests-static): New variable.
39869 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39870 dependency to...
39871 [($(build-shared),yes)]
39872 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39873 ... this.
39874 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39875 New dependency.
39876
39877 2013-09-09 Allan McRae <allan@archlinux.org>
39878
39879 [BZ #15939]
39880 * manual/string.texi (Collation Functions): Fix typo in
39881 strcoll example.
39882 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39883
39884 [BZ #15893]
39885 * stdlib/isomac.c (get_null_defines): Fix memory leak.
39886
39887 [BZ #15892]
39888 * libio/memstream.c (open_memstream): Fix memory leak.
39889 * libio/wmemstream.c (open_wmemstream): Likewise.
39890
39891 [BZ #15895]
39892 * nscd/netgroupcache.c: Fix nesting of ifdefs.
39893
39894 2013-09-09 Will Newton <will.newton@linaro.org>
39895
39896 * malloc/Makefile: Add tst-realloc to tests.
39897 * malloc/tst-realloc.c: New file.
39898
39899 2013-09-09 Allan McRae <allan@archlinux.org>
39900
39901 [BZ #15844]
39902 * COPYING: Update from GNU website to fix FSF address.
39903 * COPYING.LIB: Likewise.
39904
39905 2013-09-06 David S. Miller <davem@davemloft.net>
39906
39907 * po/zh_TW.po: Update Chinese (traditional) translation from
39908 translation project.
39909
39910 2013-09-06 Richard Sandiford <richard@codesourcery.com>
39911 Joseph Myers <joseph@codesourcery.com>
39912
39913 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39914 "localeinfo.h".
39915 (obstack_chunk_alloc): New macro.
39916 (obstack_chunk_free): Likewise.
39917 (record_offset): New function.
39918 (init_locale_data): Likewise.
39919 (align_locale_data): Likewise.
39920 (add_locale_empty): Likewise.
39921 (add_locale_raw_data): Likewise.
39922 (add_locale_raw_obstack): Likewise.
39923 (add_locale_string): Likewise.
39924 (add_locale_wstring): Likewise.
39925 (add_locale_uint32): Likewise.
39926 (add_locale_uint32_array): Likewise.
39927 (add_locale_char): Likewise.
39928 (start_locale_structure): Likewise.
39929 (end_locale_structure): Likewise.
39930 (start_locale_prelude): Likewise.
39931 (end_locale_prelude): Likewise.
39932 (write_locale_data): Take locale_file structure rather than an
39933 iovec.
39934 * locale/programs/locfile.h: Include "obstack.h".
39935 (struct locale_file): Change to store locale file contents instead
39936 of header.
39937 (init_locale_data): New prototype.
39938 (align_locale_data): Likewise.
39939 (add_locale_empty): Likewise.
39940 (add_locale_raw_data): Likewise.
39941 (add_locale_raw_obstack): Likewise.
39942 (add_locale_string): Likewise.
39943 (add_locale_wstring): Likewise.
39944 (add_locale_uint32): Likewise.
39945 (add_locale_uint32_array): Likewise.
39946 (add_locale_char): Likewise.
39947 (start_locale_structure): Likewise.
39948 (end_locale_structure): Likewise.
39949 (start_locale_prelude): Likewise.
39950 (end_locale_prelude): Likewise.
39951 (write_locale_data): Update prototype.
39952 * locale/programs/3level.h (struct TABLE): Remove result field.
39953 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39954 Use new locale_file interface.
39955 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39956 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39957 * locale/programs/ld-address.c (address_output): Use new
39958 locale_file interface.
39959 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39960 NO_ADD_LOCALE.
39961 (collate_finish): Don't call collseq_table_finalize.
39962 (collate_output): Use new locale_file interface.
39963 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39964 in file.
39965 (NO_FINALIZE): Change to NO_ADD_LOCALE.
39966 (TABLE): Move defines earlier in file.
39967 (ELEMENT): Likewise.
39968 (DEFAULT): Likewise.
39969 (wctrans_table_add): Move macro and inline function earlier in
39970 file.
39971 (struct wctype_table): Move type earlier in file.
39972 (add_locale_wctype_table): New static prototype.
39973 (struct locale_ctype_t): Use logical types instead of struct iovec
39974 pointers for members.
39975 (ctype_output): Use new locale_file interface.
39976 (wctype_table_finalize): Change to add_locale_wctype_table. Use
39977 new locale_file interface.
39978 (allocate_arrays): Update for use of new locale_file interface.
39979 * locale/programs/ld-identification.c (identification_output): Use
39980 new locale_file interface.
39981 * locale/programs/ld-measurement.c (measurement_output): Likewise.
39982 * locale/programs/ld-messages.c (messages_output): Likewise.
39983 * locale/programs/ld-monetary.c (monetary_output): Likewise.
39984 * locale/programs/ld-name.c (name_output): Likewise.
39985 * locale/programs/ld-numeric.c (numeric_output): Likewise.
39986 * locale/programs/ld-paper.c (paper_output): Likewise.
39987 * locale/programs/ld-telephone.c (telephone_output): Likewise.
39988 * locale/programs/ld-time.c (time_output): Likewise.
39989
39990 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39991
39992 * benchtests/Makefile: Add memrchr benchmark.
39993 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39994 benchmark as memrchr.
39995 * benchtests/bench-memrchr-ifunc.c: New file.
39996 * benchtests/bench-memrchr.c: New file.
39997
39998 2013-09-06 Will Newton <will.newton@linaro.org>
39999
40000 * benchtests/Makefile (string-bench): Add memcpy.
40001
40002 2013-09-05 Carlos O'Donell <carlos@redhat.com>
40003 Cong Wang <amwang@redhat.com>
40004
40005 [BZ #15850]
40006 * sysdeps/unix/sysv/linux/bits/in.h
40007 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40008 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40009 before __USE_KERNEL_IPV6_DEFS uses.
40010 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40011 IPPROTO_BEETPH.
40012 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40013 sockaddr_in6, or ipv6_mreq.
40014
40015 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40016
40017 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40018 memory access for final bytes in some large inputs.
40019 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40020
40021 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40022
40023 * string/test-memrchr.c: New file.
40024 * string/test-memrchr-ifunc.c: New file.
40025 * string/Makefile: Add new memrchr testcase.
40026
40027 2013-09-05 Mike Frysinger <vapier@gentoo.org>
40028
40029 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40030 fanotify_init returns EPERM.
40031
40032 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40033
40034 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40035 errors.
40036 (top level): Treat second token from macro or constant entries for
40037 allowed headers as allowed.
40038 * include/complex.h: Condition internal declarations on
40039 [!_ISOMAC].
40040 * include/fenv.h: Condition include of <stdbool.h> and internal
40041 declarations on [!_ISOMAC].
40042
40043 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
40044
40045 [BZ #15923]
40046 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40047
40048 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40049
40050 * configure.in (--enable-versioning): Remove configure option.
40051 (libc_cv_asm_symver_directive): Remove configure test.
40052 (libc_cv_ld_version_script_option): Likewise.
40053 (VERSIONING): Remove variable and AC_SUBST.
40054 (DO_VERSIONING): Remove AC_DEFINE.
40055 * configure: Regenerated.
40056 * config.h.in (DO_VERSIONING): Remove macro.
40057 * Makerules [$(versioning) = yes]: Change conditionals to
40058 [$(build-shared) = yes].
40059 * config.make.in (versioning): Remove variable.
40060 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40061 [$(build-shared) = yes].
40062 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40063 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40064 * elf/Makefile [$(versioning) = yes]: Change conditionals to
40065 [$(build-shared) = yes].
40066 * extra-lib.mk [$(versioning) = yes]: Likewise.
40067 * hurd/Makefile [$(versioning) = yes]: Likewise.
40068 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40069 [SHARED].
40070 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40071 [SHARED].
40072 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40073 [SHARED && !NO_HIDDEN].
40074 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40075 [SHARED].
40076 [SHARED && DO_VERSIONING]: Likewise..
40077 * libio/Makefile [$(versioning) = yes]: Change conditionals to
40078 [$(build-shared) = yes].
40079 * manual/install.texi (--disable-versioning): Remove
40080 documentation.
40081 * INSTALL: Regenerated.
40082 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40083 to [SHARED].
40084 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40085 [$(build-shared) = yes].
40086 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40087 * sysdeps/i386/i686/multiarch/strstr-c.c
40088 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40089 [SHARED && !NO_HIDDEN].
40090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40091 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40092 * sysdeps/powerpc/powerpc32/dl-machine.c
40093 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40094 * sysdeps/powerpc/powerpc32/sysdep.h
40095 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40096 to [SHARED && PIC && !NO_HIDDEN].
40097 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40098 conditional to [SHARED].
40099
40100 2013-09-04 Will Newton <will.newton@linaro.org>
40101
40102 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40103 * benchtests/bench-string.h: Include bench-timing.h instead
40104 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40105 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40106 call to HP_TIMING_DIFF_INIT.
40107 * benchtests/bench-memccpy.c: Use bench-timing.h macros
40108 instead of hp-timing.h macros.
40109 * benchtests/bench-memchr.c: Likewise.
40110 * benchtests/bench-memcmp.c: Likewise.
40111 * benchtests/bench-memcpy.c: Likewise.
40112 * benchtests/bench-memmem.c: Likewise.
40113 * benchtests/bench-memmove.c: Likewise.
40114 * benchtests/bench-memset.c: Likewise.
40115 * benchtests/bench-rawmemchr.c: Likewise.
40116 * benchtests/bench-strcasecmp.c: Likewise.
40117 * benchtests/bench-strcasestr.c: Likewise.
40118 * benchtests/bench-strcat.c: Likewise.
40119 * benchtests/bench-strchr.c: Likewise.
40120 * benchtests/bench-strcmp.c: Likewise.
40121 * benchtests/bench-strcpy.c: Likewise.
40122 * benchtests/bench-strcpy_chk.c: Likewise.
40123 * benchtests/bench-strlen.c: Likewise.
40124 * benchtests/bench-strncasecmp.c: Likewise.
40125 * benchtests/bench-strncat.c: Likewise.
40126 * benchtests/bench-strncmp.c: Likewise.
40127 * benchtests/bench-strncpy.c: Likewise.
40128 * benchtests/bench-strnlen.c: Likewise.
40129 * benchtests/bench-strpbrk.c: Likewise.
40130 * benchtests/bench-strrchr.c: Likewise.
40131 * benchtests/bench-strspn.c: Likewise.
40132 * benchtests/bench-strstr.c: Likewise.
40133
40134 2013-09-04 Will Newton <will.newton@linaro.org>
40135
40136 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40137
40138 2013-09-03 Joseph Myers <joseph@codesourcery.com>
40139
40140 [BZ #15427]
40141 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40142 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40143 * math/libm-test.inc (lgamma_test_data): Add more tests.
40144 * sysdeps/i386/fpu/libm-test-ulps: Update.
40145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40146
40147 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
40148
40149 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40151 Add ifunc.
40152 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40153 Add strcmp-sse2-unaligned
40154 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40155
40156 2013-09-02 Mike Frysinger <vapier@gentoo.org>
40157
40158 * Versions.def (libc): Add GLIBC_2.19.
40159
40160 2013-09-02 Mike Frysinger <vapier@gentoo.org>
40161
40162 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40163 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40164
40165 2013-09-02 Joseph Myers <joseph@codesourcery.com>
40166
40167 [BZ #14155]
40168 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40169 intermediate calculations in recurrence.
40170 (__ieee754_ynf): Likewise.
40171 * math/libm-test.inc (jn_test_data): Do not allow spurious
40172 underflow exception. Add more tests.
40173 (yn_test_data): Add more tests.
40174 * sysdeps/i386/fpu/libm-test-ulps: Update.
40175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40176
40177 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
40178
40179 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40180
40181 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40182
40183 * csu/init-first.c: Fix then/than typos.
40184 * locale/programs/ld-collate.c: Likewise.
40185 * locale/programs/linereader.h: Likewise.
40186 * manual/charset.texi: Likewise.
40187 * manual/filesys.texi: Likewise.
40188 * manual/stdio.texi: Likewise.
40189 * manual/string.texi: Likewise.
40190 * stdlib/fmtmsg.c: Likewise.
40191 * sysdeps/i386/stpncpy.S: Likewise.
40192 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40193 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40194 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40195 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40196
40197 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40198
40199 * elf/dl-open.c: Fix typos.
40200 * iconvdata/gbbig5.c: Likewise.
40201 * iconvdata/iso-2022-jp.c: Likewise.
40202 * iconv/gconv_int.h: Likewise.
40203 * iconv/loop.c: Likewise.
40204 * nis/rpcsvc/nis.h: Likewise.
40205 * resolv/ns_name.c: Likewise.
40206 * stdio-common/vfscanf.c: Likewise.
40207 * streams/stropts.h: Likewise.
40208 * sunrpc/rpc_thread.c: Likewise.
40209 * sysdeps/i386/strpbrk.S: Likewise.
40210 * sysdeps/ieee754/k_standard.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40213 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40214 * sysdeps/mach/hurd/profil.c: Likewise.
40215 * sysdeps/s390/dl-procinfo.h: Likewise.
40216 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40217 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40218 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40219 * sysdeps/x86_64/dl-trampoline.S: Likewise.
40220 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40221
40222 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40223
40224 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40226
40227 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
40228
40229 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40230 aix specific files.
40231 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40232 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40233 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40234 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40235 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40236 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40237 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40238 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40239
40240 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
40241 Roland McGrath <roland@hack.frob.com>
40242
40243 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40244 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40245
40246 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
40247
40248 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40249 __executable_start symbol instead of _start.
40250
40251 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
40252
40253 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40254 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40255 Move macros to...
40256 * sysdeps/gnu/ldsodefs.h: ... this new file.
40257
40258 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40259 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40260 instead of ELFOSABI_LINUX.
40261
40262 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40263 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40264 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40265 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40266 Likewise.
40267 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40268 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40269 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40270 Likewise.
40271 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40272 (ibm_extended_long_double): Add ieee_nan member.
40273 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40274 (do_test): New function.
40275
40276 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40277 TEST_TRUNC.
40278 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40279 functions, renamed from truncdfsf_test, trunctfsf_test,
40280 trunctfdf_test.
40281 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40282 functions.
40283 (do_test): Run all these.
40284
40285 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
40286
40287 * argp/argp-help.c: Fix typos.
40288 * argp/argp-parse.c: Likewise.
40289 * debug/backtracesyms.c: Likewise.
40290 * elf/elf.h: Likewise.
40291 * malloc/malloc.c: Likewise.
40292 * nis/nis_print.c: Likewise.
40293 * resolv/res_comp.c: Likewise.
40294 * stdlib/stdlib.h: Likewise.
40295 * sunrpc/clnt_tcp.c: Likewise.
40296 * sunrpc/clnt_udp.c: Likewise.
40297 * sunrpc/clnt_unix.c: Likewise.
40298 * sysdeps/unix/bsd/ptsname.c: Likewise.
40299 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40300 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40302 Likewise.
40303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40304 Likewise.
40305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40306 Likewise.
40307 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40308
40309 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40310
40311 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40313
40314 2013-08-27 Mike Frysinger <vapier@gentoo.org>
40315
40316 [BZ #15897]
40317 * dlfcn/Makefile (tests): Add bug-dl-leaf.
40318 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40319 ($(objpfx)bug-dl-leaf): New rule.
40320 ($(objpfx)bug-dl-leaf.so): Likewise.
40321 ($(objpfx)bug-dl-leaf.out): Likewise.
40322 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40323 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40324 * dlfcn/bug-dl-leaf.c: New test.
40325 * dlfcn/bug-dl-leaf-lib.c: Likewise.
40326 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40327 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40328 (dlclose): Likewise.
40329 (dlmopen): Likewise.
40330
40331 2013-08-27 Roland McGrath <roland@hack.frob.com>
40332
40333 * include/netdb.h [!_ISOMAC]:
40334 Don't include <tls.h>.
40335 (h_errno, __libc_h_errno): Move declaration and macros out of
40336 [_LIBC_REENTRANT].
40337
40338 * include/resolv.h [_RESOLV_H_]:
40339 Don't include <tls.h>.
40340 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40341 * resolv/res_libc.c: Don't include <tls.h>.
40342 (_res): Use __attribute__ ((nocommon)) in place of
40343 __attribute__ ((section (".bss"))).
40344
40345 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40346 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40347
40348 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40349
40350 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40351 only under [SIOCGIFCONF && SIOCGIFNETMASK].
40352
40353 * resolv/res_mkquery.c: Include <sys/time.h>.
40354
40355 * inet/ifreq.c: Moved to ...
40356 * sysdeps/unix/ifreq.c: ... here.
40357 * inet/ifreq.c: New file, true stub version.
40358
40359 * socket/sa_len.c: New file.
40360 * socket/Makefile (aux): Add it.
40361 * sysdeps/unix/sysv/linux/Makefile
40362 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40363 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40364 and #include <socket/sa_len.c>.
40365 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40366 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40367
40368 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40369 * bits/socket.h: ... here.
40370
40371 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40372 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40373 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40374
40375 2013-08-27 Andreas Schwab <schwab@suse.de>
40376
40377 [BZ #15736]
40378 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40379 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40380 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40381 * string/test-strcasecmp.c (test_main): Run tests in several
40382 locales.
40383 * string/test-strncasecmp.c (test_main): Likewise.
40384
40385 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40386 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40387 to __strcasecmp_nonascii and __strncasecmp_nonascii.
40388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40389 (__strncasecmp_ssse3) [PIC]: Likewise.
40390
40391 2013-08-26 Roland McGrath <roland@hack.frob.com>
40392
40393 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40394
40395 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40396 instead of explicitly declaring xdecrypt.
40397 * nis/nss_nis/nis-publickey.c: Likewise.
40398
40399 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40400
40401 [BZ #15890]
40402 * nscd/aicache.c: Include res_hconf.h.
40403 (addhstaiX): Initialize res_hconf.
40404
40405 2013-08-26 Andreas Schwab <schwab@suse.de>
40406
40407 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40408 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40409
40410 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40411
40412 * nscd/aicache.c (addhstaiX): Fix indentation.
40413
40414 2013-08-25 Mike Frysinger <vapier@gentoo.org>
40415
40416 * configure.ac: Quote $build_pt_chown test.
40417 * configure: Regenerated.
40418
40419 2013-08-23 Joseph Myers <joseph@codesourcery.com>
40420
40421 [BZ #15532]
40422 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40423 * math/s_cexpf.c (__cexpf): Likewise.
40424 * math/s_cexpl.c (__cexpl): Likewise.
40425 * math/libm-test.inc (cexp_test_data): Correct expected return
40426 value for NaN + i0. Add another test.
40427
40428 2013-08-22 David S. Miller <davem@davemloft.net>
40429
40430 * po/ca.po: Update Catalan translation from translation project.
40431 * po/uk.po: Add Ukrainian translations from translation project.
40432
40433 2013-08-21 Joseph Myers <joseph@codesourcery.com>
40434
40435 [BZ #15797]
40436 * math/s_fdim.c (__fdim): Check for infinite arguments if result
40437 is infinite, not alongside NaN test.
40438 * math/s_fdimf.c (__fdimf): Likewise.
40439 * math/s_fdiml.c (__fdiml): Likewise.
40440 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
40441 errno is unchanged.
40442
40443 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
40444
40445 * argp/argp-help.c: Fix typos.
40446 * crypt/speeds.c: Likewise.
40447 * csu/check_fds.c: Likewise.
40448 * elf/dl-load.c: Likewise.
40449 * elf/dl-open.c: Likewise.
40450 * elf/reldep3.c: Likewise.
40451 * elf/reldep.c: Likewise.
40452 * elf/sprof.c: Likewise.
40453 * iconv/iconv_charmap.c: Likewise.
40454 * iconv/skeleton.c: Likewise.
40455 * iconv/strtab.c: Likewise.
40456 * io/lockf64.c: Likewise.
40457 * libio/libioP.h: Likewise.
40458 * resolv/gai_notify.c: Likewise.
40459 * resolv/ns_name.c: Likewise.
40460 * resolv/ns_samedomain.c: Likewise.
40461 * resolv/res_send.c: Likewise.
40462 * stdlib/random.c: Likewise.
40463 * sunrpc/rpc/xdr.h: Likewise.
40464 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40465 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40466 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40467 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40468 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40471 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40472 * sysdeps/mach/hurd/check_fds.c: Likewise.
40473 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40474 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40475 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40476 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40477 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40478 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40479 * sysdeps/pthread/aio_notify.c: Likewise.
40480 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40481 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40482 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40483 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40484 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40485
40486 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40487
40488 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40489 version if bit_Slow_SSE4_2 is set.
40490 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40491 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40492
40493 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40494
40495 [BZ #15867]
40496 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40497 trampoline stack frame information.
40498 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40500 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40501 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40502 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40503 * sysdeps/unix/sysv/linux/powerpc/init-first.c
40504 (_libc_vdso_platform_setup): Initialize the signal trampolines.
40505 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40506 sa_flags value.
40507 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40508 interrupting a syscall and set with option SA_SIGINFO.
40509
40510 2013-08-20 Joseph Myers <joseph@codesourcery.com>
40511
40512 [BZ #15531]
40513 * math/s_cproj.c (__cproj): Only return an infinity if one part of
40514 argument is infinite.
40515 * math/s_cprojf.c (__cprojf): Likewise.
40516 * math/s_cprojl.c (__cprojl): Likewise.
40517 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40518 * math/libm-test.inc (cproj_test_data): Add more tests.
40519
40520 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40521
40522 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40523 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40524 size. Use __ffs to determine corresponding shift.
40525
40526 2013-08-20 Joseph Myers <joseph@codesourcery.com>
40527 Roland McGrath <roland@hack.frob.com>
40528
40529 * Makefile (INSTALL): Remove trailing blank lines from output of
40530 makeinfo.
40531
40532 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40533
40534 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40535 Align 32 bit compat elf_greg to 8 bytes.
40536
40537 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
40538
40539 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40540
40541 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40542
40543 * string/strcoll_l.c (coll_seq): New structure.
40544 (get_next_seq_cached): New function.
40545 (get_next_seq): New function.
40546 (do_compare): New function.
40547 (STRCOLL): Use GNU style definition. Simplify implementation
40548 by using get_next_seq, get_next_seq_cached and do_compare.
40549
40550 2013-08-16 Florian Weimer <fweimer@redhat.com>
40551
40552 [BZ #14699]
40553 CVE-2013-4237
40554 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40555 member.
40556 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40557 member.
40558 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40559 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40560 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
40561 conditional.
40562 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40563 GETDENTS_64BIT_ALIGNED.
40564 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40565 * manual/filesys.texi (Reading/Closing Directory): Document
40566 ENAMETOOLONG return value of readdir_r. Recommend readdir more
40567 strongly.
40568 * manual/conf.texi (Limits for Files): Add portability note to
40569 NAME_MAX, PATH_MAX.
40570 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40571
40572 2013-08-13 Andreas Schwab <schwab@suse.de>
40573
40574 [BZ #15749]
40575 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40576 of fabs.
40577 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40578 LDBL_MAX_EXP >= 16384]: Add tests for it.
40579
40580 2013-08-12 David S. Miller <davem@davemloft.net>
40581
40582 * version.h (RELEASE): Set to "development".
40583 (VERSION): Set to "2.18.90".
40584 * NEWS: Add 2.19 section.
40585
40586 2013-08-03 David S. Miller <davem@davemloft.net>
40587
40588 * po/ko.po: Update Korean translation from translation project.
40589
40590 2013-08-01 David S. Miller <davem@davemloft.net>
40591
40592 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
40593 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40594 Bilka.
40595
40596 2013-07-30 David S. Miller <davem@davemloft.net>
40597
40598 * po/fr.po: Update French translation from translation project.
40599
40600 2013-07-28 David S. Miller <davem@davemloft.net>
40601
40602 * po/cs.po: Update Czech translation from translation project.
40603
40604 * po/sv.po: Update Swedish translation from translation project.
40605
40606 2013-07-27 David S. Miller <davem@davemloft.net>
40607
40608 * po/eo.po: Update Esperanto translation from translation project.
40609
40610 * po/vi.po: Update Vietnamese translation from translation project.
40611
40612 * po/de.po: Update German translation from translation project.
40613
40614 2013-07-26 David S. Miller <davem@davemloft.net>
40615
40616 * po/bg.po: Update Bulgarian translation from translation project.
40617
40618 * po/nl.po: Update Dutch translation from translation project.
40619 * po/pl.po: Update Polish translation from translation project.
40620 * po/ru.po: Update Russian translation from translation project.
40621
40622 2013-07-24 David S. Miller <davem@davemloft.net>
40623
40624 * po/libc.pot: Update.
40625
40626 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40627
40628 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40629 variable page size.
40630 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40631 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40632 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40633
40634 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40635
40636 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40637
40638 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40639 Andreas Schwab <schwab@suse.de>
40640 Roland McGrath <roland@hack.frob.com>
40641 Joseph Myers <joseph@codesourcery.com>
40642 Carlos O'Donell <carlos@redhat.com>
40643
40644 [BZ #15755]
40645 * config.h.in: Define HAVE_PT_CHOWN.
40646 * config.make.in (build-pt-chown): New variable.
40647 * configure.in (--enable-pt_chown): New configure option.
40648 * configure: Regenerate.
40649 * login/Makefile: Include Makeconfig. Build pt_chown only if
40650 build-pt-chown is enabled.
40651 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40652 pt_chown to fix pty ownership.
40653 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40654 CLOSE_ALL_FDS.
40655 * manual/install.texi (Configuring and compiling): Mention
40656 --enable-pt_chown. Add @findex for grantpt.
40657 * INSTALL: Regenerate.
40658
40659 2013-07-20 David S. Miller <davem@davemloft.net>
40660
40661 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40662 difference between 32-bit and 64-bit.
40663
40664 2013-07-15 Carlos O'Donell <carlos@redhat.com>
40665
40666 [BZ #15711]
40667 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40668 Avoid system header dependency with -ffreestanding.
40669 ($(objpfx)bits/syscall%d): Likewise.
40670
40671 2013-07-13 David S. Miller <davem@davemloft.net>
40672
40673 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40674 underflows from atanl/atan2l due to bug 15319.
40675 (casinh_test_data): Likewise.
40676
40677 2013-07-07 David S. Miller <davem@davemloft.net>
40678
40679 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40680
40681 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
40682
40683 * sysdeps/i386/fpu/libm-test-ulps: Update.
40684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40685
40686 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40687
40688 * configure.in (--enable-lock-elision): Fix message text.
40689 * INSTALL: Regenerate.
40690 * configure: Regenerate.
40691
40692 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40693
40694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40695
40696 2013-07-03 Andreas Jaeger <aj@suse.de>
40697
40698 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40699 define.
40700 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40701 (ptrace_peeksiginfo_args): Add.
40702 (__ptrace_peeksiginfo_flags): Add.
40703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40705 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40706
40707 2013-07-03 Allan McRae <allan@archlinux.org>
40708
40709 * sysdeps/i386/fpu/libm-test-ulps: Update.
40710
40711 2013-07-02 David S. Miller <davem@davemloft.net>
40712
40713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40714
40715 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
40716
40717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40718
40719 2013-07-02 Joseph Myers <joseph@codesourcery.com>
40720
40721 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40723
40724 2013-07-02 Andi Kleen <ak@linux.intel.com>
40725
40726 * config.h.in (ENABLE_LOCK_ELISION): Add.
40727 * configure.in (--enable-lock-elision): Add option.
40728 * manual/install.texi: Document --enable lock elision.
40729 * configure: Regenerate
40730 * INSTALL: Regenerate.
40731
40732 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
40733
40734 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40735 SSE4.2 strcasecmp for libc.a.
40736 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40737
40738 2013-07-02 Joseph Myers <joseph@codesourcery.com>
40739
40740 [BZ #13304]
40741 * soft-fp/op-common.h (_FP_FMA): New macro.
40742 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40743 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
40744 (_FP_MUL_MEAT_1_imm): ... here.
40745 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
40746 (_FP_MUL_MEAT_1_wide): ... here.
40747 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
40748 (_FP_MUL_MEAT_1_hard): ... here.
40749 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40750 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
40751 (_FP_MUL_MEAT_2_wide): ... here.
40752 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
40753 (_FP_MUL_MEAT_2_wide_3mul): ... here.
40754 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
40755 (_FP_MUL_MEAT_2_gmp): ... here.
40756 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40757 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
40758 (_FP_MUL_MEAT_4_wide): ... here.
40759 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
40760 (_FP_MUL_MEAT_4_gmp): ... here.
40761 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40762 (_FP_WFRACBITS_DW_S): Likewise.
40763 (_FP_WFRACXBITS_DW_S): Likewise.
40764 (_FP_HIGHBIT_DW_S): Likewise.
40765 (FP_FMA_S): Likewise.
40766 (_FP_FRAC_HIGH_DW_S): Likewise.
40767 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40768 (_FP_WFRACBITS_DW_D): Likewise.
40769 (_FP_WFRACXBITS_DW_D): Likewise.
40770 (_FP_HIGHBIT_DW_D): Likewise.
40771 (FP_FMA_D): Likewise.
40772 (_FP_FRAC_HIGH_DW_D): Likewise.
40773 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40774 (_FP_WFRACBITS_DW_E): Likewise.
40775 (_FP_WFRACXBITS_DW_E): Likewise.
40776 (_FP_HIGHBIT_DW_E): Likewise.
40777 (FP_FMA_E): Likewise.
40778 (_FP_FRAC_HIGH_DW_E): Likewise.
40779 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40780 (_FP_WFRACBITS_DW_Q): Likewise.
40781 (_FP_WFRACXBITS_DW_Q): Likewise.
40782 (_FP_HIGHBIT_DW_Q): Likewise.
40783 (FP_FMA_Q): Likewise.
40784 (_FP_FRAC_HIGH_DW_Q): Likewise.
40785 * soft-fp/fmasf4.c: New file.
40786 * soft-fp/fmadf4.c: Likewise.
40787 * soft-fp/fmatf4.c: Likewise.
40788
40789 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40790
40791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40792 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40793 Silvermont.
40794 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40795 macro.
40796 (index_Slow_SSE4_2): Likewise.
40797 (index_Prefer_PMINUB_for_stringop): Likewise.
40798 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40799 bit_Slow_SSE4_2 is set.
40800 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40801 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40802
40803 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40804
40805 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40806 rtld_global._dl_hwcap2.
40807 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40808 POWER8.
40809 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40810 POWER8 feature descriptions defined in _dl_hwcap2.
40811 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40812 string handling for POWER8 feature bits.
40813 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40814 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40815 _dl_powerpc_cap_flags.
40816 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40817 * sysdeps/powerpc/rtld-global-offsets.sym
40818 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40819 _dl_hwcap2 in the rtld_global_ro structure.
40820
40821 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40822
40823 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40824 hardware capabilities in support of AT_HWCAP2.
40825 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40826 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40827 GLRO(dl_hwcap2).
40828 (_dl_show_auxv): Add support for calling _dl_procinfo to display
40829 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
40830 explicitly the unknown a_type display mechanism is used.
40831 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40832 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40833 struct member.
40834 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40835 to macro prototype for AT_HWCAP2 support.
40836 * sysdeps/i386/dl-procinfo.h: Likewise.
40837 * sysdeps/s390/dl-procinfo.h: Likewise.
40838 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40839 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
40840 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
40841 return -1 for unknown a_type display fallback.
40842 * sysdeps/sparc/dl-procinfo.h: Likewise.
40843 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40844 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40845
40846 2013-06-28 Joseph Myers <joseph@codesourcery.com>
40847
40848 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40849 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40850
40851 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
40852
40853 [BZ #12492]
40854 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40855 mprotect making __stack_prot writable.
40856
40857 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
40858 Joseph Myers <joseph@codesourcery.com>
40859
40860 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40861 as being properly aligned.
40862
40863 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
40864
40865 * dlfcn/modstatic5.c: New file.
40866 * dlfcn/tststatic5.c: New file.
40867 * dlfcn/Makefile (tests): Add tststatic5.
40868 (tests-static): Likewise.
40869 (modules-names): Add modstatic5.
40870 (tststatic5-ENV): New variable.
40871 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40872
40873 [BZ #15022]
40874 * elf/dl-support.c (_dl_main_map): New variable.
40875 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40876 (_dl_nns, _dl_load_adds): Set to 1.
40877 (_dl_initial_searchlist): Refer to _dl_main_map.
40878 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40879 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40880 call to _dl_get_origin.
40881 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40882 around call_map.
40883 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40884 * dlfcn/modstatic3.c: New file.
40885 * dlfcn/tststatic3.c: New file.
40886 * dlfcn/tststatic4.c: New file.
40887 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40888 (tests-static): Likewise.
40889 (modules-names): Add modstatic3.
40890 (tststatic3-ENV, tststatic4-ENV): New variables.
40891 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40892 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40893
40894 2013-06-26 Joseph Myers <joseph@codesourcery.com>
40895
40896 * configure.in (CC): Require GCC version 4.4 or later.
40897 * configure: Regenerated.
40898 * manual/install.texi (Tools for Compilation): Update GCC version
40899 requirement.
40900 * INSTALL: Regenerated.
40901
40902 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40903
40904 [BZ #15674]
40905 * string/test-memcmp.c (check2): New.
40906 (main): Call check2.
40907
40908 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40909
40910 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
40911
40912 [BZ #15022]
40913 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40914 over to...
40915 (dl_open_worker) [!SHARED]: ... here.
40916
40917 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40918
40919 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40920
40921 2013-06-25 Richard Henderson <rth@redhat.com>
40922
40923 * locale/programs/locarchive.c: Include <libc-internal.h>
40924
40925 2013-06-25 Joseph Myers <joseph@codesourcery.com>
40926
40927 * manual/texinfo.tex: Update to version 2013-06-21.17, with
40928 trailing whitespace removed.
40929
40930 2013-06-24 Mike Frysinger <vapier@gentoo.org>
40931
40932 [BZ #10283]
40933 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40934 * locale/programs/locarchive.c: Include libc-mmap.h.
40935 (prepare_address_space): Take two new outputs (the mmap base and len).
40936 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
40937 values.
40938 (create_archive): Declare new mmap base and len values for
40939 prepare_address_space, and store the result in ah.
40940 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40941 (enlarge_archive): If ah->mmap_base is not NULL, use that and
40942 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40943 Declare new mmap base and len values for
40944 prepare_address_space, and store the result in new_ah.
40945 (open_archive): Declare new mmap base and len values for
40946 prepare_address_space, and store the result in ah.
40947 (close_archive): If ah->mmap_base is not NULL, use that and
40948 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40949 * sysdeps/generic/libc-mmap.h: New file.
40950
40951 2013-06-24 Mike Frysinger <vapier@gentoo.org>
40952
40953 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40954 (ALIGN_UP): Likewise.
40955 (PTR_ALIGN_DOWN): Likewise.
40956 (PTR_ALIGN_UP): Likewise.
40957
40958 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40959
40960 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40961 entry mapped to PPC_PLATFORM_POWER8.
40962 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40963 POWER8.
40964 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40965 (_dl_string_platform): Add case for exporting platform position for
40966 POWER8.
40967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40968 search path to sysdeps/powerpc/powerpc32/power8 directory.
40969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40970 search path to sysdeps/powerpc/powerpc64/power8 directory.
40971 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40972 power7 directories.
40973 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40974 power7 directories.
40975
40976 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
40977
40978 * INSTALL: Regenerate.
40979
40980 * nscd/connections.c (nscd_init): Fix comment.
40981
40982 2013-06-22 Joseph Myers <joseph@codesourcery.com>
40983
40984 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40985
40986 [BZ #15667]
40987 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40988 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40989
40990 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
40991
40992 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40993 DL_DST_REQ_STATIC.
40994 (DL_DST_REQ_STATIC): Remove macro.
40995
40996 2013-06-21 Joseph Myers <joseph@codesourcery.com>
40997
40998 [BZ #7006]
40999 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41000 with a shift of 0 bits.
41001
41002 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
41003
41004 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41005 $(tststatic-ENV).
41006
41007 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41008
41009 [BZ #15655]
41010 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41011
41012 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41013
41014 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41015 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41016 accepts -fno-tree-loop-distribute-patterns.
41017 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41018 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41019 recursive call.
41020 * string/memset.c (memset): Likewise.
41021 * string/test-memmove.c (simple_memmove): Disable loop transformation
41022 to library calls.
41023 * string/test-memset.c (simple_memset): Likewise.
41024 * benchtests/bench-memmove.c (simple_memmove): Likewise.
41025 * benchtests/bench-memset.c (simple_memset): Likewise.
41026 * configure: Regenerated.
41027
41028 2013-06-20 Joseph Myers <joseph@codesourcery.com>
41029
41030 * math/test-misc.c (main): Ignore fesetround failure when failures
41031 of subsequent rounding tests would be ignored.
41032
41033 [BZ #15654]
41034 * math/fedisblxcpt.c (fedisableexcept): Return 0.
41035 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41036 * math/fegetenv.c (__fegetenv): Return 0.
41037 * math/fegetexcept.c (fegetexcept): Return 0.
41038 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41039 FE_TONEAREST.
41040 * math/feholdexcpt.c (feholdexcept): Return 0.
41041 * math/fesetenv.c (__fesetenv): Return 0.
41042 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41043 argument FE_TONEAREST.
41044 * math/feupdateenv.c (__feupdateenv): Return 0.
41045 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41046
41047 2013-06-18 Roland McGrath <roland@hack.frob.com>
41048
41049 * elf/rtld-Rules (rtld-compile-command.S): New variable.
41050 (rtld-compile-command.s, rtld-compile-command.c): New variables.
41051 ($(objpfx)rtld-%.os rules): Use them.
41052
41053 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41054
41055 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41056 fields.
41057
41058 2013-06-17 Roland McGrath <roland@hack.frob.com>
41059
41060 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41061 length of target pattern, then descending length of dependency pattern.
41062 * configure.in (AWK): Require gawk 3.1.2 or newer.
41063 * manual/install.texi (Tools for Compilation): Say that we do.
41064 * configure: Regenerated.
41065
41066 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41067 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41068 * scripts/sysd-rules.awk: ... this new script.
41069 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41070 than a glob-style pattern.
41071
41072 2013-06-17 Joseph Myers <joseph@codesourcery.com>
41073
41074 * math/test-misc.c (main): Do not treat incorrectly rounded
41075 conversions as failure unless ROUNDING_TESTS passes.
41076
41077 2013-06-15 Joseph Myers <joseph@codesourcery.com>
41078
41079 [BZ #15631]
41080 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41081 restore exception state around main square root computation, then
41082 check for inexactness explicitly.
41083
41084 * math/libm-test.inc (fma_test_data): Add another test.
41085
41086 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41087
41088 * manual/threads.texi (Non-POSIX Extensions): New document
41089 node. Document pthread_getattr_default_np and
41090 pthread_setattr_default_np.
41091
41092 * Versions.def (libpthread): Add GLIBC_2.18.
41093 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41095 Likewise.
41096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41097 Likewise.
41098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41099 Likewise.
41100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41101 Likewise.
41102 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41103 Likewise.
41104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41105 Likewise.
41106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41107 Likewise.
41108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41109 Likewise.
41110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41111 Likewise.
41112
41113 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41114
41115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41116 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41117
41118 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41119 H.J. Lu <hjl.tools@gmail.com>
41120
41121 [BZ #15627]
41122 * sysdeps/x86_64/rtld-memset.c: Remove file.
41123 * sysdeps/x86_64/rtld-memset.S: New file.
41124
41125 2013-06-14 Joseph Myers <joseph@codesourcery.com>
41126
41127 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41128 (test_in_one_mode): Take arguments for whether the rounding mode
41129 is supported for each floating-point type.
41130 (do_test): Pass new arguments to test_in_one_mode using
41131 ROUNDING_TESTS.
41132
41133 2013-06-13 Roland McGrath <roland@hack.frob.com>
41134
41135 * posix/tst-waitid.c (do_test): Distinguish different instances of
41136 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
41137 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41138 before entering the kernel for waitpid.
41139
41140 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41141
41142 * NEWS: Fix note on clock function precision. Text by Roland
41143 McGrath.
41144
41145 2013-06-13 Roland McGrath <roland@hack.frob.com>
41146
41147 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41148 it into place only when and if the sanity check passes.
41149
41150 2013-06-13 Joseph Myers <joseph@codesourcery.com>
41151
41152 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41153 output for whether conversion result is exact. Take argument
41154 indicating whether type is IBM long double.
41155 (round_for_all): Change need_exact field to ibm_ld.
41156 * stdlib/tst-strtod-round.c (struct exactness): New type.
41157 (struct test): Change bool ld_ok field to struct exactness exact.
41158 (TEST): Update all definitions for change to field.
41159 (tests): Regenerate array contents.
41160 (test_in_one_mode): Take pointer to new field instead of old ld_ok
41161 field value. Check for IBM long double here.
41162 (do_test): Update calls to test_in_one_mode.
41163
41164 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41165
41166 [BZ #12515]
41167 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41168 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41169
41170 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41171
41172 [BZ #15605]
41173 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41174 generated by the compiler on loop optimizations.
41175 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41176 general definitions.
41177
41178 2013-06-12 Joseph Myers <joseph@codesourcery.com>
41179
41180 * math/bug-nextafter.c: Include <math-tests.h>.
41181 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41182 the relevant type.
41183 * math/bug-nexttoward.c: Include <math-tests.h>.
41184 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41185 the relevant type.
41186 * math/test-misc.c: Include <math-tests.h>.
41187 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41188 the relevant type.
41189
41190 2013-06-12 Andreas Jaeger <aj@suse.de>
41191
41192 * po/ia.po: Update Interlingua translation from translation
41193 project.
41194
41195 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
41196
41197 * include/fenv.h: Include stdbool.h.
41198 (struct rm_ctx): New structure.
41199 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41200 Define macro.
41201 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41202 (SET_RESTORE_ROUNDF): Likewise.
41203 (SET_RESTORE_ROUNDL): Likewise.
41204 (SET_RESTORE_ROUND_NOEX): Likewise.
41205 (SET_RESTORE_ROUND_NOEXF): Likewise.
41206 (SET_RESTORE_ROUND_NOEXL): Likewise.
41207 (SET_RESTORE_ROUND_53BIT): Likewise.
41208 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41209 (libc_feresetround_noexf_ctx): Likewise.
41210 (libc_feresetround_noexl_ctx): Likewise.
41211 (libc_feholdsetround_53bit_ctx): Likewise.
41212 (libc_feresetround_53bit_ctx): Likewise.
41213 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41214 (libc_feholdexcept_setround_sse_ctx): New function.
41215 (libc_fesetenv_sse_ctx): Likewise.
41216 (libc_feupdateenv_sse_ctx): Likewise.
41217 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41218 (libc_feholdexcept_setround_387_ctx): Likewise.
41219 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41220 (libc_feholdsetround_387_prec_ctx): Likewise.
41221 (libc_feholdsetround_387_ctx): Likewise.
41222 (libc_feholdsetround_387_53bit_ctx): Likewise.
41223 (libc_feholdsetround_sse_ctx): Likewise.
41224 (libc_feresetround_sse_ctx): Likewise.
41225 (libc_feresetround_387_ctx): Likewise.
41226 (libc_feupdateenv_387_ctx): Likewise.
41227 (libc_feholdexcept_setroundf_ctx): Define macro.
41228 (libc_fesetenvf_ctx): Likewise.
41229 (libc_feupdateenvf_ctx): Likewise.
41230 (libc_feholdsetroundf_ctx): Likewise.
41231 (libc_feresetroundf_ctx): Likewise.
41232 (libc_feholdexcept_setround_ctx): Likewise.
41233 (libc_fesetenv_ctx): Likewise.
41234 (libc_feupdateenv_ctx): Likewise.
41235 (libc_feholdsetround_ctx): Likewise.
41236 (libc_feresetround_ctx): Likewise.
41237 (libc_feholdexcept_setroundl_ctx): Likewise.
41238 (libc_feupdateenvl_ctx): Likewise.
41239 (libc_feholdsetroundl_ctx): Likewise.
41240 (libc_feresetroundl_ctx): Likewise.
41241 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41242 (libc_feresetround_53bit_ctx): Likewise.
41243
41244 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41245
41246 * locale/iso-639.def: Convert to UTF-8.
41247
41248 2013-06-11 Joseph Myers <joseph@codesourcery.com>
41249
41250 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41251 (EXCEPTION_TESTS_double): Likewise.
41252 (EXCEPTION_TESTS_long_double): Likewise.
41253 (EXCEPTION_TESTS): Likewise.
41254 * math/libm-test.inc (test_exceptions): Only test exceptions if
41255 EXCEPTION_TESTS (FLOAT).
41256
41257 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41258
41259 * benchtests/Makefile (string-bench): Add strcpy_chk and
41260 stpcpy_chk.
41261 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41262 * benchtests/bench-stpcpy_chk.c: New file.
41263 * benchtests/bench-strcpy_chk-ifunc.c: New file.
41264 * benchtests/bench-strcpy_chk.c: New file.
41265 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41266 code.
41267 (do_test): Likewise.
41268
41269 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41270
41271 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41272 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41273 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41274 with tabs where appropriate.
41275 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41276 dl-procinfo.h.
41277 [PPC_PLATFORM_PPC440]: Likewise.
41278 [PPC_PLATFORM_PPC464]: Likewise.
41279 [PPC_PLATFORM_PPC476]: Likewise.
41280 (_dl_string_platform): Add support for detecting ppc405, ppc440,
41281 ppc464, and ppc476 platform strings merging from ports/
41282 dl-procinfo.h.
41283
41284 2013-06-11 Andreas Schwab <schwab@suse.de>
41285
41286 [BZ #14991]
41287 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41288 (from_ucs4_idx): Regenerate.
41289 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41290 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41291 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41292 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41293 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41294 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41295 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41296 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41297 from FROM_LOOP and TO_LOOP specific macros.
41298 (BODY): Handle combining characters.
41299 * iconvdata/BIG5HKSCS.irreversible: Update.
41300 * iconvdata/BIG5HKSCS.precomposed: New file.
41301 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41302 characters.
41303 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41304
41305 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41306
41307 * include/sys/time.h: Fix indentation and add copyright header.
41308
41309 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41310 (do_test): Likewise.
41311 * string/test-memchr.c (do_one_test): Likewise.
41312 (do_test): Likewise.
41313 * string/test-memcmp.c (do_one_test): Likewise.
41314 (do_test): Likewise.
41315 * string/test-memcpy.c (do_one_test): Likewise.
41316 (do_test): Likewise.
41317 * string/test-memmem.c (do_one_test): Likewise.
41318 (do_test): Likewise.
41319 (do_random_tests): Likewise.
41320 * string/test-memmove.c (do_one_test): Likewise.
41321 (do_test): Likewise.
41322 * string/test-memset.c (do_one_test): Likewise.
41323 (do_test): Likewise.
41324 * string/test-rawmemchr.c (do_one_test): Likewise.
41325 (do_test): Likewise.
41326 * string/test-strcasecmp.c (do_one_test): Likewise.
41327 (do_test): Likewise.
41328 * string/test-strcasestr.c (do_one_test): Likewise.
41329 (do_test): Likewise.
41330 * string/test-strcat.c (do_one_test): Likewise.
41331 (do_test): Likewise.
41332 * string/test-strchr.c (do_one_test): Likewise.
41333 (do_test): Likewise.
41334 * string/test-strcmp.c (do_one_test): Likewise.
41335 (do_test): Likewise.
41336 * string/test-strcpy.c (do_one_test): Likewise.
41337 (do_test): Likewise.
41338 * string/test-string.h: Likewise.
41339 (test_init): Likewise.
41340 * string/test-strlen.c (do_one_test): Likewise.
41341 (do_test): Likewise.
41342 * string/test-strncasecmp.c (do_one_test): Likewise.
41343 (do_test): Likewise.
41344 * string/test-strncat.c (do_one_test): Likewise.
41345 (do_test): Likewise.
41346 * string/test-strncmp.c (do_one_test): Likewise.
41347 (do_test_limit): Likewise.
41348 (do_test): Likewise.
41349 * string/test-strncpy.c (do_one_test): Likewise.
41350 (do_test): Likewise.
41351 * string/test-strnlen.c (do_one_test): Likewise.
41352 (do_test): Likewise.
41353 * string/test-strpbrk.c (do_one_test): Likewise.
41354 (do_test): Likewise.
41355 * string/test-strrchr.c (do_one_test): Likewise.
41356 (do_test): Likewise.
41357 * string/test-strspn.c (do_one_test): Likewise.
41358 (do_test): Likewise.
41359 * string/test-strstr.c (do_one_test): Likewise.
41360 (do_test): Likewise.
41361
41362 * benchtests/Makefile (string-bench): Add string benchmarks.
41363 * benchtests/bench-bcopy-ifunc.c: New file.
41364 * benchtests/bench-bcopy.c: New file.
41365 * benchtests/bench-bzero-ifunc.c: New file.
41366 * benchtests/bench-bzero.c: New file.
41367 * benchtests/bench-memccpy-ifunc.c: New file.
41368 * benchtests/bench-memccpy.c: New file.
41369 * benchtests/bench-memchr-ifunc.c: New file.
41370 * benchtests/bench-memchr.c: New file.
41371 * benchtests/bench-memcmp-ifunc.c: New file.
41372 * benchtests/bench-memcmp.c: New file.
41373 * benchtests/bench-memmem-ifunc.c: New file.
41374 * benchtests/bench-memmem.c: New file.
41375 * benchtests/bench-memmove-ifunc.c: New file.
41376 * benchtests/bench-memmove.c: New file.
41377 * benchtests/bench-mempcpy-ifunc.c: New file.
41378 * benchtests/bench-mempcpy.c: New file.
41379 * benchtests/bench-memset-ifunc.c: New file.
41380 * benchtests/bench-memset.c: New file.
41381 * benchtests/bench-rawmemchr-ifunc.c: New file.
41382 * benchtests/bench-rawmemchr.c: New file.
41383 * benchtests/bench-stpcpy-ifunc.c: New file.
41384 * benchtests/bench-stpcpy.c: New file.
41385 * benchtests/bench-stpncpy-ifunc.c: New file.
41386 * benchtests/bench-stpncpy.c: New file.
41387 * benchtests/bench-strcasecmp-ifunc.c: New file.
41388 * benchtests/bench-strcasecmp.c: New file.
41389 * benchtests/bench-strcasestr-ifunc.c: New file.
41390 * benchtests/bench-strcasestr.c: New file.
41391 * benchtests/bench-strcat-ifunc.c: New file.
41392 * benchtests/bench-strcat.c: New file.
41393 * benchtests/bench-strchr-ifunc.c: New file.
41394 * benchtests/bench-strchr.c: New file.
41395 * benchtests/bench-strchrnul-ifunc.c: New file.
41396 * benchtests/bench-strchrnul.c: New file.
41397 * benchtests/bench-strcmp-ifunc.c: New file.
41398 * benchtests/bench-strcmp.c: New file.
41399 * benchtests/bench-strcpy-ifunc.c: New file.
41400 * benchtests/bench-strcpy.c: New file.
41401 * benchtests/bench-strcspn-ifunc.c: New file.
41402 * benchtests/bench-strcspn.c: New file.
41403 * benchtests/bench-strlen-ifunc.c: New file.
41404 * benchtests/bench-strlen.c: New file.
41405 * benchtests/bench-strncasecmp-ifunc.c: New file.
41406 * benchtests/bench-strncasecmp.c: New file.
41407 * benchtests/bench-strncat-ifunc.c: New file.
41408 * benchtests/bench-strncat.c: New file.
41409 * benchtests/bench-strncmp-ifunc.c: New file.
41410 * benchtests/bench-strncmp.c: New file.
41411 * benchtests/bench-strncpy-ifunc.c: New file.
41412 * benchtests/bench-strncpy.c: New file.
41413 * benchtests/bench-strnlen-ifunc.c: New file.
41414 * benchtests/bench-strnlen.c: New file.
41415 * benchtests/bench-strpbrk-ifunc.c: New file.
41416 * benchtests/bench-strpbrk.c: New file.
41417 * benchtests/bench-strrchr-ifunc.c: New file.
41418 * benchtests/bench-strrchr.c: New file.
41419 * benchtests/bench-strspn-ifunc.c: New file.
41420 * benchtests/bench-strspn.c: New file.
41421 * benchtests/bench-strstr-ifunc.c: New file.
41422 * benchtests/bench-strstr.c: New file.
41423
41424 * benchtests/Makefile: Disable parallel execution of targets.
41425 (string-bench): Add memcpy.
41426 (benchset): New variable to store a list of benchmark sets.
41427 (bench-func): Renamed from bench.
41428 (bench-set): New target.
41429 (bench): Depend on bench-func and bench-set.
41430 * benchtests/README: Add section on benchmark sets.
41431 * benchtests/bench-memcpy-ifunc.c: New file.
41432 * benchtests/bench-memcpy.c: New file.
41433 * benchtests/bench-string.h: New file.
41434
41435 2013-06-11 Andreas Schwab <schwab@suse.de>
41436
41437 [BZ #15577]
41438 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41439 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41440 values in the triple.
41441 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41442 terminator in the group key.
41443
41444 2013-06-11 Andreas Jaeger <aj@suse.de>
41445
41446 * po/zh_TW.po: Update Chinese (traditional) translation from
41447 translation project.
41448
41449 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41450
41451 * include/time.h (__clock_gettime): Add libc_hidden_proto.
41452 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41453 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
41454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41455 (clock_getcpuclockid): Likewise.
41456 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41457 Add weak_alias and libc_hidden_def.
41458 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41459 * rt/clock_gettime.c (clock_gettime): Rename to
41460 __clock_gettime. Add weak_alias and libc_hidden_def.
41461 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41462 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41463 __clock_nanosleep. Add weak_alias and libc_hidden_def.
41464 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41465 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41466 Likewise.
41467 * rt/clock_settime.c (clock_settime): Rename to
41468 __clock_settime. Add weak_alias and libc_hidden_def.
41469 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41470
41471 2013-06-10 Joseph Myers <joseph@codesourcery.com>
41472
41473 * mach/err_boot.sub: Remove trailing whitespace.
41474 * mach/err_ipc.sub: Likewise.
41475 * mach/err_mach.sub: Likewise.
41476
41477 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41478 (ROUNDING_TESTS_double): Likewise.
41479 (ROUNDING_TESTS_long_double): Likewise.
41480 (ROUNDING_TESTS): Likewise.
41481 * math/libm-test.inc: Include <math-tests.h>.
41482 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41483 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41484 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41485 (IF_ROUND_INIT_FE_UPWARD): Likewise.
41486
41487 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41488
41489 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41490 of assigning.
41491
41492 2013-06-08 Joseph Myers <joseph@codesourcery.com>
41493
41494 * sysdeps/gnu/errlist.awk: Do not generate space at end of
41495 otherwise empty TRANS lines.
41496 * sysdeps/gnu/errlist.c: Regenerated.
41497
41498 * catgets/gencat.c (error_print): Use (void) in function
41499 definition.
41500 * crypt/crypt_util.c (__init_des): Likewise.
41501 * crypt/speeds.c (Stop): Likewise.
41502 (main): Likewise.
41503 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41504 * inet/ruserpass.c (token): Likewise.
41505 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41506 * intl/localealias.c (extend_alias_table): Likewise.
41507 * intl/plural-exp.c (init_germanic_plural): Likewise.
41508 * libio/fcloseall.c (__fcloseall): Likewise.
41509 * libio/genops.c (_IO_flush_all): Likewise.
41510 (_IO_flush_all_linebuffered): Likewise.
41511 (_IO_cleanup): Likewise.
41512 (_IO_iter_begin): Likewise.
41513 (_IO_iter_end): Likewise.
41514 (_IO_list_lock): Likewise.
41515 (_IO_list_unlock): Likewise.
41516 (_IO_list_resetlock): Likewise.
41517 * libio/getchar.c (getchar): Likewise.
41518 * libio/getchar_u.c (getchar_unlocked): Likewise.
41519 * libio/getwchar.c (getwchar): Likewise.
41520 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41521 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41522 * login/getpt.c (__getpt): Likewise.
41523 * login/tst-utmp.c (main): Likewise.
41524 * malloc/hooks.c (__malloc_check_init): Likewise.
41525 * malloc/malloc.c (__malloc_stats): Likewise.
41526 * malloc/mtrace.c (tr_break): Likewise.
41527 (mtrace): Likewise.
41528 (muntrace): Likewise.
41529 * misc/fstab.c (endfsent): Likewise.
41530 * misc/getclktck.c (__getclktck): Likewise.
41531 * misc/getdtsz.c (__getdtablesize): Likewise.
41532 * misc/gethostid.c (gethostid): Likewise.
41533 * misc/getpagesize.c (__getpagesize): Likewise.
41534 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41535 (__get_nprocs): Likewise.
41536 (__get_phys_pages): Likewise.
41537 (__get_avphys_pages): Likewise.
41538 * misc/getttyent.c (getttyent): Likewise.
41539 (setttyent): Likewise.
41540 (endttyent): Likewise.
41541 * misc/getusershell.c (getusershell): Likewise.
41542 (endusershell): Likewise.
41543 (setusershell): Likewise.
41544 (initshells): Likewise.
41545 * misc/hsearch.c (__hdestroy): Likewise.
41546 * misc/sync.c (sync): Likewise.
41547 * misc/syslog.c (closelog_internal): Likewise.
41548 (closelog): Likewise.
41549 * misc/ttyslot.c (ttyslot): Likewise.
41550 * misc/vhangup.c (vhangup): Likewise.
41551 * posix/fork.c (__fork): Likewise.
41552 * posix/getegid.c (__getegid): Likewise.
41553 * posix/geteuid.c (__geteuid): Likewise.
41554 * posix/getgid.c (__getgid): Likewise.
41555 * posix/getpid.c (__getpid): Likewise.
41556 * posix/getppid.c (__getppid): Likewise.
41557 * posix/getuid.c (__getuid): Likewise.
41558 * posix/pause.c (pause): Likewise.
41559 * posix/setpgrp.c (setpgrp): Likewise.
41560 * posix/setsid.c (__setsid): Likewise.
41561 * posix/test-vfork.c (noop): Likewise.
41562 * resolv/gethnamaddr.c (_endhtent): Likewise.
41563 (_gethtent): Likewise.
41564 (ht_endhostent): Likewise.
41565 (gethostent): Likewise.
41566 (dns_service): Likewise.
41567 * stdlib/drand48.c (drand48): Likewise.
41568 * stdlib/lrand48.c (lrand48): Likewise.
41569 * stdlib/mrand48.c (mrand48): Likewise.
41570 * stdlib/rand.c (rand): Likewise.
41571 * stdlib/random.c (__random): Likewise.
41572 * stdlib/setenv.c (clearenv): Likewise.
41573 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41574 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41575 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41576 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41577 (__get_nprocs): Likewise.
41578 (__get_phys_pages): Likewise.
41579 (__get_avphys_pages): Likewise.
41580 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41581 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41582 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41583 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41584 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41585 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41586 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41587 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41588 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41589 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41590 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41591 * sysdeps/mach/hurd/sync.c (sync): Likewise.
41592 * sysdeps/posix/clock.c (clock): Likewise.
41593 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41594 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41595 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41596 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41597 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41599 (__get_nprocs_conf): Likewise.
41600 (__get_phys_pages): Likewise.
41601 (__get_avphys_pages): Likewise.
41602 * time/clock.c (clock): Likewise.
41603 * time/tzset.c (__tzname_max): Likewise.
41604
41605 2013-06-07 Joseph Myers <joseph@codesourcery.com>
41606
41607 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41608 (__bswap_32): Do not use "register".
41609 * crypt/crypt.c (_ufc_doit_r): Likewise.
41610 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41611 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41612 * gmon/gmon.c (__monstartup): Likewise.
41613 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41614 * hurd/hurdmalloc.c (more_memory): Likewise.
41615 (malloc): Likewise.
41616 (free): Likewise.
41617 (realloc): Likewise.
41618 (malloc_fork_prepare): Likewise.
41619 (malloc_fork_parent): Likewise.
41620 (malloc_fork_child): Likewise.
41621 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41622 (_svcauth_des): Likewise.
41623 * inet/inet_lnaof.c (inet_lnaof): Likewise.
41624 * inet/inet_net.c (inet_network): Likewise.
41625 * inet/inet_netof.c (inet_netof): Likewise.
41626 * inet/rcmd.c (__validuser2_sa): Likewise.
41627 * io/fts.c (fts_open): Likewise.
41628 (fts_load): Likewise.
41629 (fts_close): Likewise.
41630 (fts_read): Likewise.
41631 (fts_children): Likewise.
41632 (fts_build): Likewise.
41633 (fts_stat): Likewise.
41634 (fts_sort): Likewise.
41635 (fts_alloc): Likewise.
41636 (fts_lfree): Likewise.
41637 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41638 (_IO_file_xsgetn): Likewise.
41639 (_IO_file_xsgetn_mmap): Likewise.
41640 * libio/iofopncook.c (_IO_cookie_read): Likewise.
41641 (_IO_cookie_write): Likewise.
41642 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41643 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41644 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41645 * malloc/obstack.c (_obstack_begin): Likewise.
41646 (_obstack_begin_1): Likewise.
41647 (_obstack_newchunk): Likewise.
41648 (_obstack_allocated_p): Likewise.
41649 (obstack_free): Likewise.
41650 (_obstack_memory_used): Likewise.
41651 * misc/getttyent.c (getttynam): Likewise.
41652 (getttyent): Likewise.
41653 (skip): Likewise.
41654 (value): Likewise.
41655 * misc/getusershell.c (initshells): Likewise.
41656 * misc/syslog.c (__vsyslog_chk): Likewise.
41657 * misc/ttyslot.c (ttyslot): Likewise.
41658 * nis/nis_hash.c (__nis_hash): Likewise.
41659 * posix/fnmatch_loop.c (FCT): Likewise.
41660 * posix/getconf.c (print_all): Likewise.
41661 (main): Likewise.
41662 * posix/getopt.c (exchange): Likewise.
41663 * posix/glob.c (globfree): Likewise.
41664 (prefix_array): Likewise.
41665 (__glob_pattern_type): Likewise.
41666 * resolv/arpa/nameser.h (NS_GET16): Likewise.
41667 (NS_GET32): Likewise.
41668 (NS_PUT16): Likewise.
41669 (NS_PUT32): Likewise.
41670 * resolv/gethnamaddr.c (getanswer): Likewise.
41671 (gethostbyname2): Likewise.
41672 (gethostbyaddr): Likewise.
41673 (_gethtent): Likewise.
41674 (_gethtbyname2): Likewise.
41675 (_gethtbyaddr): Likewise.
41676 * resolv/ns_print.c (dst_s_get_int16): Likewise.
41677 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41678 * resolv/res_init.c (__res_vinit): Likewise.
41679 (net_mask): Likewise.
41680 * resolv/res_mkquery.c (outchar): Likewise.
41681 (PRINT): Likewise.
41682 * stdio-common/printf_fp.c (outchar): Likewise.
41683 (PRINT): Likewise.
41684 * stdio-common/printf_fphex.c (outchar): Likewise.
41685 (PRINT): Likewise.
41686 * stdio-common/printf_size.c (outchar): Likewise.
41687 (PRINT): Likewise.
41688 * stdio-common/test_rdwr.c (main): Likewise.
41689 * stdio-common/tfformat.c (matches): Likewise.
41690 * stdio-common/vfprintf.c (outchar): Likewise.
41691 (printf_unknown): Likewise.
41692 (buffered_vfprintf): Likewise.
41693 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41694 * stdio-common/xbug.c (AppendToBuffer): Likewise.
41695 (ReadFile): Likewise.
41696 * stdlib/qsort.c (SWAP): Likewise.
41697 (_quicksort): Likewise.
41698 * stdlib/setenv.c (__add_to_environ): Likewise.
41699 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41700 * stdlib/strtol_l.c (__strtol_l): Likewise.
41701 * stdlib/tst-strtod.c (main): Likewise.
41702 * stdlib/tst-strtol.c (main): Likewise.
41703 * stdlib/tst-strtoll.c (main): Likewise.
41704 * string/bits/string2.h (__strcmp_cc): Likewise.
41705 (__strcmp_cg): Likewise.
41706 (__strcspn_c1): Likewise.
41707 (__strcspn_c2): Likewise.
41708 (__strcspn_c3): Likewise.
41709 (__strspn_c1): Likewise.
41710 (__strspn_c2): Likewise.
41711 (__strspn_c3): Likewise.
41712 (__strsep_1c): Likewise.
41713 (__strsep_2c): Likewise.
41714 (__strsep_3c): Likewise.
41715 * string/memccpy.c (__memccpy): Likewise.
41716 * string/stpcpy.c (__stpcpy): Likewise.
41717 * string/strcmp.c (strcmp): Likewise.
41718 * string/strrchr.c (strrchr): Likewise.
41719 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41720 Likewise.
41721 * sysdeps/mach/hurd/getcwd.c
41722 (_hurd_canonicalize_directory_name_internal): Likewise.
41723 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41724 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41725 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41726 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41727 Likewise, in both definitions.
41728 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41729 definitions.
41730 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41731 64] (__bswap_64): Likewise.
41732 * time/test_time.c (main): Likewise.
41733 * time/tzfile.c (__tzfile_read): Likewise.
41734 (__tzfile_compute): Likewise.
41735 * time/tzset.c (__tzset_parse_tz): Likewise.
41736 (tzset_internal): Likewise.
41737 (compute_change): Likewise.
41738 * wcsmbs/wcscat.c (__wcscat): Likewise.
41739 * wcsmbs/wcschr.c (wcschr): Likewise.
41740 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41741 * wcsmbs/wcscspn.c (wcscspn): Likewise.
41742 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41743 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41744 * wcsmbs/wcsspn.c (wcsspn): Likewise.
41745 * wcsmbs/wcsstr.c (wcsstr): Likewise.
41746 * wcsmbs/wmemchr.c (wmemchr): Likewise.
41747 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41748 * wcsmbs/wmemset.c (wmemset): Likewise.
41749
41750 2013-06-06 Joseph Myers <joseph@codesourcery.com>
41751
41752 * scripts/config.guess: Update to version 2013-05-16.
41753 * scripts/config.sub: Update to version 2013-04-24.
41754 * scripts/install-sh: Update to version 2011-11-20.07.
41755 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41756 * scripts/move-if-change: Update to version 2012-01-06 07:23.
41757
41758 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
41759
41760 * debug/fgetws_u_chk.c: Fix leading whitespaces.
41761 * elf/sln.c: Likewise.
41762 * hurd/hurd/ioctl.h: Likewise.
41763 * hurd/hurdmalloc.c: Likewise.
41764 * hurd/xattr.c: Likewise.
41765 * include/shlib-compat.h: Likewise.
41766 * inet/ruserpass.c: Likewise.
41767 * libio/iofgets_u.c: Likewise.
41768 * libio/iofgetws_u.c: Likewise.
41769 * locale/programs/ld-identification.c: Likewise.
41770 * locale/programs/ld-time.c: Likewise.
41771 * mach/msg-destroy.c: Likewise.
41772 * nss/nss_files/files-netgrp.c: Likewise.
41773 * resolv/res_data.c: Likewise.
41774 * soft-fp/op-1.h: Likewise.
41775 * soft-fp/op-2.h: Likewise.
41776 * soft-fp/op-4.h: Likewise.
41777 * soft-fp/op-common.h: Likewise.
41778 * stdio-common/printf_fphex.c: Likewise.
41779 * stdlib/strtod_l.c: Likewise.
41780 * sunrpc/rpc/clnt.h: Likewise.
41781 * sysdeps/generic/framestate.c: Likewise.
41782 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41783 * sysdeps/i386/bsd-setjmp.S: Likewise.
41784 * sysdeps/i386/__longjmp.S: Likewise.
41785 * sysdeps/i386/setjmp.S: Likewise.
41786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41787 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41788 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41789 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41791 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41792 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41795 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41796 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41797 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41798 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41799 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41800 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41801 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41802 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41803 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41804 * sysdeps/ieee754/support.c: Likewise.
41805 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41806 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41807 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41808 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41809 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41810 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41811 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41812 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41813 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41814 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41815 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41816 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41817 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41818 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41819 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41820 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41821 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41823
41824 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
41825
41826 * posix/transbug.c: Remove executable mode.
41827
41828 2013-06-05 Joseph Myers <joseph@codesourcery.com>
41829
41830 * crypt/speeds.c: Remove trailing whitespace.
41831 * dlfcn/default.c: Likewise.
41832 * elf/ifuncdep2.c: Likewise.
41833 * elf/ifuncmain1.c: Likewise.
41834 * elf/ifuncmain1vis.c: Likewise.
41835 * elf/testobj.h: Likewise.
41836 * elf/tst-stackguard1.c: Likewise.
41837 * gmon/sys/gmon.h: Likewise.
41838 * hurd/hurdmsg.c: Likewise.
41839 * hurd/new-fd.c: Likewise.
41840 * hurd/ports-get.c: Likewise.
41841 * iconvdata/ibm1008_420.c: Likewise.
41842 * inet/tst-getni1.c: Likewise.
41843 * inet/tst-getni2.c: Likewise.
41844 * libio/ioungetc.c: Likewise.
41845 * libio/wfiledoalloc.c: Likewise.
41846 * manual/libm-err-tab.pl: Likewise.
41847 * math/w_dremf.c: Likewise.
41848 * misc/ftruncate.c: Likewise.
41849 * posix/bug-glob2.c: Likewise.
41850 * posix/tst-pcre.c: Likewise.
41851 * posix/wait4.c: Likewise.
41852 * resolv/README: Likewise.
41853 * resolv/res_debug.h: Likewise.
41854 * resolv/tst-inet_ntop.c: Likewise.
41855 * setjmp/bug269-setjmp.c: Likewise.
41856 * soft-fp/extended.h: Likewise.
41857 * soft-fp/op-1.h: Likewise.
41858 * soft-fp/op-2.h: Likewise.
41859 * soft-fp/op-4.h: Likewise.
41860 * soft-fp/op-8.h: Likewise.
41861 * soft-fp/testit.c: Likewise.
41862 * stdio-common/bug16.c: Likewise.
41863 * stdlib/random.c: Likewise.
41864 * sunrpc/rpcsvc/rquota.x: Likewise.
41865 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41866 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41868 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41869 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41870 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41871 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41872 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41873 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41874 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41875 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41876 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41877 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41878 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41879 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41880 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41881 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41882 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41883 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41884 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41885 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41886 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41887 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41890 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41891 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41892 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41893 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41894 * sysdeps/ieee754/s_lib_version.c: Likewise.
41895 * sysdeps/mach/hurd/check_fds.c: Likewise.
41896 * sysdeps/mach/hurd/getsockname.c: Likewise.
41897 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41898 * sysdeps/mach/hurd/recvfrom.c: Likewise.
41899 * sysdeps/powerpc/bits/link.h: Likewise.
41900 * sysdeps/powerpc/dl-procinfo.c: Likewise.
41901 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41902 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41903 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41904 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41905 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41906 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41907 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41908 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41909 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41910 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41911 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41912 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41913 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41914 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41915 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41916 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41918 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41919 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41920 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41921 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41922 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41923 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41924 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41925 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41926 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41927 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41928 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41929 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41930 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41931 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41932 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41933 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41934 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41935 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41936 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41937 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41938 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41939 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41940 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41941 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41942 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41943 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41944 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41945 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41946 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41947 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41948 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41949 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41950 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41951 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41952 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41953 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41954 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41955 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41956 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41957 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41958 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41959 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41960 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41961 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41962 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41963 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41964 * sysdeps/powerpc/sysdep.h: Likewise.
41965 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41966 * sysdeps/s390/s390-64/sub_n.S: Likewise.
41967 * sysdeps/sh/dl-trampoline.S: Likewise.
41968 * sysdeps/sh/memset.S: Likewise.
41969 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41970 * sysdeps/sh/strlen.S: Likewise.
41971 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41972 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41973 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41974 * sysdeps/sparc/sparc32/rem.S: Likewise.
41975 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41976 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41977 * sysdeps/sparc/sparc32/strchr.S: Likewise.
41978 * sysdeps/sparc/sparc32/udiv.S: Likewise.
41979 * sysdeps/sparc/sparc32/urem.S: Likewise.
41980 * sysdeps/sparc/sparc64/add_n.S: Likewise.
41981 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41982 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41983 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41984 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41985 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41986 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41987 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41988 * sysdeps/unix/bsd/times.c: Likewise.
41989 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41990 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41994 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41995 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41996 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41997 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41998 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41999 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42000 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42001 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42002 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42003 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42004 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42005 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42006 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42007 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42008 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42009 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42010 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42011 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42012 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42013 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42014 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42015 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42016 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42017 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42018 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42019 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42020 * sysdeps/x86_64/strcspn.S: Likewise.
42021
42022 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42023
42024 * locale/C-translit.h: Revert #include <stdint.h> because this is a
42025 generated file. Regenerate properly from gen-translit.pl.
42026 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
42027 locale/C-translit.h.
42028
42029 2013-06-05 Andreas Schwab <schwab@suse.de>
42030
42031 [BZ #15100]
42032 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42033 week as 6 instead of -1.
42034 * time/tst-strptime.c (day_tests): Add test case.
42035
42036 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42037
42038 * sysdeps/generic/math_private.h
42039 (libc_feholdexcept_setround_53bit): Replace with
42040 libc_feholdsetround_53bit.
42041 (libc_feupdateenv_53bit): Replace with
42042 libc_feresetround_53bit.
42043 (SET_RESTORE_ROUND_53BIT): Adjust.
42044
42045 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42046
42047 * string/test-strchrnul.c: Add copyright header.
42048
42049 * posix/tst-getaddrinfo4.c: Increase test timeout.
42050
42051 2013-06-03 Carlos O'Donell <carlos@redhat.com>
42052
42053 [BZ #15536]
42054 * math/libm-test.inc (MAX_EXP): Remove
42055 (MIN_EXP): Define.
42056 (ulp): Use MIN_EXP - MANT_DIG.
42057 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42058
42059 2013-05-31 Carlos O'Donell <carlos@redhat.com>
42060
42061 * po/be.po: Revert last change.
42062 * po/zh_CN.po: Likewise.
42063 * po/header.pot: Likewise.
42064
42065 2013-05-31 Joseph Myers <joseph@codesourcery.com>
42066
42067 * Makefile ($(common-objpfx)linkobj/libc.so): Define
42068 link-libc-deps to empty as target-specific variable.
42069 * Makerules (link-libc-args): New variable.
42070 (libc-for-link): Likewise.
42071 (link-libc-deps): Likewise.
42072 (lib%.so): Depend on $(link-libc-deps). Link with
42073 $(link-libc-args).
42074 (build-module): Link with $(link-libc-args).
42075 (build-module-asneeded): Likewise.
42076 (build-module-helper-objlist): Filter out $(link-libc-deps) from
42077 list of objects.
42078 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42079 target-specific variable.
42080 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42081 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42082 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42083 libc.
42084 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42085 libc and ld.so.
42086 ($(objpfx)libpcprofile.so): Likewise.
42087 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42088 libc_nonshared.a.
42089 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42090 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42091 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42092 $(link-libc-deps).
42093 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42094 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42095 * login/Makefile ($(objpfx)libutil.so): Likewise.
42096 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42097 * math/Makefile ($(objpfx)libm.so): Likewise.
42098 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42099 $(objpfx)libnsl.so): Define libc-for-link as target-specific
42100 variable instead of depending directly on libc.
42101 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42102 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42103 $(link-libc-deps).
42104 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42105 libc.
42106 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42107 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42108 ($(objpfx)libanl.so): Likewise.
42109 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42110 ld.so.
42111 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42112 $(link-libc-deps).
42113 * sysdeps/i386/fpu/Makefile: Remove file.
42114 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42115 ($(objpfx)libm.so): Remove dependency on ld.so.
42116
42117 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
42118
42119 [BZ # 15553]
42120 * nis/yp_xdr.c (XDRMAXNAME): Define.
42121 (XDRMAXRECORD): Define.
42122 (xdr_domainname): Use XDRMAXNAME.
42123 (xdr_mapname): Likewise.
42124 (xdr_peername): Likewise.
42125 (xdr_keydat): Use XDRMAXRECORD.
42126 (xdr_valdat): Likewise.
42127
42128 2013-05-30 Jeff Law <law@redhat.com>
42129
42130 [BZ #14256]
42131 * manual/errno.texi (ESTALE): Update to account for more than
42132 just NFS file systems.
42133 * sysdeps/gnu/errlist.c: Regenerated.
42134
42135 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42136
42137 [BZ #15465]
42138 * elf/Makefile (tests): Add tst-null-argv.
42139 (modules-names): Add tst-null-argv-lib.
42140 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42141 (tst-null-argv-ENV): Set environment for tst-null-argv.
42142 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42143 (RTLD_PROGNAME): New macro.
42144 * elf/tst-null-argv.c: New test case.
42145 * elf/tst-null-argv-lib.c: Library for test case.
42146 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42147 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42148 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42149 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42150 * elf/dl-init.c (call_init): Likewise.
42151 (_dl_init): Likewise.
42152 * elf/dl-load.c (print_search_path): Likewise.
42153 (_dl_map_object): Likewise.
42154 * elf/dl-lookup.c (do_lookup_x): Likewise.
42155 (add_dependency): Likewise.
42156 (_dl_lookup_symbol_x): Likewise.
42157 (_dl_debug_bindings): Likewise.
42158 * elf/dl-open.c (_dl_show_scope): Likewise.
42159 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42160 * elf/dl-version.c (match_symbol): Likewise.
42161 (_dl_check_map_versions): Likewise.
42162 * elf/rtld.c (dl_main): Likewise.
42163 (print_unresolved): Use RTLD_PROGNAME.
42164 (print_missing_version): Likewise.
42165 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42166 (elf_machine_rela): Likewise.
42167 * sysdeps/powerpc/powerpc32/dl-machine.c
42168 (__process_machine_rela): Likewise.
42169 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42170 Likewise.
42171 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42172 Likewise.
42173 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42174 Likewise.
42175 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42176 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42177 Likewise.
42178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42179 Likewise.
42180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42181
42182 2013-05-28 Carlos O'Donell <carlos@redhat.com>
42183
42184 * po/be.po: Add descriptive title.
42185 * po/zh_CN.po: Likewise.
42186 * po/header.pot: Likewise.
42187
42188 2013-05-28 Mike Frysinger <vapier@gentoo.org>
42189
42190 * locale/programs/locarchive.c (create_archive): Inlucde fname in
42191 error message.
42192 (enlarge_archive): Likewise.
42193
42194 2013-05-28 Ben North <ben@redfrontdoor.org>
42195
42196 * manual/arith.texi (frexp): It is the magnitude of the return
42197 value which lies in [0.5, 1), not the return value itself.
42198
42199 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42200
42201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42202
42203 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
42204
42205 * stdio-common/bug26.c (main): Correct fscanf template.
42206
42207 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42208 declare _dl_skip_args.
42209
42210 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42211 Don't declare.
42212
42213 * manual/platform.texi: Add missing @end deftypefun.
42214
42215 2013-05-24 Joseph Myers <joseph@codesourcery.com>
42216
42217 [BZ #15529]
42218 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42219 bit of mantissa of 2^16382.
42220 * math/libm-test.inc (hypot_test_data): Add more tests.
42221
42222 * math/libm-test.inc: Add drem and pow10 to list of tested
42223 functions.
42224 (pow10_test): New function.
42225 (drem_test): Likewise.
42226 (drem_test_tonearest): Likewise.
42227 (drem_test_towardzero): Likewise.
42228 (drem_test_downward): Likewise.
42229 (drem_test_upward): Likewise.
42230 (main): Call the new functions.
42231
42232 * math/libm-test.inc (finite_test_data): Remove.
42233 (finite_test): Run tests from isfinite_test_data.
42234 (gamma_test_data): Remove.
42235 (gamma_test): Run tests from lgamma_test_data.
42236 * sysdeps/i386/fpu/libm-test-ulps: Update.
42237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42238
42239 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42240
42241 * manual/platform.texi: Add PowerPC PPR function set documentation.
42242 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42243 implementation.
42244
42245 2013-05-24 Carlos O'Donell <carlos@redhat.com>
42246
42247 * math/libm-test.inc (MAX_EXP): Define.
42248 (ULPDIFF): Define.
42249 (ulp): New function.
42250 (check_float_internal): Use ULPDIFF.
42251 (cpow_test): Disable failing test.
42252 (check_ulp): Test ulp() implemetnation.
42253 (main): Call check_ulp before starting tests.
42254
42255 2013-05-24 Joseph Myers <joseph@codesourcery.com>
42256
42257 * math/gen-libm-test.pl (generate_testfile): Do not handle
42258 START_DATA and END_DATA.
42259 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42260 END_DATA.
42261 (acos_tonearest_test_data): Likewise.
42262 (acos_towardzero_test_data): Likewise.
42263 (acos_downward_test_data): Likewise.
42264 (acos_upward_test_data): Likewise.
42265 (acosh_test_data): Likewise.
42266 (asin_test_data): Likewise.
42267 (asin_tonearest_test_data): Likewise.
42268 (asin_towardzero_test_data): Likewise.
42269 (asin_downward_test_data): Likewise.
42270 (asin_upward_test_data): Likewise.
42271 (asinh_test_data): Likewise.
42272 (atan_test_data): Likewise.
42273 (atanh_test_data): Likewise.
42274 (atan2_test_data): Likewise.
42275 (cabs_test_data): Likewise.
42276 (cacos_test_data): Likewise.
42277 (cacosh_test_data): Likewise.
42278 (carg_test_data): Likewise.
42279 (casin_test_data): Likewise.
42280 (casinh_test_data): Likewise.
42281 (catan_test_data): Likewise.
42282 (catanh_test_data): Likewise.
42283 (cbrt_test_data): Likewise.
42284 (ccos_test_data): Likewise.
42285 (ccosh_test_data): Likewise.
42286 (ceil_test_data): Likewise.
42287 (cexp_test_data): Likewise.
42288 (cimag_test_data): Likewise.
42289 (clog_test_data): Likewise.
42290 (clog10_test_data): Likewise.
42291 (conj_test_data): Likewise.
42292 (copysign_test_data): Likewise.
42293 (cos_test_data): Likewise.
42294 (cos_tonearest_test_data): Likewise.
42295 (cos_towardzero_test_data): Likewise.
42296 (cos_downward_test_data): Likewise.
42297 (cos_upward_test_data): Likewise.
42298 (cosh_test_data): Likewise.
42299 (cosh_tonearest_test_data): Likewise.
42300 (cosh_towardzero_test_data): Likewise.
42301 (cosh_downward_test_data): Likewise.
42302 (cosh_upward_test_data): Likewise.
42303 (cpow_test_data): Likewise.
42304 (cproj_test_data): Likewise.
42305 (creal_test_data): Likewise.
42306 (csin_test_data): Likewise.
42307 (csinh_test_data): Likewise.
42308 (csqrt_test_data): Likewise.
42309 (ctan_test_data): Likewise.
42310 (ctan_tonearest_test_data): Likewise.
42311 (ctan_towardzero_test_data): Likewise.
42312 (ctan_downward_test_data): Likewise.
42313 (ctan_upward_test_data): Likewise.
42314 (ctanh_test_data): Likewise.
42315 (ctanh_tonearest_test_data): Likewise.
42316 (ctanh_towardzero_test_data): Likewise.
42317 (ctanh_downward_test_data): Likewise.
42318 (ctanh_upward_test_data): Likewise.
42319 (erf_test_data): Likewise.
42320 (erfc_test_data): Likewise.
42321 (exp_test_data): Likewise.
42322 (exp_tonearest_test_data): Likewise.
42323 (exp_towardzero_test_data): Likewise.
42324 (exp_downward_test_data): Likewise.
42325 (exp_upward_test_data): Likewise.
42326 (exp10_test_data): Likewise.
42327 (exp2_test_data): Likewise.
42328 (expm1_test_data): Likewise.
42329 (fabs_test_data): Likewise.
42330 (fdim_test_data): Likewise.
42331 (finite_test_data): Likewise.
42332 (floor_test_data): Likewise.
42333 (fma_test_data): Likewise.
42334 (fma_towardzero_test_data): Likewise.
42335 (fma_downward_test_data): Likewise.
42336 (fma_upward_test_data): Likewise.
42337 (fmax_test_data): Likewise.
42338 (fmin_test_data): Likewise.
42339 (fmod_test_data): Likewise.
42340 (fpclassify_test_data): Likewise.
42341 (frexp_test_data): Likewise.
42342 (gamma_test_data): Likewise.
42343 (hypot_test_data): Likewise.
42344 (ilogb_test_data): Likewise.
42345 (isfinite_test_data): Likewise.
42346 (isgreater_test_data): Likewise.
42347 (isgreaterequal_test_data): Likewise.
42348 (isinf_test_data): Likewise.
42349 (isless_test_data): Likewise.
42350 (islessequal_test_data): Likewise.
42351 (islessgreater_test_data): Likewise.
42352 (isnan_test_data): Likewise.
42353 (isnormal_test_data): Likewise.
42354 (issignaling_test_data): Likewise.
42355 (isunordered_test_data): Likewise.
42356 (j0_test_data): Likewise.
42357 (j1_test_data): Likewise.
42358 (jn_test_data): Likewise.
42359 (ldexp_test_data): Likewise.
42360 (lgamma_test_data): Likewise.
42361 (lrint_test_data): Likewise.
42362 (lrint_tonearest_test_data): Likewise.
42363 (lrint_towardzero_test_data): Likewise.
42364 (lrint_downward_test_data): Likewise.
42365 (lrint_upward_test_data): Likewise.
42366 (llrint_test_data): Likewise.
42367 (llrint_tonearest_test_data): Likewise.
42368 (llrint_towardzero_test_data): Likewise.
42369 (llrint_downward_test_data): Likewise.
42370 (llrint_upward_test_data): Likewise.
42371 (log_test_data): Likewise.
42372 (log10_test_data): Likewise.
42373 (log1p_test_data): Likewise.
42374 (log2_test_data): Likewise.
42375 (logb_test_data): Likewise.
42376 (logb_downward_test_data): Likewise.
42377 (lround_test_data): Likewise.
42378 (llround_test_data): Likewise.
42379 (modf_test_data): Likewise.
42380 (nearbyint_test_data): Likewise.
42381 (nextafter_test_data): Likewise.
42382 (nexttoward_test_data): Likewise.
42383 (pow_test_data): Likewise.
42384 (pow_tonearest_test_data): Likewise.
42385 (pow_towardzero_test_data): Likewise.
42386 (pow_downward_test_data): Likewise.
42387 (pow_upward_test_data): Likewise.
42388 (remainder_test_data): Likewise.
42389 (remainder_tonearest_test_data): Likewise.
42390 (remainder_towardzero_test_data): Likewise.
42391 (remainder_downward_test_data): Likewise.
42392 (remainder_upward_test_data): Likewise.
42393 (remquo_test_data): Likewise.
42394 (rint_test_data): Likewise.
42395 (rint_tonearest_test_data): Likewise.
42396 (rint_towardzero_test_data): Likewise.
42397 (rint_downward_test_data): Likewise.
42398 (rint_upward_test_data): Likewise.
42399 (round_test_data): Likewise.
42400 (scalb_test_data): Likewise.
42401 (scalbn_test_data): Likewise.
42402 (scalbln_test_data): Likewise.
42403 (signbit_test_data): Likewise.
42404 (sin_test_data): Likewise.
42405 (sin_tonearest_test_data): Likewise.
42406 (sin_towardzero_test_data): Likewise.
42407 (sin_downward_test_data): Likewise.
42408 (sin_upward_test_data): Likewise.
42409 (sincos_test_data): Likewise.
42410 (sinh_test_data): Likewise.
42411 (sinh_tonearest_test_data): Likewise.
42412 (sinh_towardzero_test_data): Likewise.
42413 (sinh_downward_test_data): Likewise.
42414 (sinh_upward_test_data): Likewise.
42415 (sqrt_test_data): Likewise.
42416 (tan_test_data): Likewise.
42417 (tan_tonearest_test_data): Likewise.
42418 (tan_towardzero_test_data): Likewise.
42419 (tan_downward_test_data): Likewise.
42420 (tan_upward_test_data): Likewise.
42421 (tanh_test_data): Likewise.
42422 (tgamma_test_data): Likewise.
42423 (trunc_test_data): Likewise.
42424 (y0_test_data): Likewise.
42425 (y1_test_data): Likewise.
42426 (yn_test_data): Likewise.
42427 (significand_test_data): Likewise.
42428
42429 * math/gen-libm-test.pl (@functions): Remove variable.
42430 (generate_testfile): Don't handle START and END lines.
42431 * math/libm-test.inc (START): New macro.
42432 (END): Likewise.
42433 (END_COMPLEX): Likewise.
42434 (acos_test): Use END macro without arguments.
42435 (acos_test_tonearest): Likewise.
42436 (acos_test_towardzero): Likewise.
42437 (acos_test_downward): Likewise.
42438 (acos_test_upward): Likewise.
42439 (acosh_test): Likewise.
42440 (asin_test): Likewise.
42441 (asin_test_tonearest): Likewise.
42442 (asin_test_towardzero): Likewise.
42443 (asin_test_downward): Likewise.
42444 (asin_test_upward): Likewise.
42445 (asinh_test): Likewise.
42446 (atan_test): Likewise.
42447 (atanh_test): Likewise.
42448 (atan2_test): Likewise.
42449 (cabs_test): Likewise.
42450 (cacos_test): Use END_COMPLEX macro without arguments.
42451 (cacosh_test): Likewise.
42452 (carg_test): Use END macro without arguments.
42453 (casin_test): Use END_COMPLEX macro without arguments.
42454 (casinh_test): Likewise.
42455 (catan_test): Likewise.
42456 (catanh_test): Likewise.
42457 (cbrt_test): Use END macro without arguments.
42458 (ccos_test): Use END_COMPLEX macro without arguments.
42459 (ccosh_test): Likewise.
42460 (ceil_test): Use END macro without arguments.
42461 (cexp_test): Use END_COMPLEX macro without arguments.
42462 (cimag_test): Use END macro without arguments.
42463 (clog_test): Use END_COMPLEX macro without arguments.
42464 (clog10_test): Likewise.
42465 (conj_test): Likewise.
42466 (copysign_test): Use END macro without arguments.
42467 (cos_test): Likewise.
42468 (cos_test_tonearest): Likewise.
42469 (cos_test_towardzero): Likewise.
42470 (cos_test_downward): Likewise.
42471 (cos_test_upward): Likewise.
42472 (cosh_test): Likewise.
42473 (cosh_test_tonearest): Likewise.
42474 (cosh_test_towardzero): Likewise.
42475 (cosh_test_downward): Likewise.
42476 (cosh_test_upward): Likewise.
42477 (cpow_test): Use END_COMPLEX macro without arguments.
42478 (cproj_test): Likewise.
42479 (creal_test): Use END macro without arguments.
42480 (csin_test): Use END_COMPLEX macro without arguments.
42481 (csinh_test): Likewise.
42482 (csqrt_test): Likewise.
42483 (ctan_test): Likewise.
42484 (ctan_test_tonearest): Likewise.
42485 (ctan_test_towardzero): Likewise.
42486 (ctan_test_downward): Likewise.
42487 (ctan_test_upward): Likewise.
42488 (ctanh_test): Likewise.
42489 (ctanh_test_tonearest): Likewise.
42490 (ctanh_test_towardzero): Likewise.
42491 (ctanh_test_downward): Likewise.
42492 (ctanh_test_upward): Likewise.
42493 (erf_test): Use END macro without arguments.
42494 (erfc_test): Likewise.
42495 (exp_test): Likewise.
42496 (exp_test_tonearest): Likewise.
42497 (exp_test_towardzero): Likewise.
42498 (exp_test_downward): Likewise.
42499 (exp_test_upward): Likewise.
42500 (exp10_test): Likewise.
42501 (exp2_test): Likewise.
42502 (expm1_test): Likewise.
42503 (fabs_test): Likewise.
42504 (fdim_test): Likewise.
42505 (finite_test): Likewise.
42506 (floor_test): Likewise.
42507 (fma_test): Likewise.
42508 (fma_test_towardzero): Likewise.
42509 (fma_test_downward): Likewise.
42510 (fma_test_upward): Likewise.
42511 (fmax_test): Likewise.
42512 (fmin_test): Likewise.
42513 (fmod_test): Likewise.
42514 (fpclassify_test): Likewise.
42515 (frexp_test): Likewise.
42516 (gamma_test): Likewise.
42517 (hypot_test): Likewise.
42518 (ilogb_test): Likewise.
42519 (isfinite_test): Likewise.
42520 (isgreater_test): Likewise.
42521 (isgreaterequal_test): Likewise.
42522 (isinf_test): Likewise.
42523 (isless_test): Likewise.
42524 (islessequal_test): Likewise.
42525 (islessgreater_test): Likewise.
42526 (isnan_test): Likewise.
42527 (isnormal_test): Likewise.
42528 (issignaling_test): Likewise.
42529 (isunordered_test): Likewise.
42530 (j0_test): Likewise.
42531 (j1_test): Likewise.
42532 (jn_test): Likewise.
42533 (ldexp_test): Likewise.
42534 (lgamma_test): Likewise.
42535 (lrint_test): Likewise.
42536 (lrint_test_tonearest): Likewise.
42537 (lrint_test_towardzero): Likewise.
42538 (lrint_test_downward): Likewise.
42539 (lrint_test_upward): Likewise.
42540 (llrint_test): Likewise.
42541 (llrint_test_tonearest): Likewise.
42542 (llrint_test_towardzero): Likewise.
42543 (llrint_test_downward): Likewise.
42544 (llrint_test_upward): Likewise.
42545 (log_test): Likewise.
42546 (log10_test): Likewise.
42547 (log1p_test): Likewise.
42548 (log2_test): Likewise.
42549 (logb_test): Likewise.
42550 (logb_test_downward): Likewise.
42551 (lround_test): Likewise.
42552 (llround_test): Likewise.
42553 (modf_test): Likewise.
42554 (nearbyint_test): Likewise.
42555 (nextafter_test): Likewise.
42556 (nexttoward_test): Likewise.
42557 (pow_test): Likewise.
42558 (pow_test_tonearest): Likewise.
42559 (pow_test_towardzero): Likewise.
42560 (pow_test_downward): Likewise.
42561 (pow_test_upward): Likewise.
42562 (remainder_test): Likewise.
42563 (remainder_test_tonearest): Likewise.
42564 (remainder_test_towardzero): Likewise.
42565 (remainder_test_downward): Likewise.
42566 (remainder_test_upward): Likewise.
42567 (remquo_test): Likewise.
42568 (rint_test): Likewise.
42569 (rint_test_tonearest): Likewise.
42570 (rint_test_towardzero): Likewise.
42571 (rint_test_downward): Likewise.
42572 (rint_test_upward): Likewise.
42573 (round_test): Likewise.
42574 (scalb_test): Likewise.
42575 (scalbn_test): Likewise.
42576 (scalbln_test): Likewise.
42577 (signbit_test): Likewise.
42578 (sin_test): Likewise.
42579 (sin_test_tonearest): Likewise.
42580 (sin_test_towardzero): Likewise.
42581 (sin_test_downward): Likewise.
42582 (sin_test_upward): Likewise.
42583 (sincos_test): Likewise.
42584 (sinh_test): Likewise.
42585 (sinh_test_tonearest): Likewise.
42586 (sinh_test_towardzero): Likewise.
42587 (sinh_test_downward): Likewise.
42588 (sinh_test_upward): Likewise.
42589 (sqrt_test): Likewise.
42590 (tan_test): Likewise.
42591 (tan_test_tonearest): Likewise.
42592 (tan_test_towardzero): Likewise.
42593 (tan_test_downward): Likewise.
42594 (tan_test_upward): Likewise.
42595 (tanh_test): Likewise.
42596 (tgamma_test): Likewise.
42597 (trunc_test): Likewise.
42598 (y0_test): Likewise.
42599 (y1_test): Likewise.
42600 (yn_test): Likewise.
42601 (significand_test): Likewise.
42602
42603 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
42604
42605 [BZ #15381]
42606 * libio/genops.c (_IO_no_init): Initialize wide struct info.
42607
42608 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
42609
42610 [BZ #14894]
42611 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42612 __ppc_mdoio and __ppc_mdoom.
42613 * manual/platform.texi: Document new functions __ppc_yield,
42614 __ppc_mdoio and __ppc_mdoom.
42615
42616 2013-05-22 Carlos O'Donell <carlos@redhat.com>
42617
42618 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42619 (main): Mention "tls" pseudo-hwcap is legacy.
42620 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42621
42622 2013-05-22 Joseph Myers <joseph@codesourcery.com>
42623
42624 * math/gen-libm-test.pl (parse_args): Output only string of
42625 arguments as text for test name, not full call or descriptions of
42626 tests for extra outputs.
42627 (generate_testfile): Do not pass function name to parse_args.
42628 Generate this_func variable from START.
42629 * math/libm-test.inc (struct test_f_f_data): Rename test_name
42630 field to arg_str.
42631 (struct test_ff_f_data): Likewise.
42632 (test_ff_f_data_nexttoward): Likewise.
42633 (struct test_fi_f_data): Likewise.
42634 (struct test_fl_f_data): Likewise.
42635 (struct test_if_f_data): Likewise.
42636 (struct test_fff_f_data): Likewise.
42637 (struct test_c_f_data): Likewise.
42638 (struct test_f_f1_data): Likewise. Remove field extra_name.
42639 (struct test_fF_f1_data): Likewise.
42640 (struct test_ffI_f1_data): Likewise.
42641 (struct test_c_c_data): Rename test_name field to arg_str.
42642 (struct test_cc_c_data): Likewise.
42643 (struct test_f_i_data): Likewise.
42644 (struct test_ff_i_data): Likewise.
42645 (struct test_f_l_data): Likewise.
42646 (struct test_f_L_data): Likewise.
42647 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
42648 and extra2_name.
42649 (COMMON_TEST_SETUP): New macro.
42650 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42651 (COMMON_TEST_CLEANUP): Likewise.
42652 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42653 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
42654 macros.
42655 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42656 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
42657 macros.
42658 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42659 (RUN_TEST_fff_f): Take argument string. Call new setup and
42660 cleanup macros.
42661 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42662 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
42663 macros.
42664 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42665 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
42666 macros.
42667 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42668 (RUN_TEST_fF_f1): Take argument string. Call new setup and
42669 cleanup macros.
42670 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42671 (RUN_TEST_fI_f1): Take argument string. Call new setup and
42672 cleanup macros.
42673 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42674 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
42675 cleanup macros.
42676 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42677 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
42678 macros.
42679 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42680 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
42681 macros.
42682 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42683 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
42684 macros.
42685 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42686 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
42687 cleanup macros.
42688 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42689 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
42690 cleanup macros.
42691 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42692 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
42693 macros.
42694 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42695 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
42696 cleanup macros.
42697 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42698 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
42699 macros.
42700 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42701 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
42702 macros.
42703 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42704 (RUN_TEST_fFF_11): Take argument string. Call new setup and
42705 cleanup macros.
42706 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42707
42708 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
42709
42710 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42711 to _sifields.sigfault.
42712 (si_addr_lsb): Define new macro.
42713 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42714 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42715 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42716
42717 2013-05-03 Carlos O'Donell <carlos at redhat.com>
42718
42719 [BZ #15441]
42720 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42721 returns -1.
42722 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42723 null return -1.
42724 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42725 loading the domain.
42726
42727 2013-05-22 Joseph Myers <joseph@codesourcery.com>
42728
42729 * math/gen-libm-test.pl (parse_args): Do not include expected
42730 result in test name.
42731 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42732 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42733 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42734 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42735 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42737
42738 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42739
42740 * benchtests/Makefile: Sort function entries.
42741
42742 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42743 tanh, asinh, acosh, atanh.
42744 * benchtests/acos-inputs: New file.
42745 * benchtests/acosh-inputs: New file.
42746 * benchtests/asin-inputs: New file.
42747 * benchtests/asinh-inputs: New file.
42748 * benchtests/atanh-inputs: New file.
42749 * benchtests/cosh-inputs: New file.
42750 * benchtests/log-inputs: New file.
42751 * benchtests/sinh-inputs: New file.
42752 * benchtests/tanh-inputs: New file.
42753
42754 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
42755
42756 [BZ #15339]
42757 * posix/tst-getaddrinfo4.c: New test.
42758 * posix/Makefile (tests): Add it.
42759
42760 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42761
42762 [BZ #15339]
42763 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42764 when no services were used.
42765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42766 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42767
42768 2013-05-21 Andreas Schwab <schwab@suse.de>
42769
42770 [BZ #15014]
42771 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42772 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42773 successful.
42774 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42775 redundant variable declarations and reallocation of buffer when
42776 parsing as IPv6 address. Always set NSS status when called from
42777 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
42778 buffer too small. Correct computation of needed size.
42779 * nss/Makefile (tests): Add test-digits-dots.
42780 * nss/test-digits-dots.c: New test.
42781
42782 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42783
42784 * benchtests/Makefile: Remove instructions for adding
42785 benchmark tests.
42786 * benchtests/README: New file to explain how to execute and
42787 enhance the benchmark tests.
42788
42789 2013-05-21 Andreas Schwab <schwab@suse.de>
42790
42791 [BZ #15493]
42792 * setjmp/Makefile (tests): Add tst-sigsetjmp.
42793 * setjmp/tst-sigsetjmp.c: New test.
42794
42795 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
42796
42797 * sysdeps/x86_64/memset.S (memset): New implementation.
42798 (__bzero): Likewise.
42799 (__memset_tail): New function.
42800
42801 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
42802
42803 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42804 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42805 __memcpy_sse2_unaligned ifunc selection.
42806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42807 Add memcpy-sse2-unaligned.S.
42808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42809 Add: __memcpy_sse2_unaligned.
42810
42811 2013-05-19 Joseph Myers <joseph@codesourcery.com>
42812
42813 [BZ #15490]
42814 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42815 math_force_eval before restoring floating-point envrionment.
42816 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42817 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42818 Likewise.
42819 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42820 <math_private.h>.
42821 (__nearbyintl): Use math_force_eval before restoring
42822 floating-point environment.
42823 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42824
42825 * math/gen-libm-test.pl (special_functions): Remove.
42826 (parse_args): Don't handle TEST_extra. Handle functions with no
42827 return value.
42828 * math/libm-test.inc (struct test_sincos_data): Replace with
42829 struct test_fFF_11_data.
42830 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42831 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42832 (sincos_test_data): Change element type to struct
42833 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
42834 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42835 RUN_TEST_LOOP_sincos.
42836 * math/README.libm-test: Don't mention special handling of
42837 individual functions.
42838 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42840 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42841 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42844
42845 * math/gen-libm-test.pl (get_variable): Remove function.
42846 (parse_args): Don't show pointer parameters to call in test
42847 names. Use "extra output N" in test names for extra outputs
42848 rather than naming variables.
42849
42850 2013-05-18 Joseph Myers <joseph@codesourcery.com>
42851
42852 [BZ #15488]
42853 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42854 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42855 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42856 double tests.
42857 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42858 disable.
42859 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42860 check_long_double.
42861
42862 * math/gen-libm-test.pl (@tests): Remove variable.
42863 ($count): Likewise.
42864 (new_test): Remove function.
42865 (show_exceptions): New function.
42866 (special_functions): Use show_exceptions instead of new_test.
42867 (parse_args): Likewise.
42868 (generate_testfile): Pass only function name in generated call to
42869 print_max_error or print_complex_max_error.
42870 (get_ulps): Do not handle complex tests specially.
42871 (output_test): Rename to ...
42872 (get_all_ulps_for_test): ... this. Return a string rather than
42873 printing to a file. Require ulps to be present.
42874 (output_ulps): Generate arrays rather than #defines.
42875 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42876 (struct ulp_data): New type.
42877 (BUILD_COMPLEX_ULP): Remove macro.
42878 (compare_ulp_data): New function.
42879 (find_ulps): Likewise.
42880 (find_test_ulps): Likewise.
42881 (find_function_ulps): Likewise.
42882 (find_complex_function_ulps): Likewise.
42883 (print_max_error): Determine allowed ulps using
42884 find_function_ulps.
42885 (print_complex_max_error): Determine allowed ulps using
42886 find_complex_function_ulps.
42887 (check_float_internal): Determine max ulps using find_test_ulps.
42888 (check_float): Do not take max_ulp parameter. Update call to
42889 check_float_internal.
42890 (check_complex): Likewise.
42891 (check_int): Do not take max_ulp parameter.
42892 (check_long): Likewise.
42893 (check_bool): Likewise.
42894 (check_longlong): Likewise.
42895 (struct test_f_f_data): Remove max_ulp field.
42896 (struct test_ff_f_data): Likewise.
42897 (struct test_ff_f_data_nexttoward): Likewise.
42898 (struct test_fi_f_data): Likewise.
42899 (struct test_fl_f_data): Likewise.
42900 (struct test_if_f_data): Likewise.
42901 (struct test_fff_f_data): Likewise.
42902 (struct test_c_f_data): Likewise.
42903 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42904 (struct test_fF_f1_data): Likewise.
42905 (struct test_ffI_f1_data): Likewise.
42906 (struct test_c_c_data): Remove max_ulp field.
42907 (struct test_cc_c_data): Likewise.
42908 (struct test_f_i_data): Likewise.
42909 (struct test_ff_i_data): Likewise.
42910 (struct test_f_l_data): Likewise.
42911 (struct test_f_L_data): Likewise.
42912 (struct test_sincos_data): Likewise.
42913 (RUN_TEST_f_f): Do not handle ulps.
42914 (RUN_TEST_LOOP_f_f): Likewise.
42915 (RUN_TEST_2_f): Likewise.
42916 (RUN_TEST_LOOP_2_f): Likewise.
42917 (RUN_TEST_fff_f): Likewise.
42918 (RUN_TEST_LOOP_fff_f): Likewise.
42919 (RUN_TEST_c_f): Likewise.
42920 (RUN_TEST_LOOP_c_f): Likewise.
42921 (RUN_TEST_f_f1): Likewise.
42922 (RUN_TEST_LOOP_f_f1): Likewise.
42923 (RUN_TEST_fF_f1): Likewise.
42924 (RUN_TEST_LOOP_fF_f1): Likewise.
42925 (RUN_TEST_fI_f1): Likewise.
42926 (RUN_TEST_LOOP_fI_f1): Likewise.
42927 (RUN_TEST_ffI_f1): Likewise.
42928 (RUN_TEST_LOOP_ffI_f1): Likewise.
42929 (RUN_TEST_c_c): Likewise.
42930 (RUN_TEST_LOOP_c_c): Likewise.
42931 (RUN_TEST_cc_c): Likewise.
42932 (RUN_TEST_LOOP_cc_c): Likewise.
42933 (RUN_TEST_f_i): Likewise.
42934 (RUN_TEST_LOOP_f_i): Likewise.
42935 (RUN_TEST_f_i_tg): Likewise.
42936 (RUN_TEST_LOOP_f_i_tg): Likewise.
42937 (RUN_TEST_ff_i_tg): Likewise.
42938 (RUN_TEST_LOOP_ff_i_tg): Likewise.
42939 (RUN_TEST_f_b): Likewise.
42940 (RUN_TEST_LOOP_f_b): Likewise.
42941 (RUN_TEST_f_b_tg): Likewise.
42942 (RUN_TEST_LOOP_f_b_tg): Likewise.
42943 (RUN_TEST_f_l): Likewise.
42944 (RUN_TEST_LOOP_f_l): Likewise.
42945 (RUN_TEST_f_L): Likewise.
42946 (RUN_TEST_LOOP_f_L): Likewise.
42947 (RUN_TEST_sincos): Likewise.
42948 (RUN_TEST_LOOP_sincos): Likewise.
42949
42950 2013-05-17 Joseph Myers <joseph@codesourcery.com>
42951
42952 [BZ #15480]
42953 [BZ #15485]
42954 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42955 main case of finite arguments, set rounding mode to FE_TONEAREST
42956 and discard exceptions.
42957 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42958 exceptions.
42959 (remainder_tonearest_test_data): New variable.
42960 (remainder_test_tonearest): New function.
42961 (remainder_towardzero_test_data): New variable.
42962 (remainder_test_towardzero): New function.
42963 (remainder_downward_test_data): New variable.
42964 (remainder_test_downward): New function.
42965 (remainder_upward_test_data): New variable.
42966 (remainder_test_upward): New function.
42967 (main): Call the new test functions.
42968
42969 * math/libm-test.inc (struct test_f_f1_data): Remove field
42970 extra_init.
42971 (struct test_fF_f1_data): Likewise.
42972 (struct test_ffI_f1_data): Likewise.
42973 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
42974 based on value of EXTRA_EXPECTED.
42975 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42976 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
42977 EXTRA_VAR based on value of EXTRA_EXPECTED.
42978 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42979 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
42980 EXTRA_VAR based on value of EXTRA_EXPECTED.
42981 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42982 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
42983 EXTRA_VAR based on value of EXTRA_EXPECTED.
42984 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42985 * math/gen-libm-test.pl (parse_args): Don't output initializers
42986 for extra output values.
42987
42988 * math/libm-test.inc (check_int): Expect result to be exactly
42989 equal to expected value and do not handle ulps.
42990 (check_long): Likewise.
42991 (check_longlong): Likewise.
42992
42993 * math/libm-test.inc (ceil_test_data): Test for "inexact"
42994 exceptions.
42995 (cimag_test_data): Likewise.
42996 (conj_test_data): Likewise.
42997 (copysign_test_data): Likewise.
42998 (cproj_test_data): Likewise.
42999 (creal_test_data): Likewise.
43000 (fabs_test_data): Likewise.
43001 (fdim_test_data): Likewise.
43002 (finite_test_data): Likewise.
43003 (floor_test_data): Likewise.
43004 (fmax_test_data): Likewise.
43005 (fmin_test_data): Likewise.
43006 (fmod_test_data): Likewise.
43007 (fpclassify_test_data): Likewise.
43008 (frexp_test_data): Likewise.
43009 (ilogb_test_data): Likewise.
43010 (isfinite_test_data): Likewise.
43011 (isgreater_test_data): Likewise.
43012 (isgreaterequal_test_data): Likewise.
43013 (isinf_test_data): Likewise.
43014 (isless_test_data): Likewise.
43015 (islessequal_test_data): Likewise.
43016 (islessgreater_test_data): Likewise.
43017 (isnan_test_data): Likewise.
43018 (isnormal_test_data): Likewise.
43019 (issignaling_test_data): Likewise.
43020 (isunordered_test_data): Likewise.
43021 (ldexp_test_data): Likewise.
43022 (lrint_test_data): Likewise.
43023 (lrint_test_data) [TEST_FLOAT]: Disable one test.
43024 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43025 (lrint_tonearest_test_data): Test for "inexact" exceptions.
43026 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43027 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43028 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43029 test input.
43030 (lrint_towardzero_test_data): Test for "inexact" exceptions.
43031 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43032 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43033 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43034 that test input.
43035 (lrint_downward_test_data): Test for "inexact" exceptions.
43036 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43037 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43038 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43039 test input.
43040 (lrint_upward_test_data): Test for "inexact" exceptions.
43041 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43042 test input.
43043 (llrint_test_data): Test for "inexact" exceptions.
43044 (llrint_test_data) [TEST_FLOAT]: Disable one test.
43045 (llrint_tonearest_test_data): Test for "inexact" exceptions.
43046 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43047 (llrint_towardzero_test_data): Test for "inexact" exceptions.
43048 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43049 (llrint_downward_test_data): Test for "inexact" exceptions.
43050 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43051 (llrint_upward_test_data): Test for "inexact" exceptions.
43052 (logb_test_data): Likewise.
43053 (logb_downward_test_data): Likewise.
43054 (nextafter_test_data): Likewise.
43055 (nexttoward_test_data): Likewise.
43056 (remainder_test_data): Likewise.
43057 (remquo_test_data): Likewise.
43058 (scalbn_test_data): Likewise.
43059 (scalbln_test_data): Likewise.
43060 (signbit_test_data): Likewise.
43061 (sqrt_test_data): Likewise.
43062 (significand_test_data): Likewise.
43063
43064 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43065
43066 [BZ #15424]
43067 * benchtests/bench-modf.c (struct args): Mark arg0 as
43068 volatile.
43069 * scripts/bench.pl: Mark members of struct args as volatile.
43070
43071 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43072
43073 [BZ # 15497]
43074 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43075 negative infinity on POWER6 or lower.
43076 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43077
43078 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
43079
43080 [BZ #15442]
43081 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43082 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43083 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43084 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43085 (_FP_SETQNAN): New macro.
43086 (_FP_SETQNAN_SEMIRAW): Likewise.
43087 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43088 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43089 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43090 (FP_EXTEND): Use _FP_FRAC_SNANP.
43091 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43092 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43093 into account.
43094 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43095 New macro.
43096 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43097 Likewise.
43098
43099 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43100
43101 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43102 with DIVIDE_BY_ZERO_EXCEPTION.
43103 (gamma_test_data): Likewise.
43104 (lgamma_test_data): Likewise.
43105 (log_test_data): Likewise.
43106 (log10_test_data): Likewise.
43107 (log2_test_data): Likewise.
43108 (tgamma_test_data): Likewise.
43109
43110 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43111 (acos_test_tonearest): Likewise.
43112 (acos_test_towardzero): Likewise.
43113 (acos_test_downward): Likewise.
43114 (acos_test_upward): Likewise.
43115 (acosh_test): Likewise.
43116 (asin_test): Likewise.
43117 (asin_test_tonearest): Likewise.
43118 (asin_test_towardzero): Likewise.
43119 (asin_test_downward): Likewise.
43120 (asin_test_upward): Likewise.
43121 (asinh_test): Likewise.
43122 (atan_test): Likewise.
43123 (atanh_test): Likewise.
43124 (atan2_test): Likewise.
43125 (cabs_test): Likewise.
43126 (cacos_test): Likewise.
43127 (cacosh_test): Likewise.
43128 (casin_test): Likewise.
43129 (casinh_test): Likewise.
43130 (catan_test): Likewise.
43131 (catanh_test): Likewise.
43132 (cbrt_test): Likewise.
43133 (ccos_test): Likewise.
43134 (ccosh_test): Likewise.
43135 (cexp_test): Likewise.
43136 (clog_test): Likewise.
43137 (clog10_test): Likewise.
43138 (cos_test): Likewise.
43139 (cos_test_tonearest): Likewise.
43140 (cos_test_towardzero): Likewise.
43141 (cos_test_downward): Likewise.
43142 (cos_test_upward): Likewise.
43143 (cosh_test): Likewise.
43144 (cosh_test_tonearest): Likewise.
43145 (cosh_test_towardzero): Likewise.
43146 (cosh_test_downward): Likewise.
43147 (cosh_test_upward): Likewise.
43148 (cpow_test): Likewise.
43149 (csin_test): Likewise.
43150 (csinh_test): Likewise.
43151 (csqrt_test): Likewise.
43152 (ctan_test): Likewise.
43153 (ctan_test_tonearest): Likewise.
43154 (ctan_test_towardzero): Likewise.
43155 (ctan_test_downward): Likewise.
43156 (ctan_test_upward): Likewise.
43157 (ctanh_test): Likewise.
43158 (ctanh_test_tonearest): Likewise.
43159 (ctanh_test_towardzero): Likewise.
43160 (ctanh_test_downward): Likewise.
43161 (ctanh_test_upward): Likewise.
43162 (erf_test): Likewise.
43163 (erfc_test): Likewise.
43164 (exp_test): Likewise.
43165 (exp_test_tonearest): Likewise.
43166 (exp_test_towardzero): Likewise.
43167 (exp_test_downward): Likewise.
43168 (exp_test_upward): Likewise.
43169 (exp10_test): Likewise.
43170 (exp2_test): Likewise.
43171 (expm1_test): Likewise.
43172 (fmod_test): Likewise.
43173 (gamma_test): Likewise.
43174 (hypot_test): Likewise.
43175 (j0_test): Likewise.
43176 (j1_test): Likewise.
43177 (jn_test): Likewise.
43178 (lgamma_test): Likewise.
43179 (log_test): Likewise.
43180 (log10_test): Likewise.
43181 (log1p_test): Likewise.
43182 (log2_test): Likewise.
43183 (logb_test_downward): Likewise.
43184 (pow_test): Likewise.
43185 (pow_test_tonearest): Likewise.
43186 (pow_test_towardzero): Likewise.
43187 (pow_test_downward): Likewise.
43188 (pow_test_upward): Likewise.
43189 (remainder_test): Likewise.
43190 (remquo_test): Likewise.
43191 (sin_test): Likewise.
43192 (sin_test_tonearest): Likewise.
43193 (sin_test_towardzero): Likewise.
43194 (sin_test_downward): Likewise.
43195 (sin_test_upward): Likewise.
43196 (sincos_test): Likewise.
43197 (sinh_test): Likewise.
43198 (sinh_test_tonearest): Likewise.
43199 (sinh_test_towardzero): Likewise.
43200 (sinh_test_downward): Likewise.
43201 (sinh_test_upward): Likewise.
43202 (sqrt_test): Likewise.
43203 (tan_test): Likewise.
43204 (tan_test_tonearest): Likewise.
43205 (tan_test_towardzero): Likewise.
43206 (tan_test_downward): Likewise.
43207 (tan_test_upward): Likewise.
43208 (tanh_test): Likewise.
43209 (tgamma_test): Likewise.
43210 (y0_test): Likewise.
43211 (y1_test): Likewise.
43212 (yn_test): Likewise.
43213
43214 * math/gen-libm-test.pl (adjust_arg): Remove function.
43215 (special_function): Remove argument $in_func. Only handle
43216 generating output for tables of tests, not inside functions.
43217 (parse_args): Likewise.
43218 (generate_testfile): Remove variable $in_func. Update call to
43219 parse_args.
43220 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43221 (MINUS_ZERO_INIT): Rename macro to minus_zero.
43222 (PLUS_INFTY_INIT): Rename macro to plus_infty.
43223 (MINUS_INFTY_INIT): Rename macro to minus_infty.
43224 (QNAN_VALUE_INIT): Rename macro to qnan_value.
43225 (MAX_VALUE_INIT): Rename macro to max_value.
43226 (MIN_VALUE_INIT): Rename macro to min_value.
43227 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43228 (plus_zero): Remove variable.
43229 (minus_zero): Likewise.
43230 (plus_infty): Likewise.
43231 (minus_infty): Likewise.
43232 (qnan_value): Likewise.
43233 (max_value): Likewise.
43234 (min_value): Likewise.
43235 (min_subnorm_value): Likewise.
43236
43237 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43238
43239 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43240 uint64_t or uint32_t usage.
43241 * crypt/sha256-block.c: Likewise.
43242 * crypt/sha256-crypt.c: Likewise.
43243 * crypt/sha256.c: Likewise.
43244 * crypt/sha512-block.c: Likewise.
43245 * crypt/sha512-crypt.c: Likewise.
43246 * crypt/sha512.c: Likewise.
43247 * debug/backtrace-tst.c: Likewise.
43248 * debug/pcprofiledump.c: Likewise.
43249 * elf/cache.c: Likewise.
43250 * elf/dl-cache.c: Likewise.
43251 * elf/dl-misc.c: Likewise.
43252 * elf/dl-profile.c: Likewise.
43253 * elf/dl-support.c: Likewise.
43254 * elf/ldconfig.c: Likewise.
43255 * elf/sprof.c: Likewise.
43256 * iconv/dummy-repertoire.c: Likewise.
43257 * iconv/iconv_charmap.c: Likewise.
43258 * iconv/skeleton.c: Likewise.
43259 * iconvdata/8bit-generic.c: Likewise.
43260 * iconvdata/cp737.h: Likewise.
43261 * iconvdata/cp775.h: Likewise.
43262 * iconvdata/ibm1008.h: Likewise.
43263 * iconvdata/ibm1025.h: Likewise.
43264 * iconvdata/ibm1046.h: Likewise.
43265 * iconvdata/ibm1097.h: Likewise.
43266 * iconvdata/ibm1112.h: Likewise.
43267 * iconvdata/ibm1122.h: Likewise.
43268 * iconvdata/ibm1123.h: Likewise.
43269 * iconvdata/ibm1124.h: Likewise.
43270 * iconvdata/ibm1129.h: Likewise.
43271 * iconvdata/ibm1130.h: Likewise.
43272 * iconvdata/ibm1132.h: Likewise.
43273 * iconvdata/ibm1133.h: Likewise.
43274 * iconvdata/ibm1137.h: Likewise.
43275 * iconvdata/ibm1140.h: Likewise.
43276 * iconvdata/ibm1141.h: Likewise.
43277 * iconvdata/ibm1142.h: Likewise.
43278 * iconvdata/ibm1143.h: Likewise.
43279 * iconvdata/ibm1144.h: Likewise.
43280 * iconvdata/ibm1145.h: Likewise.
43281 * iconvdata/ibm1146.h: Likewise.
43282 * iconvdata/ibm1147.h: Likewise.
43283 * iconvdata/ibm1148.h: Likewise.
43284 * iconvdata/ibm1149.h: Likewise.
43285 * iconvdata/ibm1153.h: Likewise.
43286 * iconvdata/ibm1154.h: Likewise.
43287 * iconvdata/ibm1155.h: Likewise.
43288 * iconvdata/ibm1156.h: Likewise.
43289 * iconvdata/ibm1157.h: Likewise.
43290 * iconvdata/ibm1158.h: Likewise.
43291 * iconvdata/ibm1160.h: Likewise.
43292 * iconvdata/ibm1161.h: Likewise.
43293 * iconvdata/ibm1162.h: Likewise.
43294 * iconvdata/ibm1163.h: Likewise.
43295 * iconvdata/ibm1164.h: Likewise.
43296 * iconvdata/ibm1166.h: Likewise.
43297 * iconvdata/ibm1167.h: Likewise.
43298 * iconvdata/ibm12712.h: Likewise.
43299 * iconvdata/ibm1390.h: Likewise.
43300 * iconvdata/ibm1399.h: Likewise.
43301 * iconvdata/ibm16804.h: Likewise.
43302 * iconvdata/ibm4517.h: Likewise.
43303 * iconvdata/ibm4899.h: Likewise.
43304 * iconvdata/ibm4909.h: Likewise.
43305 * iconvdata/ibm4971.h: Likewise.
43306 * iconvdata/ibm5347.h: Likewise.
43307 * iconvdata/ibm803.h: Likewise.
43308 * iconvdata/ibm856.h: Likewise.
43309 * iconvdata/ibm901.h: Likewise.
43310 * iconvdata/ibm902.h: Likewise.
43311 * iconvdata/ibm9030.h: Likewise.
43312 * iconvdata/ibm9066.h: Likewise.
43313 * iconvdata/ibm921.h: Likewise.
43314 * iconvdata/ibm922.h: Likewise.
43315 * iconvdata/ibm9448.h: Likewise.
43316 * iconvdata/isiri-3342.h: Likewise.
43317 * iconvdata/jis0201.h: Likewise.
43318 * include/link.h: Likewise.
43319 * include/netdb.h: Likewise.
43320 * inet/check_native.c: Likewise.
43321 * inet/check_pf.c: Likewise.
43322 * inet/getipv4sourcefilter.c: Likewise.
43323 * inet/getnameinfo.c: Likewise.
43324 * inet/getsourcefilter.c: Likewise.
43325 * inet/htonl.c: Likewise.
43326 * inet/setipv4sourcefilter.c: Likewise.
43327 * inet/setsourcefilter.c: Likewise.
43328 * inet/test-inet6_opt.c: Likewise.
43329 * inet/tst-network.c: Likewise.
43330 * locale/C-collate.c: Likewise.
43331 * locale/C-ctype.c: Likewise.
43332 * locale/C-time.c: Likewise.
43333 * locale/C-translit.h: Likewise.
43334 * locale/loadarchive.c: Likewise.
43335 * locale/programs/3level.h: Likewise.
43336 * locale/programs/charmap.c: Likewise.
43337 * locale/programs/charmap.h: Likewise.
43338 * locale/programs/ld-address.c: Likewise.
43339 * locale/programs/ld-collate.c: Likewise.
43340 * locale/programs/ld-ctype.c: Likewise.
43341 * locale/programs/ld-identification.c: Likewise.
43342 * locale/programs/ld-measurement.c: Likewise.
43343 * locale/programs/ld-messages.c: Likewise.
43344 * locale/programs/ld-monetary.c: Likewise.
43345 * locale/programs/ld-name.c: Likewise.
43346 * locale/programs/ld-numeric.c: Likewise.
43347 * locale/programs/ld-paper.c: Likewise.
43348 * locale/programs/ld-telephone.c: Likewise.
43349 * locale/programs/ld-time.c: Likewise.
43350 * locale/programs/linereader.c: Likewise.
43351 * locale/programs/locale.c: Likewise.
43352 * locale/programs/locarchive.c: Likewise.
43353 * locale/programs/locfile.h: Likewise.
43354 * locale/programs/repertoire.c: Likewise.
43355 * locale/programs/simple-hash.c: Likewise.
43356 * locale/programs/simple-hash.h: Likewise.
43357 * malloc/memusage.c: Likewise.
43358 * malloc/memusagestat.c: Likewise.
43359 * nis/nis_defaults.c: Likewise.
43360 * nis/nis_hash.c: Likewise.
43361 * nis/nis_print.c: Likewise.
43362 * nis/nis_xdr.c: Likewise.
43363 * nscd/connections.c: Likewise.
43364 * nscd/hstcache.c: Likewise.
43365 * nscd/nscd_gethst_r.c: Likewise.
43366 * nscd/nscd_getserv_r.c: Likewise.
43367 * nscd/nscd_helper.c: Likewise.
43368 * nscd/servicescache.c: Likewise.
43369 * nss/makedb.c: Likewise.
43370 * nss/nss_db/db-XXX.c: Likewise.
43371 * nss/nss_db/db-initgroups.c: Likewise.
43372 * nss/nss_db/db-netgrp.c: Likewise.
43373 * nss/nss_files/files-network.c: Likewise.
43374 * nss/nss_files/files-parse.c: Likewise.
43375 * posix/bug-regex5.c: Likewise.
43376 * posix/fnmatch_loop.c: Likewise.
43377 * posix/regcomp.c: Likewise.
43378 * posix/regexec.c: Likewise.
43379 * posix/tst-rfc3484-2.c: Likewise.
43380 * posix/tst-rfc3484-3.c: Likewise.
43381 * posix/tst-rfc3484.c: Likewise.
43382 * resolv/nss_dns/dns-canon.c: Likewise.
43383 * resolv/nss_dns/dns-network.c: Likewise.
43384 * resolv/res_init.c: Likewise.
43385 * resolv/res_mkquery.c: Likewise.
43386 * resolv/tst-aton.c: Likewise.
43387 * stdlib/cxa_atexit.c: Likewise.
43388 * stdlib/cxa_finalize.c: Likewise.
43389 * stdlib/gen-fpioconst.c: Likewise.
43390 * stdlib/strtol_l.c: Likewise.
43391 * string/tst-endian.c: Likewise.
43392 * sunrpc/auth_des.c: Likewise.
43393 * sunrpc/clnt_udp.c: Likewise.
43394 * sunrpc/rtime.c: Likewise.
43395 * sunrpc/svcauth_des.c: Likewise.
43396 * sunrpc/xdr.c: Likewise.
43397 * sunrpc/xdr_intXX_t.c: Likewise.
43398 * sunrpc/xdr_rec.c: Likewise.
43399 * sysdeps/generic/ldconfig.h: Likewise.
43400 * sysdeps/generic/ldsodefs.h: Likewise.
43401 * sysdeps/generic/memusage.h: Likewise.
43402 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43403 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43404 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43405 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43406 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43408 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43409 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43410 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43412 * sysdeps/posix/getaddrinfo.c: Likewise.
43413 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43414 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43415 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43416 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43417 * sysdeps/powerpc/test-gettimebase.c: Likewise.
43418 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43419 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43420 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43421 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43422 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43423 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43424 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43425 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43426 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43427 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43428 * sysdeps/x86_64/dl-tls.h: Likewise.
43429 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43430 * time/alt_digit.c: Likewise.
43431 * time/era.c: Likewise.
43432 * wcsmbs/tst-c16c32-1.c: Likewise.
43433
43434 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43435
43436 * math/libm-test.inc (struct test_sincos_data): New type.
43437 (RUN_TEST_LOOP_sincos): New macro.
43438 (sincos_test_data): New variable.
43439 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43440
43441 2013-05-16 Richard Henderson <rth@redhat.com>
43442
43443 * math/atest-exp2.c (LIMB64): New macro.
43444 (CONSTSZ): New macro.
43445 (mp_exp1, mp_exp_m1, mp_log2): New variables.
43446 (hexdig): Move ...
43447 (print_mpn_fp): ... to function scope.
43448 (read_mpn_hex): Remove.
43449 (get_log2): Remove.
43450 (exp2_mpn): Use mp_log2.
43451 (main): Use mp_exp1.
43452
43453 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43454
43455 * math/libm-test.inc: Remove comment about not testing "inexact"
43456 exceptions.
43457 (INEXACT_EXCEPTION): New macro.
43458 (NO_INEXACT_EXCEPTION): Likewise.
43459 (INVALID_EXCEPTION_OK): Update value.
43460 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43461 (OVERFLOW_EXCEPTION_OK): Likewise.
43462 (UNDERFLOW_EXCEPTION_OK): Likewise.
43463 (IGNORE_ZERO_INF_SIGN): Likewise.
43464 (ERRNO_UNCHANGED): Likewise.
43465 (ERRNO_EDOM): Likewise.
43466 (ERRNO_ERANGE): Likewise.
43467 (test_exceptions): Handle testing "inexact" exceptions.
43468 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43469 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43470 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43471 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43472 INEXACT_EXCEPTION.
43473 (rint_towardzero_test_data): Likewise.
43474 (rint_downward_test_data): Likewise.
43475 (rint_upward_test_data): Likewise.
43476
43477 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43478 with OVERFLOW_EXCEPTION.
43479 (exp10_test_data): Likewise.
43480 (exp2_test_data): Likewise.
43481 (expm1_test_data): Likewise.
43482 (lgamma_test_data): Likewise.
43483 (pow_test_data): Likewise.
43484 (tgamma_test_data): Likewise.
43485 (yn_test_data): Remove duplicate test of overflow.
43486
43487 * math/libm-test.inc (struct test_cc_c_data): New type.
43488 (RUN_TEST_LOOP_cc_c): New macro.
43489 (cpow_test_data): New variable.
43490 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43491
43492 * math/libm-test.inc (struct test_f_L_data): New type.
43493 (RUN_TEST_LOOP_f_L): New macro.
43494 (llrint_test_data): New variable.
43495 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43496 (llrint_tonearest_test_data): New variable.
43497 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43498 (llrint_towardzero_test_data): New variable.
43499 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43500 (llrint_downward_test_data): New variable.
43501 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43502 (llrint_upward_test_data): New variable.
43503 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43504 (llround_test_data): New variable.
43505 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43506
43507 2013-05-13 Peter Collingbourne <pcc@google.com>
43508
43509 * math/atest-exp2.c (get_log2): Remove const attribute.
43510
43511 2013-05-15 Joseph Myers <joseph@codesourcery.com>
43512
43513 * math/libm-test.inc (struct test_f_l_data): New type.
43514 (RUN_TEST_LOOP_f_l): New macro.
43515 (lrint_test_data): New variable.
43516 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43517 (lrint_tonearest_test_data): New variable.
43518 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43519 (lrint_towardzero_test_data): New variable.
43520 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43521 (lrint_downward_test_data): New variable.
43522 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43523 (lrint_upward_test_data): New variable.
43524 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43525 (lround_test_data): New variable.
43526 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43527
43528 2013-05-15 Peter Collingbourne <pcc@google.com>
43529
43530 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43531 (EXTRACT_WORDS64) Use where appropriate.
43532 (INSERT_WORDS64) Likewise.
43533
43534 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43535 constraints with x constraints.
43536 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43537
43538 * malloc/obstack.c (_obstack_compat): Add initializer.
43539
43540 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
43541
43542 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43543 si_trapno and add si_addr_lsb to _sifields.sigfault.
43544 (si_trapno): Remove macro.
43545 (si_addr_lsb): Define new macro.
43546 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43547
43548 2013-05-15 Joseph Myers <joseph@codesourcery.com>
43549
43550 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43551 instead of TEST_f_l.
43552 (llrint_test_tonearest): Likewise.
43553 (llrint_test_towardzero): Likewise.
43554 (llrint_test_downward): Likewise.
43555 (llrint_test_upward): Likewise.
43556 (llround_test): Likewise.
43557
43558 * math/libm-test.inc (struct test_f_i_data): Add comment.
43559 (RUN_TEST_LOOP_f_b): New macro.
43560 (RUN_TEST_LOOP_f_b_tg): Likewise.
43561 (finite_test_data): New variable.
43562 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43563 (isfinite_test_data): New variable.
43564 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43565 (isinf_test_data): New variable.
43566 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43567 (isnan_test_data): New variable.
43568 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43569 (isnormal_test_data): New variable.
43570 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43571 (issignaling_test_data): New variable.
43572 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43573 (signbit_test_data): New variable.
43574 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43575
43576 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43577 with INVALID_EXCEPTION.
43578 (acosh_test_data): Likewise.
43579 (asin_test_data): Likewise.
43580 (atanh_test_data): Likewise.
43581 (fmod_test_data): Likewise.
43582 (log_test_data): Likewise.
43583 (log10_test_data): Likewise.
43584 (log2_test_data): Likewise.
43585 (pow_test_data): Likewise.
43586 (sqrt_test_data): Likewise.
43587 (y0_test_data): Likewise.
43588 (y1_test_data): Likewise.
43589 (yn_test_data): Likewise.
43590
43591 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43592 function contents.
43593
43594 * math/libm-test.inc (struct test_ff_i_data): New type.
43595 (RUN_TEST_LOOP_ff_i_tg): New macro.
43596 (isgreater_test_data): New variable.
43597 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43598 (isgreaterequal_test_data): New variable.
43599 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43600 (isless_test_data): New variable.
43601 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43602 (islessequal_test_data): New variable.
43603 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43604 (islessgreater_test_data): New variable.
43605 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43606 (isunordered_test_data): New variable.
43607 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43608
43609 2013-05-14 David S. Miller <davem@davemloft.net>
43610
43611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43612
43613 2013-05-14 Joseph Myers <joseph@codesourcery.com>
43614
43615 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43616
43617 * math/libm-test.inc (struct test_fF_f1_data): Change type of
43618 extra_test to int.
43619 (struct test_f_i_data): Change type of max_ulp to int.
43620
43621 * math/libm-test.inc (test_ffI_f1_data): New type.
43622 (RUN_TEST_LOOP_ffI_f1): New macro.
43623 (remquo_test_data): New variable.
43624 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43625
43626 * setjmp/tst-setjmp-fp.c: New file.
43627 * setjmp/Makefile (tests): Add tst-setjmp-fp.
43628 (link-libm): New variable.
43629 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43630
43631 * math/libm-test.inc (struct test_f_i_data): New type.
43632 (RUN_TEST_LOOP_f_i): New macro.
43633 (RUN_TEST_LOOP_f_i_tg): Likewise.
43634 (fpclassify_test_data): New variable.
43635 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43636 (ilogb_test_data): New variable.
43637 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43638
43639 * math/libm-test.inc (scalbln_test): Correct function name in END
43640 call.
43641
43642 * math/libm-test.inc (struct test_f_f1_data): Add comment.
43643 (RUN_TEST_LOOP_fI_f1): New macro.
43644 (frexp_test_data): New variable.
43645 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43646
43647 * math/libm-test.inc (struct test_fF_f1_data): New type.
43648 (RUN_TEST_LOOP_fF_f1): New macro.
43649 (modf_test_data): New variable.
43650 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43651
43652 * math/libm-test.inc (struct test_f_f1_data): New type.
43653 (RUN_TEST_LOOP_f_f1): New macro.
43654 (gamma_test_data): New variable.
43655 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43656 (lgamma_test_data): New variable.
43657 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43658
43659 2013-05-13 Carlos O'Donell <carlos@redhat.com>
43660
43661 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43662 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43663 (main): Comment "tls" pseudo-hwcap.
43664
43665 2013-05-13 Joseph Myers <joseph@codesourcery.com>
43666
43667 * math/libm-test.inc (struct test_fl_f_data): New type.
43668 (RUN_TEST_LOOP_fl_f): New variable.
43669 (scalbln_test_data): New variable.
43670 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43671
43672 * math/libm-test.inc (struct test_fi_f_data): New type.
43673 (RUN_TEST_LOOP_fi_f): New macro.
43674 (ldexp_test_data): New variable.
43675 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43676 (scalbn_test_data): New variable.
43677 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43678
43679 * math/libm-test.inc (struct test_c_f_data): New type.
43680 (RUN_TEST_LOOP_c_f): New macro.
43681 (cabs_test_data): New variable.
43682 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43683 (carg_test_data): New variable.
43684 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43685 (cimag_test_data): New variable.
43686 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43687 (creal_test_data): New variable.
43688 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43689
43690 * math/libm-test.inc (struct test_if_f_data): New type.
43691 (RUN_TEST_LOOP_if_f): New macro.
43692 (jn_test_data): New variable.
43693 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43694 (yn_test_data): New variable.
43695 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43696
43697 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43698
43699 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43700
43701 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43702 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43703
43704 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
43705
43706 * benchtests/Makefile (CPPFLAGS-nonlib): Add
43707 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43708 (bench-deps): Add bench-timing.h.
43709 * benchtests-bench-skeleton.c: Include bench-timing.h.
43710 (main): Use TIMING_* macros instead of clock_gettime.
43711 * benchtests/bench-timing.h: New file.
43712
43713 [BZ #14582]
43714 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43715 Renamed from _LIB_VERSION.
43716 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43717
43718 2013-05-12 Joseph Myers <joseph@codesourcery.com>
43719
43720 * math/libm-test.inc (struct test_fff_f_data): New type.
43721 (RUN_TEST_LOOP_fff_f): New macro.
43722 (fma_test_data): New variable.
43723 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43724 (fma_towardzero_test_data): New variable.
43725 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43726 (fma_downward_test_data): New variable.
43727 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43728 (fma_upward_test_data): New variable.
43729 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43730
43731 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43732 (struct test_c_c_data): New type.
43733 (RUN_TEST_LOOP_c_c): New macro.
43734 (cacos_test_data): New variable.
43735 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43736 (cacosh_test_data): New variable.
43737 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43738 (casin_test_data): New variable.
43739 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43740 (casinh_test_data): New variable.
43741 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43742 (catan_test_data): New variable.
43743 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43744 (catanh_test_data): New variable.
43745 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43746 (ccos_test_data): New variable.
43747 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43748 (ccosh_test_data): New variable.
43749 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43750 (cexp_test_data): New variable.
43751 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43752 (clog_test_data): New variable.
43753 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43754 (clog10_test_data): New variable.
43755 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43756 (conj_test_data): New variable.
43757 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43758 (cproj_test_data): New variable.
43759 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43760 (csin_test_data): New variable.
43761 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43762 (csinh_test_data): New variable.
43763 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43764 (csqrt_test_data): New variable.
43765 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43766 (ctan_test_data): New variable.
43767 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43768 (ctan_tonearest_test_data): New variable.
43769 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43770 (ctan_towardzero_test_data): New variable.
43771 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43772 (ctan_downward_test_data): New variable.
43773 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43774 (ctan_upward_test_data): New variable.
43775 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43776 (ctanh_test_data): New variable.
43777 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43778 (ctanh_tonearest_test_data): New variable.
43779 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43780 (ctanh_towardzero_test_data): New variable.
43781 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43782 (ctanh_downward_test_data): New variable.
43783 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43784 (ctanh_upward_test_data): New variable.
43785 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43786 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43787 of BUILD_COMPLEX.
43788
43789 * math/libm-test.inc (struct test_ff_f_data): New type.
43790 (struct test_ff_f_data_nexttoward): Likewise.
43791 (RUN_TEST_LOOP_2_f): New macro.
43792 (RUN_TEST_LOOP_ff_f): Likewise.
43793 (atan2_test_data): New variable.
43794 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43795 (copysign_test_data): New variable.
43796 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43797 (fdim_test_data): New variable.
43798 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43799 (fmax_test_data): New variable.
43800 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43801 (fmin_test_data): New variable.
43802 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43803 (fmod_test_data): New variable.
43804 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43805 (hypot_test_data): New variable.
43806 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43807 (nextafter_test_data): New variable.
43808 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43809 (nexttoward_test_data): New variable.
43810 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43811 (pow_test_data): New variable.
43812 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43813 (pow_tonearest_test_data): New variable.
43814 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43815 (pow_towardzero_test_data): New variable.
43816 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43817 (pow_downward_test_data): New variable.
43818 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43819 (pow_upward_test_data): New variable.
43820 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43821 (remainder_test_data): New variable.
43822 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43823 (scalb_test_data): New variable.
43824 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43825 * sysdeps/i386/fpu/libm-test-ulps: Update.
43826
43827 2013-05-11 Joseph Myers <joseph@codesourcery.com>
43828
43829 * math/libm-test.inc (fma_test): Use max_value instead of local
43830 variable fltmax.
43831 (nextafter_test): Likewise.
43832
43833 * math/libm-test.inc (acos_towardzero_test_data): New variable.
43834 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43835 (acos_downward_test_data): New variable.
43836 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43837 (acos_upward_test_data): New variable.
43838 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43839 (acosh_test_data): New variable.
43840 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43841 (asin_test_data): New variable.
43842 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43843 (asin_tonearest_test_data): New variable.
43844 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43845 (asin_towardzero_test_data): New variable.
43846 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43847 (asin_downward_test_data): New variable.
43848 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43849 (asin_upward_test_data): New variable.
43850 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43851 (asinh_test_data): New variable.
43852 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43853 (atan_test_data): New variable.
43854 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43855 (atanh_test_data): New variable.
43856 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43857 (cbrt_test_data): New variable.
43858 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43859 (ceil_test_data): New variable.
43860 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43861 (cos_test_data): New variable.
43862 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43863 (cos_tonearest_test_data): New variable.
43864 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43865 (cos_towardzero_test_data): New variable.
43866 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43867 (cos_downward_test_data): New variable.
43868 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43869 (cos_upward_test_data): New variable.
43870 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43871 (cosh_test_data): New variable.
43872 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43873 (cosh_tonearest_test_data): New variable.
43874 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43875 (cosh_towardzero_test_data): New variable.
43876 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43877 (cosh_downward_test_data): New variable.
43878 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43879 (cosh_upward_test_data): New variable.
43880 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43881 (erf_test_data): New variable.
43882 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43883 (erfc_test_data): New variable.
43884 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43885 (exp_test_data): New variable.
43886 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43887 (exp_tonearest_test_data): New variable.
43888 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43889 (exp_towardzero_test_data): New variable.
43890 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43891 (exp_downward_test_data): New variable.
43892 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43893 (exp_upward_test_data): New variable.
43894 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43895 (exp10_test_data): New variable.
43896 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43897 (exp2_test_data): New variable.
43898 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43899 (expm1_test_data): New variable.
43900 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43901 (fabs_test_data): New variable.
43902 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43903 (floor_test_data): New variable.
43904 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43905 (j0_test_data): New variable.
43906 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43907 (j1_test_data): New variable.
43908 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43909 (log_test_data): New variable.
43910 (log_test): Run tests with RUN_TEST_LOOP_f_f.
43911 (log10_test_data): New variable.
43912 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43913 (log1p_test_data): New variable.
43914 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43915 (log2_test_data): New variable.
43916 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43917 (logb_test_data): New variable.
43918 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43919 (logb_downward_test_data): New variable.
43920 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43921 (nearbyint_test_data): New variable.
43922 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43923 (rint_test_data): New variable.
43924 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43925 (rint_tonearest_test_data): New variable.
43926 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43927 (rint_towardzero_test_data): New variable.
43928 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43929 (rint_downward_test_data): New variable.
43930 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43931 (rint_upward_test_data): New variable.
43932 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43933 (round_test_data): New variable.
43934 (round_test): Run tests with RUN_TEST_LOOP_f_f.
43935 (sin_test_data): New variable.
43936 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43937 (sin_tonearest_test_data): New variable.
43938 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43939 (sin_towardzero_test_data): New variable.
43940 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43941 (sin_downward_test_data): New variable.
43942 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43943 (sin_upward_test_data): New variable.
43944 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43945 (sinh_test_data): New variable.
43946 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43947 (sinh_tonearest_test_data): New variable.
43948 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43949 (sinh_towardzero_test_data): New variable.
43950 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43951 (sinh_downward_test_data): New variable.
43952 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43953 (sinh_upward_test_data): New variable.
43954 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43955 (sqrt_test_data): New variable.
43956 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43957 (tan_test_data): New variable.
43958 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43959 (tan_tonearest_test_data): New variable.
43960 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43961 (tan_towardzero_test_data): New variable.
43962 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43963 (tan_downward_test_data): New variable.
43964 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43965 (tan_upward_test_data): New variable.
43966 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43967 (tanh_test_data): New variable.
43968 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43969 (tgamma_test_data): New variable.
43970 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43971 (trunc_test_data): New variable.
43972 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43973 (y0_test_data): New variable.
43974 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43975 (y1_test_data): New variable.
43976 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43977 (significand_test_data): New variable.
43978 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43979
43980 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
43981
43982 [BZ #12387]
43983 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43984
43985 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
43986
43987 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43988
43989 2013-05-10 Andreas Jaeger <aj@suse.de>
43990
43991 [BZ #15448]
43992 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43993 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43994
43995 2013-05-10 Joseph Myers <joseph@codesourcery.com>
43996
43997 * math/gen-libm-test.pl (adjust_arg): New function.
43998 (special_functions): Handle generating output in both functions
43999 and arrays.
44000 (parse_args): Likewise.
44001 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
44002 $in_func argument to parse_args.
44003 * math/libm-test.inc (struct test_f_f_data): New type.
44004 (IF_ROUND_INIT_): New macro.
44005 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44006 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44007 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44008 (IF_ROUND_INIT_FE_UPWARD): Likewise.
44009 (ROUND_RESTORE_): Likewise.
44010 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44011 (ROUND_RESTORE_FE_TONEAREST): Likewise.
44012 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44013 (ROUND_RESTORE_FE_UPWARD): Likewise.
44014 (RUN_TEST_LOOP_f_f): New macro.
44015 (acos_test_data): New variable.
44016 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44017 (acos_tonearest_test_data): New variable.
44018 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44019
44020 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44021
44022 * benchtests/bench-skeleton.c (startup): Fix coding style.
44023
44024 2013-05-10 Joseph Myers <joseph@codesourcery.com>
44025
44026 [BZ #6809]
44027 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44028 negative infinity argument.
44029 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44030 negative infinity argument.
44031 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44032 negative infinity argument.
44033 * math/libm-test.inc (tgamma_test): Expect errno to be set for
44034 domain errors.
44035
44036 2013-05-10 Florian Weimer <fweimer@redhat.com>
44037
44038 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44039 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44040 * iconv/iconv_prog.c (main): Likewise.
44041 * locale/programs/charmap-dir.c (charmap_readdir)
44042 (fopen_uncompressed): Likewise.
44043 * locale/programs/locfile.c (siblings_uncached)
44044 (write_locale_data): Use lstat64 instead of lstat.
44045 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44046 stat.
44047
44048 2013-05-10 Andreas Jaeger <aj@suse.de>
44049
44050 [BZ #15395]
44051 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44052 localization.
44053 Include <locale.h>.
44054
44055 2013-05-09 Carlos O'Donell <carlos@redhat.com>
44056
44057 * elf/dl-close.c (_dl_close_worker): Add comments.
44058
44059 2013-05-09 Joseph Myers <joseph@codesourcery.com>
44060
44061 [BZ #15359]
44062 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44063 high part of pi/2.
44064 (__ieee754_rem_pio2l): Update comments.
44065
44066 [BZ #15429]
44067 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44068 high part of pi/2.
44069 (__ieee754_rem_pio2l): Update comments.
44070
44071 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44072 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44073
44074 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44075 M_PI_4l.
44076
44077 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44078 (M_PI_34_LOG10El): Likewise.
44079 (M_PI2_LOG10El): Likewise.
44080 (M_PI4_LOG10El): Likewise.
44081 (M_PI_LOG10El): Likewise.
44082
44083 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44084
44085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44086
44087 2013-05-08 Joseph Myers <joseph@codesourcery.com>
44088
44089 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44090 (MINUS_ZERO_INIT): Likewise.
44091 (PLUS_INFTY_INIT): Likewise.
44092 (MINUS_INFTY_INIT): Likewise.
44093 (QNAN_VALUE_INIT): Likewise.
44094 (MAX_VALUE_INIT): Likewise.
44095 (MIN_VALUE_INIT): Likewise.
44096 (MIN_SUBNORM_VALUE_INIT): Likewise.
44097 (plus_zero): Initialize with PLUS_ZERO_INIT.
44098 (minus_zero): Initialize with MINUS_ZERO_INIT.
44099 (plus_infty): Initialize with PLUS_INFTY_INIT.
44100 (minus_infty): Initialize with MINUS_INFTY_INIT.
44101 (qnan_value): Initialize with QNAN_VALUE_INIT.
44102 (max_value): Initialize with MAX_VALUE_INIT.
44103 (min_value): Initialize with MIN_VALUE_INIT.
44104 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44105
44106 * math/libm-test.inc (RUN_TEST_if_f): New macro.
44107 (jn_test): Use TEST_if_f instead of TEST_ff_f.
44108 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44109 (yn_test): Use TEST_if_f instead of TEST_ff_f.
44110
44111 * math/libm-test.inc (RUN_TEST_f_f): New macro.
44112 (RUN_TEST_2_f): Likewise.
44113 (RUN_TEST_ff_f): Likewise.
44114 (RUN_TEST_fi_f): Likewise.
44115 (RUN_TEST_fl_f): Likewise.
44116 (RUN_TEST_fff_f): Likewise.
44117 (RUN_TEST_c_f): Likewise.
44118 (RUN_TEST_f_f1): Likewise.
44119 (RUN_TEST_fF_f1): Likewise.
44120 (RUN_TEST_fI_f1): Likewise.
44121 (RUN_TEST_ffI_f1): Likewise.
44122 (RUN_TEST_c_c): Likewise.
44123 (RUN_TEST_cc_c): Likewise.
44124 (RUN_TEST_f_i): Likewise.
44125 (RUN_TEST_f_i_tg): Likewise.
44126 (RUN_TEST_ff_i_tg): Likewise.
44127 (RUN_TEST_f_b): Likewise.
44128 (RUN_TEST_f_b_tg): Likewise.
44129 (RUN_TEST_f_l): Likewise.
44130 (RUN_TEST_f_L): Likewise.
44131 (RUN_TEST_sincos): Likewise.
44132 * math/gen-libm-test.pl (new_test): Take new argument to indicate
44133 whether to show exceptions. Do not include ");\n" in return
44134 value.
44135 (special_functions): Output call to RUN_TEST_sincos instead of
44136 check_float calls. Update calls to new_test.
44137 (parse_args): Output call to single RUN_TEST_* macro instead of
44138 check_* calls and other assignments. Update calls to new_test.
44139
44140 [BZ #2546]
44141 [BZ #2560]
44142 [BZ #5159]
44143 [BZ #15426]
44144 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44145 input to result for tgamma overflow.
44146 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44147 (gamma_coeff): New variable.
44148 (NCOEFF): New macro.
44149 (gamma_positive): New function.
44150 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44151 underflow here. Use gamma_positive instead of exp (lgamma) for
44152 other arguments.
44153 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44154 (gamma_coeff): New variable.
44155 (NCOEFF): New macro.
44156 (gammaf_positive): New function.
44157 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44158 underflow here. Use gamma_positive instead of exp (lgamma) for
44159 other arguments.
44160 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44161 (gamma_coeff): New variable.
44162 (NCOEFF): New macro.
44163 (gammal_positive): New function.
44164 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44165 underflow here. Use gamma_positive instead of exp (lgamma) for
44166 other arguments.
44167 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44168 (gamma_coeff): New variable.
44169 (NCOEFF): New macro.
44170 (gammal_positive): New function.
44171 (__ieee754_gammal_r): Handle positive infinity, overflow and
44172 underflow here. Handle NaN the same as positive infinity. Remove
44173 check x < 0xffffffff for negative integers. Use gamma_positive
44174 instead of exp (lgamma) for other arguments.
44175 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44176 (gamma_coeff): New variable.
44177 (NCOEFF): New macro.
44178 (gammal_positive): New function.
44179 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44180 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44181 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44182 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44184 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44185 * sysdeps/generic/math_private.h (__gamma_productf): New
44186 prototype.
44187 (__gamma_product): Likewise.
44188 (__gamma_productl): Likewise.
44189 * math/Makefile (libm-calls): Add gamma_product.
44190 * math/libm-test.inc (tgamma_test): Add more tests.
44191 * sysdeps/i386/fpu/libm-test-ulps: Update.
44192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44193
44194 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
44195
44196 * benchtests/bench-skeleton.c (main): Preheat CPU.
44197
44198 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
44199
44200 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44201
44202 2013-05-07 Roland McGrath <roland@hack.frob.com>
44203
44204 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44205 and _dl_skip_args_internal.
44206
44207 2013-05-07 Carlos O'Donell <carlos@redhat.com>
44208
44209 * manual/message.texi (Message Translation): Talk about users.
44210 Message to key mapping impacts design.
44211
44212 2013-05-06 Roland McGrath <roland@hack.frob.com>
44213
44214 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44215
44216 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44217
44218 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44219 * sysdeps/wordsize-64/glob64.c: ... here.
44220
44221 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44222 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44223 New macros.
44224
44225 * debug/getlogin_r_chk.c: Moved to ...
44226 * login/getlogin_r_chk.c: ... here.
44227 * debug/Makefile (routines): Move getlogin_r_chk to ...
44228 * login/Makefile (routines): ... here.
44229 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44230 * login/Versions (libc: GLIBC_2.4): ... here.
44231
44232 * io/poll.c (__poll): Renamed from poll.
44233 Add libc_hidden_def.
44234 (poll): Define as weak alias.
44235
44236 * debug/ptsname_r_chk.c: Moved to ...
44237 * login/ptsname_r_chk.c: ... here.
44238 * debug/Makefile (routines): Move ptsname_r_chk to ...
44239 * login/Makefile (routines): ... here.
44240 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44241 * login/Versions (libc: GLIBC_2.4): ... here.
44242
44243 * posix/getlogin.c: Moved to ...
44244 * login/getlogin.c: ... here.
44245 * posix/getlogin_r.c: Moved to ...
44246 * login/getlogin_r.c: ... here.
44247 * posix/getlogin_r.c: Moved to ...
44248 * login/getlogin_r.c: ... here.
44249 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44250 * login/Makefile (routines): ... here.
44251 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44252 * login/Versions (libc: GLIBC_2.0): ... here.
44253
44254 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44255 (setrlimit): Define as weak alias.
44256
44257 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44258 Call __ names for open, ftruncate, and close.
44259 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44260 (truncate): Define as weak alias.
44261
44262 2013-05-06 Joseph Myers <joseph@codesourcery.com>
44263
44264 * math/gen-libm-test.pl (parse_args): Initialize x before each
44265 test of frexp, modf and remquo.
44266
44267 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44268 test signgam value.
44269
44270 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44271
44272 [BZ #15418]
44273 [BZ #15419]
44274 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44275 internal tests.
44276 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44277
44278 2013-05-06 Roland McGrath <roland@hack.frob.com>
44279
44280 * elf/dl-writev.h: New file.
44281 * elf/dl-misc.c: Include it.
44282 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44283 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44284
44285 2013-05-04 Joseph Myers <joseph@codesourcery.com>
44286
44287 * math/libm-test.inc (noXFails): Remove variable.
44288 (noXPasses): Likewise.
44289 (BUILD_COMPLEX_INT): Remove macro.
44290 (print_screen): Remove xfail argument.
44291 (print_screen_max_error): Likewise.
44292 (update_stats): Likewise.
44293 (print_max_error): Likewise. Update calls to other affected
44294 functions.
44295 (print_complex_max_error): Likewise.
44296 (test_single_exception): Update calls to print_screen.
44297 (test_single_errno): Likewise.
44298 (check_float_internal): Remove xfail argument. Update calls to
44299 other affected functions.
44300 (check_float): Likewise.
44301 (check_complex): Likewise.
44302 (check_int): Likewise.
44303 (check_long): Likewise.
44304 (check_bool): Likewise.
44305 (check_longlong): Likewise.
44306 (main): Don't print noXFails and noXPasses.
44307 * math/gen-libm-test.pl (top level): Don't mention expected
44308 failure handling in comment.
44309 (new_test): Don't handle expected failures.
44310 (parse_args): Don't mention expected failure handling in comment.
44311 (generate_testfile): Don't handle expected failures.
44312 (parse_ulps): Likewise.
44313 (print_ulps_file): Likewise.
44314 (get_failure): Remove function.
44315 (output_test): Don't handle expected failures.
44316 * make/README.libm-test: Don't mention expected failure handling.
44317
44318 * math/libm-test.inc (plus_zero): Make const. Add initializer.
44319 (minus_zero): Likewise.
44320 (plus_infty): Likewise.
44321 (minus_infty): Likewise.
44322 (qnan_value): Likewise.
44323 (max_value): Likewise.
44324 (min_value): Likewise.
44325 (min_subnorm_value): Likewise.
44326 (initialize): Do not initialize those variables dynamically.
44327
44328 2013-05-03 Roland McGrath <roland@hack.frob.com>
44329
44330 * io/open.c (__open_2): Moved to ...
44331 * io/open_2.c: ... this new file.
44332 * io/open64.c (__open64_2): Moved to ...
44333 * io/open64_2.c: ... this new file.
44334 * io/openat.c (__openat_2): Moved to ...
44335 * io/openat_2.c: ... this new file.
44336 * io/openat64.c (__openat64_2): Moved to ...
44337 * io/openat64_2.c: ... this new file.
44338 * io/Makefile (routines): Add them.
44339 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44340 * sysdeps/unix/sysv/linux/open_2.c: File removed.
44341 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44342 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44343 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44344 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44345 (__openat64): Add hidden_ver.
44346 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44347 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44348
44349 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44350 Separately conditionalize setting of GLRO(dl_sysinfo) so
44351 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44352 as well, but the actual setting is only under [NEED_DL_SYSINFO].
44353
44354 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44355
44356 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44357 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44358 definition.
44359 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44360 * sysdeps/unix/sysv/linux/powerpc/init-first.c
44361 (_libc_vdso_platform_setup): Add __vdso_time initialization.
44362 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44363 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44364
44365 2013-05-03 Joseph Myers <joseph@codesourcery.com>
44366
44367 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44368 test signgam value.
44369
44370 * math/libm-test.inc (hypot_test): Do not use
44371 IGNORE_ZERO_INF_SIGN.
44372
44373 2013-05-03 Andreas Jaeger <aj@suse.de>
44374
44375 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44376 Linux 3.9.
44377 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44378 (PF_MAX): Adjust for VSOCK change.
44379
44380 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44381
44382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44383
44384 2013-05-02 Carlos O'Donell <carlos@redhat.com>
44385
44386 [BZ #15264]
44387 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44388 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44389 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44390
44391 2013-05-02 David S. Miller <davem@davemloft.net>
44392
44393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44394
44395 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
44396
44397 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44398
44399 2013-05-01 Roland McGrath <roland@hack.frob.com>
44400
44401 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44402
44403 2013-05-01 Richard Smith <richard@metafoo.co.uk>
44404
44405 [BZ #14952]
44406 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44407 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44408 Use __attribute__ ((__gnu_inline__)).
44409 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44410 Don't use __attribute__ ((__gnu_inline__)).
44411
44412 2013-05-01 Joseph Myers <joseph@codesourcery.com>
44413
44414 [BZ #15423]
44415 * math/s_catan.c (__catan): Handle small real or imaginary part of
44416 input specially to avoid spurious underflow.
44417 * math/s_catanf.c (__catanf): Likewise.
44418 * math/s_catanh.c (__catanh): Likewise.
44419 * math/s_catanhf.c (__catanhf): Likewise.
44420 * math/s_catanhl.c (__catanhl): Likewise.
44421 * math/s_catanl.c (__catanl): Likewise.
44422 * math/libm-test.inc (catan_test): Add more tests.
44423 (catanh_test): Likewise.
44424 * sysdeps/i386/fpu/libm-test-ulps: Update.
44425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44426
44427 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44428
44429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44430
44431 2013-04-30 Joseph Myers <joseph@codesourcery.com>
44432
44433 [BZ #15416]
44434 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44435 accurately for denominator in atan2.
44436 * math/s_catanf.c (__catanf): Likewise.
44437 * math/s_catanh.c (__catanh): Likewise.
44438 * math/s_catanhf.c (__catanhf): Likewise.
44439 * math/s_catanhl.c (__catanhl): Likewise.
44440 * math/s_catanl.c (__catanl): Likewise.
44441 * math/libm-test.inc (catan_test): Add more tests.
44442 (catanh_test): Likewise.
44443 * sysdeps/i386/fpu/libm-test-ulps: Update.
44444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44445
44446 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44447
44448 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44449
44450 * benchtests/Makefile (bench): Remove slow benchmarks.
44451 * benchtests/atan-inputs: Add slow benchmark inputs.
44452 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44453 (BENCH_FUNC): Accept variant offset.
44454 (VARIANT): Define.
44455 * benchtests/bench-skeleton.c (main): Run benchmark for each
44456 variant.
44457 * benchtests/cos-inputs: Add slow benchmark inputs.
44458 * benchtests/exp-inputs: Likewise.
44459 * benchtests/pow-inputs: Likewise.
44460 * benchtests/sin-inputs: Likewise.
44461 * benchtests/slowatan-inputs: Remove.
44462 * benchtests/slowatan.c: Remove.
44463 * benchtests/slowcos-inputs: Remove.
44464 * benchtests/slowcos.c: Remove.
44465 * benchtests/slowexp-inputs: Remove.
44466 * benchtests/slowexp.c: Remove.
44467 * benchtests/slowpow-inputs: Remove.
44468 * benchtests/slowpow.c: Remove.
44469 * benchtests/slowsin-inputs: Remove.
44470 * benchtests/slowsin.c: Remove.
44471 * benchtests/slowtan-inputs: Remove.
44472 * benchtests/slowtan.c: Remove.
44473 * benchtests/tan-inputs: Add slow benchmark inputs.
44474 * scripts/bench.pl: Parse comments and directives.
44475
44476 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
44477 in CPPFLAGS.
44478 ($(objpfx)bench-%.c): Remove *-ITER.
44479 * benchtests/bench-modf.c: Remove definition of ITER.
44480 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44481 (main): Loop for DURATION seconds instead of fixed number of
44482 iterations.
44483 * scripts/bench.pl: Don't expect iterations in parameters.
44484
44485 2013-04-29 Roland McGrath <roland@hack.frob.com>
44486
44487 * io/fchdir.c (__fchdir): Renamed from fchdir.
44488 (fchdir): Define as weak alias.
44489
44490 2013-04-29 Joseph Myers <joseph@codesourcery.com>
44491
44492 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44493 (ERRNO_EDOM): Likewise.
44494 (ERRNO_ERANGE): Likewise.
44495 (noErrnoTests): New variable.
44496 (init_max_error): Set errno to 0.
44497 (test_single_errno): New function.
44498 (test_errno): Likewise.
44499 (check_float_internal): Call test_errno. Set errno to 0.
44500 (check_complex): Refer to errno tests in comment.
44501 (check_int): Call test_errno. Set errno to 0.
44502 (check_long): Likewise.
44503 (check_bool): Likewise.
44504 (check_longlong): Likewise.
44505 (cos_test): Use ERRNO_* flags for errno tests instead of
44506 check_int.
44507 (expm1_test): Likewise.
44508 (fmod_test): Likewise.
44509 (ilogb_test): Likewise.
44510 (lgamma_test): Likewise.
44511 (pow_test): Likewise.
44512 (remainder_test): Likewise.
44513 (sin_test): Likewise.
44514 (tan_test): Likewise.
44515 (yn_test): Likewise.
44516 (initialize): Set errno to 0.
44517 (main): Print number of errno tests.
44518 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44519
44520 2013-04-29 Andreas Jaeger <aj@suse.de>
44521
44522 [BZ #15084]
44523 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44524 and RES_USEVC.
44525
44526 [BZ #15085]
44527 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44528 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44529 unimplemented.
44530
44531 [BZ #15380]
44532 * stdlib/random.c (__initstate): Return NULL if
44533 __initstate fails.
44534
44535 [BZ #15086]
44536 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44537 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44538 RES_SNGLKUPREOP.
44539
44540 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44541
44542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44543
44544 2013-04-29 Joseph Myers <joseph@codesourcery.com>
44545
44546 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44547 of individual tests.
44548 (casin_test): Likewise.
44549 (casinh_test): Likewise.
44550
44551 2013-04-27 Joseph Myers <joseph@codesourcery.com>
44552
44553 [BZ #15409]
44554 * math/s_catan.c (__catan): Handle arguments with large real or
44555 imaginary part separately without squaring.
44556 * math/s_catanf.c (__catanf): Likewise.
44557 * math/s_catanh.c (__catanh): Likewise.
44558 * math/s_catanhf.c (__catanhf): Likewise.
44559 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44560 and redefine.
44561 (__catanhl): Handle arguments with large real or imaginary part
44562 separately without squaring.
44563 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44564 and redefine.
44565 (__catanl): Handle arguments with large real or imaginary part
44566 separately without squaring.
44567 * math/libm-test.inc (catan_test): Add more tests.
44568 (catanh_test): Likewise.
44569 * sysdeps/i386/fpu/libm-test-ulps: Update.
44570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44571
44572 2013-04-27 Andreas Jaeger <aj@suse.de>
44573
44574 [BZ #15007]
44575 * stdlib/stdlib.h: Update guards for qecvt.
44576 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44577 <stdlib.h>.
44578
44579 2013-04-27 Allan McRae <allan@archlinux.org>
44580
44581 * sysdeps/i386/fpu/libm-test-ulps: Update.
44582
44583 2013-04-26 Joseph Myers <joseph@codesourcery.com>
44584
44585 [BZ #15406]
44586 * math/s_catan.c: Include <float.h>.
44587 (__catan): Ensure underflow exception occurs for underflowed
44588 result.
44589 * math/s_catanf.c: Include <float.h>.
44590 (__catanf): Ensure underflow exception occurs for underflowed
44591 result.
44592 * math/s_catanh.c: Include <float.h>.
44593 (__catanh): Ensure underflow exception occurs for underflowed
44594 result.
44595 * math/s_catanhf.c: Include <float.h>.
44596 (__catanhf): Ensure underflow exception occurs for underflowed
44597 result.
44598 * math/s_catanhl.c: Include <float.h>.
44599 (__catanhl): Ensure underflow exception occurs for underflowed
44600 result.
44601 * math/s_catanl.c: Include <float.h>.
44602 (__catanl): Ensure underflow exception occurs for underflowed
44603 result.
44604 * math/libm-test.inc (catan_test): Add more tests.
44605 (catanh_test): Likewise.
44606
44607 [BZ #15405]
44608 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44609 underflowed result.
44610 * math/s_ccoshf.c (__ccoshf): Likewise.
44611 * math/s_ccoshl.c (__ccoshl): Likewise.
44612 * math/s_csin.c (__csin): Likewise.
44613 * math/s_csinf.c (__csinf): Likewise.
44614 * math/s_csinh.c (__csinh): Likewise.
44615 * math/s_csinhf.c (__csinhf): Likewise.
44616 * math/s_csinhl.c (__csinhl): Likewise.
44617 * math/s_csinl.c (__csinl): Likewise.
44618 * math/libm-test.inc (ccos_test): Add more tests.
44619 (ccosh_test): Likewise.
44620 (csin_test): Likewise.
44621 (csinh_test): Likewise.
44622
44623 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44624
44625 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44626 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44627 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44628 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44629 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44630 powerpc/power5+/fpu folders.
44631 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44632
44633
44634 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
44635
44636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44637
44638 2013-04-25 Joseph Myers <joseph@codesourcery.com>
44639
44640 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44641 additions to variable.
44642 [$(config-machine) = x86_64] (modules-names): Likewise.
44643 ($(objpfx)tst-audit3): Remove dependency.
44644 ($(objpfx)tst-audit3.out): Likewise.
44645 ($(objpfx)tst-audit4): Likewise.
44646 ($(objpfx)tst-audit4.out): Likewise.
44647 ($(objpfx)tst-audit5): Likewise.
44648 ($(objpfx)tst-audit5.out): Likewise.
44649 ($(objpfx)tst-audit6): Likewise.
44650 ($(objpfx)tst-audit6.out): Likewise.
44651 ($(objpfx)tst-audit7): Likewise.
44652 ($(objpfx)tst-audit7.out): Likewise.
44653 (tst-audit3-ENV): Remove variable.
44654 (tst-audit4-ENV): Likewise.
44655 (tst-audit5-ENV): Likewise.
44656 (tst-audit6-ENV): Likewise.
44657 (tst-audit7-ENV): Likewise.
44658 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44659 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44660 addition to variable.
44661 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44662 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44663 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44664 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44665 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44666 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44667 tst-audit3, tst-audit4 and tst-audit5.
44668 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44669 tst-audit6 and tst-audit7.
44670 [$(subdir) = elf] (modules-names): Add audit modules for those
44671 tests.
44672 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44673 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44674 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44675 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44676 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44677 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44678 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44679 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44680 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44681 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44682 [$(subdir) = elf] (tst-audit3-ENV): New variable.
44683 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44684 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44685 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44686 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44687 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44688 Likewise.
44689 [$(subdir) = elf && $(config-cflags-avx) = yes]
44690 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44691 [$(subdir) = elf && $(config-cflags-avx) = yes]
44692 (CFLAGS-tst-auditmod4a.c): Likewise.
44693 [$(subdir) = elf && $(config-cflags-avx) = yes]
44694 (CFLAGS-tst-auditmod4b.c): Likewise.
44695 [$(subdir) = elf && $(config-cflags-avx) = yes]
44696 (CFLAGS-tst-auditmod6b.c): Likewise.
44697 [$(subdir) = elf && $(config-cflags-avx) = yes]
44698 (CFLAGS-tst-auditmod6c.c): Likewise.
44699 [$(subdir) = elf && $(config-cflags-avx) = yes]
44700 (CFLAGS-tst-auditmod7b.c): Likewise.
44701 * elf/tst-audit3.c: Move to ...
44702 * sysdeps/x86_64/tst-audit3.c: ... here.
44703 * elf/tst-audit4.c: Move to ...
44704 * sysdeps/x86_64/tst-audit4.c: ... here.
44705 * elf/tst-audit5.c: Move to ...
44706 * sysdeps/x86_64/tst-audit5.c: ... here.
44707 * elf/tst-audit6.c: Move to ...
44708 * sysdeps/x86_64/tst-audit6.c: ... here.
44709 * elf/tst-audit7.c: Move to ...
44710 * sysdeps/x86_64/tst-audit7.c: ... here.
44711 * elf/tst-auditmod3a.c: Move to ...
44712 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44713 * elf/tst-auditmod3b.c: Move to ...
44714 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44715 * elf/tst-auditmod4a.c: Move to ...
44716 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44717 * elf/tst-auditmod4b.c: Move to ...
44718 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44719 * elf/tst-auditmod5a.c: Move to ...
44720 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44721 * elf/tst-auditmod5b.c: Move to ...
44722 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44723 * elf/tst-auditmod6a.c: Move to ...
44724 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44725 * elf/tst-auditmod6b.c: Move to ...
44726 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44727 * elf/tst-auditmod6c.c: Move to ...
44728 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44729 * elf/tst-auditmod7a.c: Move to ...
44730 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44731 * elf/tst-auditmod7b.c: Move to ...
44732 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44733
44734 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
44735
44736 [BZ #15366]
44737 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44738 define unconditionally.
44739 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44740 define unconditionally.
44741 (INT8_C, INT16_C, etc.): Likewise.
44742
44743 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
44744
44745 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44746 __ehdr_start with hidden visibility.
44747
44748 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44749
44750 2013-04-24 Carlos O'Donell <carlos@redhat.com>
44751
44752 * math/libm-test.inc (cos_test): Use accurate hex constants.
44753 (sincost_test): Likewise.
44754
44755 2013-04-24 Joseph Myers <joseph@codesourcery.com>
44756
44757 * math/libm-test.inc (catan_test): Add more tests.
44758 (catanh_test): Likewise.
44759
44760 * math/s_catanf.c (__catanf): Use suffixed floating-point
44761 constants.
44762 * math/s_catanhf.c (__catanhf): Likewise.
44763 * math/s_catanhl.c (__catanhl): Likewise.
44764 * math/s_catanl.c (__catanl): Likewise.
44765
44766 [BZ #15394]
44767 * math/s_catan.c (__catan): Calculate imaginary part of result
44768 with log1p not log unless computing log of number close to 0.
44769 * math/s_catanf.c (__catanf): Likewise.
44770 * math/s_catanl.c (__catanl): Likewise.
44771 * math/s_catanh.c (__catanh): Calculate real part of result with
44772 log1p not log unless computing log of number close to 0.
44773 * math/s_catanhf.c (__catanhf): Likewise.
44774 * math/s_catanhl.c (__catanhl): Likewise.
44775 * math/libm-test.inc (catan_test): Add more tests.
44776 (catanh_test): Likewise.
44777 * sysdeps/i386/fpu/libm-test-ulps: Update.
44778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44779
44780 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
44781
44782 * benchtests/Makefile: Mention files in which fast and slow
44783 paths of math functions are implemented.
44784
44785 2013-04-23 Roland McGrath <roland@hack.frob.com>
44786
44787 * sysdeps/posix/timespec_get.c: New file.
44788
44789 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44790
44791 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44792 POWER.
44793 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44794 for POWER.
44795 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44796 powerpc/power5/fpu folders.
44797 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44798 * benchtests/Makefile: Add modf testcase.
44799 * benchtests/bench-modf.c: New file: Benchmark test for mo
44800
44801 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
44802
44803 [BZ #14888]
44804 * time/Makefile (tests): Add tst-strptime-whitespace.
44805 * time/strptime_l.c (get_number): Use ISSPACE.
44806 (__strptime_internal): Likewise.
44807 * time/tst-strptime-whitespace.c: New test case.
44808
44809 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
44810
44811 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44812 member.
44813 (_nss_files_init): Set it here.
44814
44815 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
44816
44817 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44818 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44819 unsigned.
44820
44821 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
44822
44823 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44824
44825 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44826
44827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44828 size just once.
44829
44830 2013-04-21 David S. Miller <davem@davemloft.net>
44831
44832 * po/ru.po: Update Russion translation from translation project.
44833
44834 2013-04-17 Adam Conrad <adconrad@0c3.net>
44835
44836 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44837 and setfsgid.
44838
44839 2013-04-17 Carlos O'Donell <carlos@redhat.com>
44840
44841 * configure.in: Remove i386 configure warning. Remove i386 case.
44842 * configure: Regenerate.
44843 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44844 Add example to error message.
44845 * sysdeps/i386/configure: Regenerate.
44846
44847 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44848
44849 * benchtests/Makefile (bench): Add cos, tan, slowcos and
44850 slowtan.
44851 * benchtests/cos-inputs: New file.
44852 * benchtests/slowcos-inputs: New file.
44853 * benchtests/slowcos.c: New file.
44854 * benchtests/slowtan-inputs: New file.
44855 * benchtests/slowtan.c: New file.
44856 * benchtests/tan-inputs: New file.
44857
44858 2013-04-16 Roland McGrath <roland@hack.frob.com>
44859
44860 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44861 considered kosher.
44862
44863 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44864
44865 * benchtests/Makefile: Include cppflags-iterator.mk to add
44866 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44867
44868 * Makefile.in (bench-clean): New target.
44869 * benchtests/Makefile (bench-clean): Likewise.
44870
44871 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
44872
44873 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44874
44875 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
44876
44877 * stdio-common/tstdiomisc.c: Fix coding-style violation.
44878
44879 2013-04-15 Andreas Schwab <schwab@suse.de>
44880
44881 * nscd/grpcache.c (cache_addgr): Properly check for short write.
44882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44883 * nscd/pwdcache.c (cache_addpw): Likewise.
44884 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
44885 more than recsize.
44886
44887 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44888
44889 * benchtests/Makefile (bench): Write all output to
44890 bench-out.tmp together.
44891
44892 2013-04-15 Andreas Schwab <schwab@suse.de>
44893
44894 * nscd/nscd.c (main): Don't fork again after closing files.
44895
44896 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44897
44898 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44899
44900 * benchtests/Rules (bench-deps): Collect dependencies into a
44901 single variable. Add Makefile to dependencies.
44902 ($(objpfx)bench-%.c): Depend on bench-deps.
44903
44904 2013-04-12 Roland McGrath <roland@hack.frob.com>
44905 Xavier Roche <roche+kml2@exalead.com>
44906
44907 [BZ #15361]
44908 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44909 just that it's a file descriptor.
44910 * manual/llio.texi (Synchronizing AIO Operations): Update description
44911 for EBADF error from aio_fsync.
44912
44913 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44914
44915 * Rules (bench): Move target definition...
44916 * benchtests/Makefile: ... here.
44917
44918 2013-04-11 Carlos O'Donell <carlos@redhat.com>
44919
44920 * math/libm-test.inc (cos_test): Fix PI/2 test.
44921 (sincos_test): Likewise.
44922 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44923 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44924
44925 2013-04-11 Andreas Schwab <schwab@suse.de>
44926
44927 [BZ #13988]
44928 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44929 accept exponent character only when digits were seen.
44930 * stdio-common/Makefile (tests): Add bug26.
44931 * stdio-common/bug26.c: New file.
44932
44933 [BZ #14293]
44934 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44935 non-freeable.
44936
44937 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
44938
44939 * Makeconfig (rtld-prefix): Define built linker prefix.
44940 * Rules (run-bench): Use it.
44941 * math/Makefile (run-regen-ulps): Likewise.
44942
44943 * Rules (bench): Remove eval.
44944
44945 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44946 Roland McGrath <roland@hack.frob.com>
44947 Ondrej Bilka <neleai@seznam.cz>
44948
44949 [BZ #15346]
44950 * time/getdate.c: Include ctype.h and alloca.h.
44951 (__getdate_r): Trim leading and trailing spaces of input.
44952 * time/tst-getdate.c (tests): Add tests with leading and
44953 trailing spaces.
44954
44955 2013-04-08 Roland McGrath <roland@hack.frob.com>
44956
44957 [BZ #14280]
44958 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44959 when computing value.
44960
44961 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44962
44963 * math/README.libm-test (How can I generate "libm-test-ulps"?):
44964 Use testrun.sh to run libm tests.
44965
44966 [BZ #15309]
44967 * elf/dl-open.c (dl_open_worker): memset all of seen array.
44968
44969 2013-04-06 Marko Myllynen <myllynen@redhat.com>
44970
44971 [BZ #15264]
44972 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44973
44974 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44975
44976 * Makefile.in (regen-ulps): New target.
44977 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44978 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44979 [ifneq (no,$(PERL)] (regen-ulps): New target.
44980 [ifeq (no,$(PERL)] (regen-ulps): New target.
44981 * math/libm-test.inc (ulps_file_name): Define.
44982 (output_dir): New variable.
44983 (options): Add "output-dir" option.
44984 (parse_opt): Handle 'o' case.
44985 (main): If output_dir is non-NULL use it as a prefix
44986 otherwise use "".
44987 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44988
44989 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44990
44991 [BZ #10060, #10062]
44992 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44993 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44994 fail configure if __sync_val_compare_and_swap is not inlined.
44995 * sysdeps/i386/configure: Regenerate.
44996 * configure.in: Build for i686 when configured for i386.
44997 * configure: Regenerate.
44998 * README: Remove i386 reference.
44999
45000 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45001
45002 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45003 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45004
45005 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
45006
45007 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45008 (lmsnanval): New variables.
45009 (F): Add conversion tests.
45010 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45011 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45012
45013 * stdio-common/tstdiomisc.c (F): Properly collect individual
45014 tests' results.
45015
45016 [BZ #14686, #15336]
45017 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45018 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45019 Instead, use input NaN values or generate a qNaN by arithmetic
45020 operation. Also fix bugs to comply with the standard.
45021 * math/libm-test.inc (remainder_test): Add more tests.
45022
45023 [BZ #15335, #15342]
45024 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45025 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45026 input NaN values or generate a qNaN by arithmetic operation.
45027
45028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45029 unreachable code.
45030
45031 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45032 definitions.
45033
45034 2013-04-03 Joseph Myers <joseph@codesourcery.com>
45035
45036 [BZ #14478]
45037 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45038 underflowed result.
45039 * math/s_cexpf.c (__cexpf): Likewise.
45040 * math/s_cexpl.c (__cexpl): Likewise.
45041 * math/libm-test.inc (cexp_test): Add more tests.
45042
45043 2013-04-03 Andreas Schwab <schwab@suse.de>
45044
45045 [BZ #15330]
45046 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45047 order arrays from heap if bigger than alloca cutoff.
45048
45049 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
45050
45051 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45052 (SNAN_TESTS_double): Refer to GCC PR56831.
45053 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45054 GCC PR56828.
45055
45056 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45057
45058 * Rules (bench): Move bench.out after the run is complete.
45059
45060 * Rules (bench): Echo currently running benchmark.
45061
45062 * benchtests/Makefile (bench): Add atan and slowatan.
45063 * benchtests/atan-inputs: New file.
45064 * benchtests/slowatan-inputs: New file.
45065 * benchtests/slowatan.c: New file.
45066
45067 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45068 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45069 its value.
45070
45071 [BZ #15305]
45072 * sysdeps/unix/sysv/linux/kernel-features.h
45073 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45074 __ASSUME_XFS_RESTRICTED_CHOWN.
45075 * sysdeps/unix/sysv/linux/pathconf.c
45076 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45077 Save and restore errno.
45078
45079 2013-04-02 Joseph Myers <joseph@codesourcery.com>
45080
45081 [BZ #15327]
45082 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45083 arguments using __kernel_casinh.
45084 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45085 arguments using __kernel_casinhf.
45086 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45087 arguments using __kernel_casinhl.
45088 * math/libm-test.inc (cacosh_test): Add more tests.
45089 * sysdeps/i386/fpu/libm-test-ulps: Update.
45090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45091
45092 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45093
45094 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45096
45097 * bench/Makefile (bench): Add sin and slowsin.
45098 * benchtests/sin-inputs: New file.
45099 * benchtests/slowsin-inputs: New file.
45100 * benchtests/slowsin.c: New file.
45101
45102 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45103 (bench): Add slowexp and slowpow.
45104 (exp-ITER): Increase iterations.
45105 (pow-ITER): Likewise.
45106 * benchtests/exp-inputs: Change input.
45107 * benchtests/pow-inputs: Likewise.
45108 * benchtests/slowexp-inputs: New file.
45109 * benchtests/slowexp.c: New file.
45110 * benchtests/slowpow-inputs: New file.
45111 * benchtests/slowpow.c: New file.
45112
45113 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45114
45115 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45116 instructions.
45117 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45118 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45119 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45120 * benchtests/Makefile: Add rint benchtest.
45121 * benchtests/rint-inputs: Input for rint benchtest.
45122
45123 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
45124
45125 * Versions.def (libm): Add GLIBC_2.18.
45126 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45127 hidden libm prototypes.
45128 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45129 * math/Makefile (libm-calls): Add s_issignaling.
45130 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45131 __issignalingf, __issignalingl. Adjust all libm.abilist files.
45132 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45133 declaration.
45134 * math/math.h [__USE_GNU] (issignaling): New macro.
45135 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45136 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45138 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45139 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45140 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45141 * manual/arith.texi (issignaling): New section.
45142 * manual/libm-err-tab.pl (@all_functions): Update comment.
45143 * math/gen-libm-test.pl (parse_args): Apply special handling for
45144 issignaling.
45145 * math/libm-test.inc (print_float, issignaling_test): New
45146 functions.
45147 (check_float_internal): Add issignaling checks.
45148 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45149 default definition.
45150 * sysdeps/powerpc/math-tests.h: New file.
45151 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45152 tests.
45153 * math/test-snan.c (TEST_FUNC): Likewise.
45154
45155 2013-03-30 David S. Miller <davem@davemloft.net>
45156
45157 * po/de.po: Update from translation team.
45158
45159 2013-03-30 Joseph Myers <joseph@codesourcery.com>
45160
45161 [BZ #10357]
45162 * math/k_casinh.c (__kernel_casinh): Handle arguments with
45163 imaginary part less than 1.0 and real part less than 0.5
45164 specially.
45165 * math/k_casinhf.c (__kernel_casinhf): Likewise.
45166 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45167 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45168 (cacos_test): Add more tests.
45169 (casin_test): Likewise.
45170 (casinh_test): Likewise.
45171 * sysdeps/i386/fpu/libm-test-ulps: Update.
45172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45173
45174 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
45175
45176 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45177 ONE with its value.
45178
45179 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45180 (__pow_mp): Replace ONE and MONE with their values.
45181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45183 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45184 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45185 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45186 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45187
45188 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45189
45190 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45191 (__pow_mp): Replace ZERO and MZERO with their values.
45192 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45194 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45196 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45197 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45198 (__sqr): Likewise.
45199
45200 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45201
45202 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45203
45204 2013-03-28 Roland McGrath <roland@hack.frob.com>
45205
45206 * include/stdlib.h [!SHARED] (__call_tls_dtors):
45207 Declare with __attribute__ ((weak)).
45208 * stdlib/exit.c (__libc_atexit) [!SHARED]:
45209 Call __call_tls_dtors only if it's not NULL.
45210
45211 2013-03-28 Roland McGrath <roland@hack.frob.com>
45212
45213 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45214 didn't do it already, then set _dl_phdr and _dl_phnum based on the
45215 magic __ehdr_start linker symbol if it's defined.
45216 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45217 them up here if it was already done.
45218
45219 * elf/dl-support.c (_dl_phdr): Make pointer to const.
45220 (_dl_aux_init): Use const in cast when setting it.
45221 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45222 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45223 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45224
45225 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45226 Declare them here.
45227 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45228 * csu/libc-tls.c: Nor here.
45229 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45230
45231 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45232 (__libc_message): Never call vsyslog.
45233
45234 2013-03-28 Alan Modra <amodra@gmail.com>
45235
45236 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45237 Define as empty.
45238 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45239 Likewise.
45240
45241 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45242
45243 [BZ #15214]
45244 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45245 underflow.
45246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45247
45248 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45249
45250 [BZ #15304]
45251 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45252 Don't add gid passed as argument.
45253
45254 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45255
45256 2013-03-27 Joseph Myers <joseph@codesourcery.com>
45257
45258 [BZ #15307]
45259 * math/k_casinh.c (__kernel_casinh): Handle arguments with
45260 imaginary part between 1.0 and 1.5 and real part less than 0.5
45261 specially.
45262 * math/k_casinhf.c (__kernel_casinhf): Likewise.
45263 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45264 * math/libm-test.inc (cacos_test): Add more tests.
45265 (casin_test): Likewise.
45266 (casinh_test): Likewise.
45267 * sysdeps/i386/fpu/libm-test-ulps: Update.
45268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45269
45270 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45271
45272 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45273 constants.
45274 (norm): Likewise.
45275 (denorm): Likewise.
45276 (__dbl_mp): Likewise.
45277 (add_magnitudes): Likewise.
45278 (sub_magnitudes): Likewise.
45279 (__add): Likewise.
45280 (__sub): Likewise.
45281 (__mul): Likewise.
45282 (__sqr): Likewise.
45283 (__inv): Likewise.
45284 (__dvd): Likewise.
45285
45286 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45287 commented code.
45288 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45289 (__dubcos): Likewise.
45290 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45291 (__ieee754_acos): Likewise.
45292 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45293 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45294 (__exp1): Likewise.
45295 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45296 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45297 (log1): Likewise.
45298 (my_log2): Likewise.
45299 (checkint): Likewise.
45300 * sysdeps/ieee754/dbl-64/e_remainder.c
45301 (__ieee754_remainder): Likewise.
45302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45304 (bsloww): Likewise.
45305 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45306
45307 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45308 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45309 MANTISSA_STORE_T to store computations on mantissa. Use
45310 macros for rounding and division.
45311 (denorm): Likewise.
45312 (__dbl_mp): Likewise.
45313 (add_magnitudes): Likewise.
45314 (sub_magnitudes): Likewise.
45315 (__mul): Likewise.
45316 (__sqr): Likewise.
45317 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
45318 powers of two in terms of TWOPOW macro.
45319 (mp_no): Make type of mantissa as MANTISSA_T.
45320 [!RADIXI]: Define RADIXI.
45321 [!TWO52]: Define TWO52.
45322 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45323
45324 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45325
45326 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45327 llroundl symbol when building for PPC32.
45328
45329 2013-03-24 Mark H Weaver <mhw@netris.org>
45330
45331 * manual/arith.texi (Normalization Functions): Fix prototypes for
45332 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45333
45334 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45335
45336 [BZ #13889]
45337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45338 high value to check if expl overflow.
45339 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45340 to check for underflow and overflow.
45341 * math/libm-test.inc: Add exp test.
45342
45343 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
45344
45345 [BZ #11120]
45346 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45347 with NOT_IN_libc.
45348
45349 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45350
45351 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45352 symbol.
45353
45354 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
45355
45356 * math/gen-libm-test.pl (parse_args, special_functions): Properly
45357 wrap blocks consisting of several statements.
45358
45359 * sysdeps/generic/math-tests.h: New file.
45360 * sysdeps/i386/fpu/math-tests.h: Likewise.
45361 * math/test-snan.c: Include it.
45362 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45363
45364 2013-03-21 Joseph Myers <joseph@codesourcery.com>
45365
45366 [BZ #15285]
45367 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45368 (__ieee754_j0l): Do not improve calculations using cos of twice
45369 input for inputs above LDBL_MAX / 2.0L.
45370 (__ieee754_y0l): Likewise.
45371 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45372 (__ieee754_j1l): Do not improve calculations using cos of twice
45373 input for inputs above LDBL_MAX / 2.0L.
45374 (__ieee754_y1l): Likewise.
45375 * math/libm-test.inc (j0_test): Add another test.
45376 (j1_test): Likewise.
45377 (y0_test): Likewise.
45378 (y1_test): Likewise.
45379 * sysdeps/i386/fpu/libm-test-ulps: Update.
45380
45381 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45382
45383 * Rules ($(objpfx)bench-%.c): Include code from a C source
45384 file.
45385
45386 2013-03-21 Joseph Myers <joseph@codesourcery.com>
45387
45388 [BZ #15287]
45389 * math/k_casinh.c (__kernel_casinh): Handle arguments with
45390 imaginary part 1.0 and real part less than 0.5 specially.
45391 * math/k_casinhf.c (__kernel_casinhf): Likewise.
45392 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45393 * math/libm-test.inc (cacos_test): Add more tests.
45394 (casin_test): Likewise.
45395 (casinh_test): Likewise.
45396 * sysdeps/i386/fpu/libm-test-ulps: Update.
45397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45398
45399 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45400
45401 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45402 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45403
45404 2013-03-20 Joseph Myers <joseph@codesourcery.com>
45405
45406 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45407 * config.make.in (config-cflags-sse4): Remove variable.
45408 (config-cflags-avx): Likewise.
45409 (config-cflags-sse2avx): Likewise.
45410 (config-cflags-novzeroupper): Likewise.
45411 (config-asflags-i686): Likewise.
45412 (have-mfma4): Likewise.
45413 (have-as-vis3): Likewise.
45414 (MIG): Likewise.
45415 * configure.in (MIG): Do not AC_SUBST.
45416 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45417 (libc_cv_cc_sse4): Do not AC_SUBST.
45418 (libc_cv_cc_avx): Likewise.
45419 (libc_cv_cc_sse2avx): Likewise.
45420 (libc_cv_cc_novzeroupper): Likewise.
45421 (libc_cv_cc_fma4): Likewise.
45422 (libc_cv_as_i686): Likewise.
45423 (libc_cv_sparc_as_vis3): Likewise.
45424 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45425 LIBC_CONFIG_VAR.
45426 (config-asflags-i686): Likewise.
45427 (config-cflags-avx): Likewise.
45428 (config-cflags-sse2avx): Likewise.
45429 (have-mfma4): Likewise.
45430 (config-cflags-novzeroupper): Likewise.
45431 * sysdeps/mach/configure.in (MIG): Likewise.
45432 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45433 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45434 LIBC_CONFIG_VAR.
45435 (config-cflags-avx): Likewise.
45436 (config-cflags-sse2avx): Likewise.
45437 (have-mfma4): Likewise.
45438 (config-cflags-novzeroupper): Likewise.
45439 * configure: Regenerated.
45440 * sysdeps/i386/configure: Likewise.
45441 * sysdeps/mach/configure: Likewise.
45442 * sysdeps/sparc/configure: Likewise.
45443 * sysdeps/x86_64/configure: Likewise.
45444
45445 2013-03-20 Roland McGrath <roland@hack.frob.com>
45446
45447 [BZ #14812]
45448 * locale/programs/localedef.c (options): Put N_ translation marker
45449 on argument names, not just descriptions.
45450
45451 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45452
45453 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45454
45455 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
45456
45457 [BZ #14176]
45458 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45459
45460 2013-03-19 Roland McGrath <roland@hack.frob.com>
45461
45462 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45463 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45464 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45465 [!BEFORE_ABORT] (before_abort): New function.
45466 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45467 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45468 (writev_for_fatal): New function.
45469 (WRITEV_FOR_FATAL): New macro; call that.
45470 (backtrace_and_maps): New function.
45471 (BEFORE_ABORT): New macro; call that.
45472 (struct str_list): Type removed.
45473 (__libc_message, __libc_fatal): Functions removed.
45474 Include <sysdeps/posix/libc_fatal.c> instead.
45475
45476 2013-03-19 Joseph Myers <joseph@codesourcery.com>
45477
45478 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45479 constants.
45480 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45481 double constants.
45482
45483 2013-03-19 Andreas Schwab <schwab@suse.de>
45484
45485 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45486 * sysdeps/gnu/configure: Regenerate.
45487
45488 * configure.in: Substitute libc_cv_rtlddir.
45489 * configure: Regenerate.
45490 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45491 * Makeconfig (rtlddir, inst_rtlddir): New variables.
45492 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45493 * elf/Makefile (install-others, CFLAGS-interp.c)
45494 (ldso_install, common-ldd-rewrite): Likewise.
45495 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45496 $(inst_slibdir)/$(rtld-installed-name).
45497 * scripts/rellns-sh: Add -p option.
45498 * Makerules (make-shlib-link): Use rellns-sh to get relative name
45499 for source.
45500
45501 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45502
45503 * manual/nptl.texi: Renamed to ...
45504 * manual/threads.texi: ... this.
45505 * manual/Makefile (chapters): Update.
45506
45507 2013-03-18 Roland McGrath <roland@hack.frob.com>
45508
45509 [BZ #14812]
45510 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45511 on argument names, not just descriptions.
45512 * malloc/memusagestat.c (options): Likewise.
45513 * nss/getent.c (options): Likewise.
45514
45515 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
45516
45517 [BZ #14812]
45518 * iconv/iconv_prog.c (options): Put N_ translation marker
45519 on argument names, not just descriptions.
45520 * iconv/iconvconfig.c (options): Likewise.
45521
45522 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
45523
45524 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45525 implementation which is faster on all x86_64 architectures.
45526 Tested on AMD, Intel Nehalem, SNB, IVB.
45527 * sysdeps/x86_64/strnlen.S: Likewise.
45528
45529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45530 Remove all multiarch strlen and strnlen versions.
45531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45532 Remove strlen and strnlen related parts.
45533
45534 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45535 Inline strlen part.
45536 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45537
45538 * sysdeps/x86_64/multiarch/strlen.S: Remove.
45539 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45540 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45541 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45542 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45543 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45544
45545 2013-03-17 Carlos O'Donell <carlos@redhat.com>
45546
45547 * manual/memory.texi (Malloc Tunable Parameters):
45548 Sort parameters alphabetically. Add comments for missing entries.
45549
45550 2013-03-17 David S. Miller <davem@davemloft.net>
45551
45552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45553
45554 2013-03-16 Joseph Myers <joseph@codesourcery.com>
45555
45556 [BZ #15283]
45557 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45558 for arguments at most half maximum finite value.
45559 * math/libm-test.inc (j0_test): Add more tests.
45560 (j1_test): Likewise.
45561 (y0_test): Likewise.
45562 (y1_test): Likewise.
45563 * sysdeps/i386/fpu/libm-test-ulps: Update.
45564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45565
45566 [BZ #14155]
45567 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45568 1 / x and functions P and Q for arguments above 0x1p256L.
45569 (__ieee754_y0l): Likewise.
45570 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45571 (__ieee754_y1l): Likewise.
45572 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45573 (j1_test): Likewise.
45574 (y0_test): Likewise.
45575 (y1_test): Likewise.
45576
45577 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
45578
45579 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45580 variable.
45581
45582 2013-03-15 Roland McGrath <roland@hack.frob.com>
45583
45584 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45585 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45586 zero since it's initialized to EXEC_PAGESIZE.
45587
45588 * sysdeps/unix/sysv/linux/ldsodefs.h
45589 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45590 * sysdeps/generic/ldsodefs.h: ... here.
45591
45592 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
45593
45594 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45595
45596 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45597 math/test-snan.c.
45598 * math/test-snan.c: Renamed from
45599 sysdeps/powerpc/fpu/test-powerpc-snan.c.
45600 * math/Makefile (tests): Add test-snan.
45601 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45602 test-powerpc-snan.
45603
45604 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45605 SUFFIX. Initialize qNaN_var with __builtin_nan family of
45606 functions.
45607 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
45608 __builtin_nan family of functions.
45609 * math/libm-test.inc (initialize): Initialize qnan_value with
45610 __builtin_nan family of functions.
45611 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45612 Remove variables.
45613 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45614 Remove functions.
45615 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
45616 storage class. Initialize qNaN_var and sNaN_var with
45617 __builtin_nan and __builtin_nans families of functions,
45618 respectively.
45619
45620 * math/libm-test.inc (acosh_test): Also test with qNaN input.
45621 (sqrt_test): Remove duplicate test with qNaN input.
45622 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45623 (round_test, signbit_test, significand_test): Note missing +/-Inf
45624 as well as qNaN tests.
45625
45626 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45627 qNaN_var. Fix a few strings, too.
45628 * math/libm-test.inc (nan_value): Rename to qnan_value.
45629 * math/gen-libm-test.pl (%beautify): Adjust to that.
45630 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45631 * math/test-misc.c (main): Likewise.
45632 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45633 to __qnan_bytes, and __qnan_union, respectively.
45634 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45635 Likewise.
45636 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45637 and lqnanval, respectively.
45638 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45639 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45640 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45641 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45642
45643 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45644 * math/test-misc.c (main) [__x86_64__]: Enable test for long
45645 doubles.
45646
45647 * math/test-misc.c (main): Fix copy'n'pastos.
45648 * misc/tst-efgcvt.c (special): Likewise.
45649
45650 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45651 Remove declarations.
45652
45653 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45654
45655 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45656 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45657 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45658 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45659
45660 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45661
45662 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45663 macro to return vdso values correctly in IFUNC implementations.
45664 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45665 Optimization by using IFUNC.
45666
45667 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45668 Richard Henderson <rth@redhat.com>
45669 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45670
45671 * Makefile.in (bench): New target.
45672 * NEWS: Mention the benchmark framework.
45673 * Rules (bench): Likewise.
45674 (binaries-bench): Generate binaries for functions to
45675 benchmark.
45676 * benchtests/Makefile: New makefile for benchmark tests.
45677 * benchtests/bench-skeleton.c: New skeleton file for benchmark
45678 programs.
45679 * benchtests/exp-inputs: New input file for EXP function.
45680 * benchtests/pow-inputs: New input file for POW function.
45681 * scripts/bench.pl: New script to generate source files for
45682 benchmark programs.
45683
45684 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45685
45686 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45687 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45688 computations on mantissa. Use macros for rounding and
45689 division.
45690 (denorm): Likewise.
45691 (__dbl_mp): Likewise.
45692 (add_magnitudes): Likewise.
45693 (sub_magnitudes): Likewise.
45694 (__mul): Likewise.
45695 (__sqr): Likewise.
45696 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
45697 powers of two in terms of TWOPOW macro.
45698 (mp_no): Make type of mantissa as MANTISSA_T.
45699 [!RADIXI]: Define RADIXI.
45700 [!TWO52]: Define TWO52.
45701 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45702
45703 * manual/nptl.texi (cindex): Modify threads to pthreads.
45704
45705 2013-03-15 Joseph Myers <joseph@codesourcery.com>
45706
45707 * sysdeps/x86_64/preconfigure: Regenerated.
45708
45709 2013-03-14 Joseph Myers <joseph@codesourcery.com>
45710
45711 [BZ #14155]
45712 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45713 0x1p28 and above.
45714 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45715 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45716 0x1p28 and above.
45717 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45718 * math/libm-test.inc (j0_test): Do not allow one spurious
45719 underflow exception.
45720 (y1_test): Likewise.
45721
45722 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
45723
45724 * manual/Makefile (chapters): Add nptl.
45725 * manual/debug.texi (Debugging Support): Add link to Threads
45726 chapter.
45727 * manual/nptl.texi: New file.
45728
45729 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45730
45731 2013-03-14 Petr Baudis <pasky@ucw.cz>
45732
45733 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45734 for non-NULL pointer before the memory validity test. Pointed
45735 out by Holger Brunck <holger.brunck@keymile.com>.
45736
45737 2013-03-13 Andreas Schwab <schwab@suse.de>
45738
45739 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45740 instead of .os.
45741
45742 2013-03-13 Joseph Myers <joseph@codesourcery.com>
45743
45744 * timezone/zic.c: Update from tzcode 2013b.
45745
45746 2013-03-12 Carlos O'Donell <carlos@redhat.com>
45747
45748 * manual/install.texi (Configuring and compiling):
45749 Mention i686 and i586.
45750 * INSTALL: Regenerate.
45751
45752 2013-03-12 Roland McGrath <roland@hack.frob.com>
45753
45754 * sysdeps/init_array/elf-init.c: New file.
45755 * csu/elf-init.c
45756 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45757 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45758
45759 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45760 __gmon_start__ as global, but as static with a .preinit_array pointer.
45761 * sysdeps/init_array/gmon-start.c: New file. Use that.
45762 * sysdeps/init_array/crti.S: New file, empty except for comments.
45763 * sysdeps/init_array/crtn.S: Likewise.
45764
45765 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
45766
45767 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45768 definining bcopy.
45769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45770 Remove Prefer_SSE_for_memop.
45771 * sysdeps/x86_64/multiarch/init-arch.h: Remove
45772 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45773 HAS_PREFER_SSE_FOR_MEMOP.
45774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45775 memset-x86-64.
45776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45777 Remove bzero, memset ifunc support.
45778 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45779 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45780 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45781 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45782
45783 2013-03-11 Andreas Schwab <schwab@suse.de>
45784
45785 [BZ #15234]
45786 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45787 by SHLIB_COMPAT.
45788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45789 (GLIBC_2.16): Remove pthread_atfork.
45790
45791 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
45792
45793 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45794 (ptestcases.h): Likewise.
45795
45796 2013-03-08 Roland McGrath <roland@hack.frob.com>
45797
45798 * Makeconfig ($(common-objpfx)config.status): Depend on
45799 sysdeps/*/preconfigure{,.in} too.
45800
45801 2013-03-08 Joseph Myers <joseph@codesourcery.com>
45802
45803 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45804 (__free_hook): Use void * instead of __malloc_ptr_t.
45805 (__malloc_hook): Likewise.
45806 (__realloc_hook): Likewise.
45807 (__memalign_hook): Likewise.
45808 (__after_morecore_hook): Likewise.
45809 * malloc/arena.c (save_malloc_hook): Likewise.
45810 (save_free_hook): Likewise.
45811 * malloc/hooks.c (malloc_hook_ini): Likewise.
45812 (realloc_hook_ini): Likewise.
45813 (memalign_hook_ini): Likewise.
45814 * malloc/malloc.c (malloc_hook_ini): Likewise.
45815 (realloc_hook_ini): Likewise.
45816 (memalign_hook_ini): Likewise.
45817 (__free_hook): Likewise.
45818 (__malloc_hook): Likewise.
45819 (__realloc_hook): Likewise.
45820 (__memalign_hook): Likewise.
45821 (__libc_malloc): Likewise.
45822 (__libc_free): Likewise.
45823 (__libc_realloc): Likewise.
45824 (__libc_memalign): Likewise.
45825 (__libc_valloc): Likewise.
45826 (__libc_pvalloc): Likewise.
45827 (__libc_calloc): Likewise.
45828 (__posix_memalign): Likewise.
45829 * malloc/morecore.c (__sbrk): Likewise.
45830 (__default_morecore): Likewise.
45831
45832 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45833
45834 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45835 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45836 __malloc_ptrdiff_t.
45837
45838 * malloc/malloc.h (__malloc_size_t): Remove macro.
45839 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45840 __malloc_size_t.
45841 (old_memalign_hook): Likewise.
45842 (old_realloc_hook): Likewise.
45843 (struct hdr): Likewise.
45844 (flood): Likewise.
45845 (mallochook): Likewise.
45846 (memalignhook): Likewise.
45847 (reallochook): Likewise.
45848 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45849 (tr_old_realloc_hook): Likewise.
45850 (tr_old_memalign_hook): Likewise.
45851 (tr_mallochook): Likewise.
45852 (tr_reallochook): Likewise.
45853 (tr_memalignhook): Likewise.
45854
45855 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45856
45857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45858 default_ldbl_pack and using as default implementation.
45859 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45860 implementation.
45861 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45862 redundant definition.
45863 (ldbl_insert_mantissa): Likewise.
45864 (ldbl_canonicalize): Likewise.
45865 (ldbl_nearbyint): Likewise.
45866 (ldbl_pack): Rename to ldbl_pack_ppc.
45867 (ldbl_unpack): Rename to ldbl_unpack_ppc.
45868 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45869 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45870
45871 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
45872
45873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45874 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45875 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45876 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45878 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45879 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45880 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45881
45882 2013-03-07 Andreas Jaeger <aj@suse.de>
45883
45884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45885 bits/mman-linux.h.
45886
45887 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45888
45889 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45890 Include mpa.h and declare __MPEXP.
45891 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45892 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45893 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45894 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45895 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45896 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45897 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45898
45899 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45900 (__slowpow): Use long double EXPL and LOGL functions to
45901 compute POW.
45902 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45903 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45904 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45905 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45906 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45907 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45908
45909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45910 intermediate variable to calculate exponent.
45911 (__sqr): Likewise.
45912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45913 Likewise.
45914 (__sqr): Likewise.
45915
45916 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45917 [!NO__SQR]: Define __sqr.
45918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45919 and NO__SQR. Remove all code except __mul and __sqr. Include
45920 sysdeps/ieee754/dbl-64/mpa.c.
45921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45922
45923 [BZ #12723]
45924 * posix/Makefile (tests): Add tst-pathconf.
45925 * posix/tst-pathconf.c: New test case.
45926 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45927 _PC_PIPE_BUF.
45928 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45929
45930 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
45931
45932 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45933
45934 2013-03-06 Andreas Jaeger <aj@suse.de>
45935
45936 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45937 definition via __MAP_ANONYMOUS.
45938
45939 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45940 it's not part of Linux headers.
45941
45942 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45943 (MAP_HUGE_MASK): Define.
45944
45945 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45946 Define.
45947 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45949 Define.
45950 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45951 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45952 Define.
45953 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45955 Define.
45956 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45957
45958 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45959 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45960 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45961 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45962 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45963 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45964
45965 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45966 Handle f2fs.
45967
45968 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45969 Handle f2fs and efivarfs.
45970
45971 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45972 f2fs.
45973
45974 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45975 (EFIVARFS_MAGIC): Add.
45976 (F2FS_LINK_MAX): Add.
45977
45978 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45979
45980 * stdio-common/vfprintf.c: Replace __builtin_expect with
45981 __glibc_unlikely.
45982
45983 2013-03-06 Joseph Myers <joseph@codesourcery.com>
45984
45985 [BZ #13550]
45986 * sysdeps/generic/bp-sym.h: Remove file.
45987 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45988 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45989 <bp-sym.h> and <bp-asm.h>.
45990 (__longjmp): Don't use BP_SYM.
45991 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45992 and <bp-asm.h>.
45993 (memcpy): Don't use BP_SYM.
45994 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45995 <bp-sym.h> and <bp-asm.h>.
45996 (memcpy): Don't use BP_SYM.
45997 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45998 <bp-asm.h>.
45999 (memcpy): Don't use BP_SYM.
46000 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46001 <bp-asm.h>.
46002 (memset): Don't use BP_SYM.
46003 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46004 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46005 (__bzero): Don't use BP_SYM.
46006 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46007 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46008 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46009 <bp-sym.h> and <bp-asm.h>.
46010 (memcmp): Don't use BP_SYM. Remove comment about bounded
46011 pointers.
46012 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46013 <bp-sym.h> and <bp-asm.h>.
46014 (memcpy): Don't use BP_SYM.
46015 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46016 <bp-sym.h> and <bp-asm.h>.
46017 (memset): Don't use BP_SYM.
46018 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46019 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46020 (__bzero): Don't use BP_SYM.
46021 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46022 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46023 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46024 <bp-sym.h> and <bp-asm.h>.
46025 (strncmp): Don't use BP_SYM. Remove comment about bounded
46026 pointers.
46027 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46028 <bp-sym.h> and <bp-asm.h>.
46029 (memcpy): Don't use BP_SYM.
46030 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46031 <bp-sym.h> and <bp-asm.h>.
46032 (memset): Don't use BP_SYM.
46033 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46034 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46035 (__bzero): Don't use BP_SYM.
46036 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46037 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46038 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46039 <bp-sym.h> and <bp-asm.h>.
46040 (__memchr): Don't use BP_SYM.
46041 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46042 <bp-sym.h> and <bp-asm.h>.
46043 (memcmp): Don't use BP_SYM. Remove comment about bounded
46044 pointers.
46045 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46046 <bp-sym.h> and <bp-asm.h>.
46047 (memcpy): Don't use BP_SYM.
46048 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46049 <bp-sym.h> and <bp-asm.h>.
46050 (__mempcpy): Don't use BP_SYM.
46051 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46052 <bp-sym.h> and <bp-asm.h>.
46053 (__memrchr): Don't use BP_SYM.
46054 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46055 <bp-sym.h> and <bp-asm.h>.
46056 (memset): Don't use BP_SYM.
46057 (__bzero): Likewise.
46058 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46059 <bp-sym.h> and <bp-asm.h>.
46060 (__rawmemchr): Don't use BP_SYM.
46061 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46062 <bp-sym.h> and <bp-asm.h>.
46063 (__STRCMP): Don't use BP_SYM.
46064 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46065 <bp-sym.h> and <bp-asm.h>.
46066 (strchr): Don't use BP_SYM.
46067 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46068 <bp-sym.h> and <bp-asm.h>.
46069 (__strchrnul): Don't use BP_SYM.
46070 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46071 <bp-sym.h> and <bp-asm.h>.
46072 (strlen): Don't use BP_SYM.
46073 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46074 <bp-sym.h> and <bp-asm.h>.
46075 (strncmp): Don't use BP_SYM. Remove comment about bounded
46076 pointers.
46077 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46078 <bp-sym.h> and <bp-asm.h>.
46079 (__strnlen): Don't use BP_SYM.
46080 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46081 <bp-sym.h> and <bp-asm.h>.
46082 (__GI__setjmp): Don't use BP_SYM.
46083 (_setjmp): Likewise.
46084 (__sigsetjmp): Likewise.
46085 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46086 (L(start_addresses)): Don't use BP_SYM.
46087 (_start): Likewise.
46088 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46089 <bp-asm.h>.
46090 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46091 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46092 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46093 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46094 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46095 <bp-asm.h>.
46096 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46097 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
46098 about bounded pointers.
46099 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46100 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46101 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46102 <bp-asm.h>.
46103 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46104 about bounded pointers. Remove GKM FIXME comments.
46105 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46106 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46107 <bp-asm.h>.
46108 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46109 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
46110 Remove GKM FIXME comments.
46111 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46112 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46113 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46114 <bp-asm.h>.
46115 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46116 about bounded pointers. Remove GKM FIXME comment.
46117 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46118 and <bp-asm.h>.
46119 (strncmp): Don't use BP_SYM. Remove comment about bounded
46120 pointers.
46121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46122 <bp-sym.h> and <bp-asm.h>.
46123 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46125 <bp-sym.h> and <bp-asm.h>.
46126 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
46127 comment.
46128
46129 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46130
46131 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46132 call free(NULL).
46133
46134 2013-03-05 David S. Miller <davem@davemloft.net>
46135
46136 * po/es.po: Update from translation team.
46137
46138 2013-03-05 Andreas Jaeger <aj@suse.de>
46139
46140 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46141 <bits/mman-linux.h>.
46142 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46143 is fine.
46144 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46145 <bits/mman-linux.h> to end of file.
46146 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46147 is fine.
46148 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46149 <bits/mman-linux.h> to end of file.
46150 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46151 is fine.
46152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46153 <bits/mman-linux.h> to end of file.
46154
46155 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46156 (MCL_CURRENT, MCL_FUTURE): Define here.
46157
46158 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46159
46160 [BZ #15232]
46161 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46162 attribute_hidden.
46163 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46164
46165 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46166
46167 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46168 fourth parameter needed for rt_sigprocmask syscall.
46169 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46170 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46171 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46172 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46173 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46174 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46175
46176 2013-03-04 Joseph Myers <joseph@codesourcery.com>
46177
46178 [BZ #13550]
46179 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46180 comment about bounded pointers.
46181 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46182 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46183
46184 2013-03-04 Andreas Jaeger <aj@suse.de>
46185
46186 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46187 common definitions.
46188
46189 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46190 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46191 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46192 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46193 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46194 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46195
46196 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46197
46198 [BZ #15055]
46199 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46200 __ieee754_sqrl instead of __sqrl.
46201
46202 2013-03-01 Joseph Myers <joseph@codesourcery.com>
46203
46204 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46205 * sysdeps/powerpc/fpu_control.h: ... here.
46206 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46207 * sysdeps/powerpc/bits/fenvinline.h: ... here.
46208 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46209 * sysdeps/powerpc/bits/mathinline.h: ... here.
46210
46211 2013-03-01 Roland McGrath <roland@hack.frob.com>
46212
46213 * elf/dl-hwcaps.c (_dl_important_hwcaps):
46214 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46215 to just [NEED_DL_SYSINFO_DSO].
46216 * elf/dl-support.c: Likewise.
46217 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46218 * elf/rtld.c (dl_main): Likewise.
46219 * elf/setup-vdso.h (setup_vdso): Likewise.
46220 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46221 * sysdeps/unix/sysv/linux/dl-sysdep.c
46222 (_dl_discover_osversion): Likewise.
46223
46224 2013-03-01 Carlos O'Donell <carlos@redhat.com>
46225
46226 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46227 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46228
46229 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46230
46231 * NEWS: Mention libm performance improvements and non-x86 PI
46232 futex support.
46233
46234 * csu/libc-start.c (__pthread_initialize_minimal): Change
46235 function arguments.
46236 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46237
46238 2013-02-28 Joseph Myers <joseph@codesourcery.com>
46239
46240 [BZ #13550]
46241 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46242 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46243 <bp-sym.h> and <bp-asm.h>.
46244 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46245 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46246 and <bp-asm.h>.
46247 (memcpy): Don't use BP_SYM.
46248 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46249 <bp-asm.h>.
46250 (__mpn_add_n): Don't use BP_SYM.
46251 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46252 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46253 and <bp-asm.h>.
46254 (__mpn_addmul_1): Don't use BP_SYM.
46255 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46256 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46257 <bp-sym.h>.
46258 (_setjmp): Don't use BP_SYM.
46259 (__novmx_setjmp): Likewise.
46260 (__GI__setjmp): Likewise.
46261 (__vmx_setjmp): Likewise.
46262 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46263 <bp-sym.h>.
46264 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46265 (__bzero): Don't use BP_SYM.
46266 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46267 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46268 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46269 <bp-sym.h> and <bp-asm.h>.
46270 (memcpy): Don't use BP_SYM.
46271 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46272 <bp-sym.h> and <bp-asm.h>.
46273 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46274 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46275 <bp-sym.h> and <bp-asm.h>.
46276 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46277 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46278 <bp-asm.h>.
46279 (__mpn_lshift): Don't use BP_SYM.
46280 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46281 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46282 <bp-asm.h>.
46283 (memset): Don't use BP_SYM.
46284 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46285 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46286 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46287 <bp-asm.h>.
46288 (__mpn_mul_1): Don't use BP_SYM.
46289 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46290 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46291 <bp-sym.h> and <bp-asm.h>.
46292 (memcmp): Don't use BP_SYM.
46293 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46294 <bp-sym.h> and <bp-asm.h>.
46295 (memcpy): Don't use BP_SYM.
46296 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46297 <bp-sym.h> and <bp-asm.h>.
46298 (memset): Don't use BP_SYM.
46299 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46300 <bp-sym.h> and <bp-asm.h>.
46301 (strncmp): Don't use BP_SYM.
46302 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46303 <bp-sym.h> and <bp-asm.h>.
46304 (memcpy): Don't use BP_SYM.
46305 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46306 <bp-sym.h> and <bp-asm.h>.
46307 (memset): Don't use BP_SYM.
46308 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46309 <bp-sym.h> and <bp-asm.h>.
46310 (__memchr): Don't use BP_SYM.
46311 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46312 <bp-sym.h> and <bp-asm.h>.
46313 (memcmp): Don't use BP_SYM.
46314 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46315 <bp-sym.h> and <bp-asm.h>.
46316 (memcpy): Don't use BP_SYM.
46317 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46318 <bp-sym.h> and <bp-asm.h>.
46319 (__mempcpy): Don't use BP_SYM.
46320 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46321 <bp-sym.h> and <bp-asm.h>.
46322 (__memrchr): Don't use BP_SYM.
46323 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46324 <bp-sym.h> and <bp-asm.h>.
46325 (memset): Don't use BP_SYM.
46326 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46327 <bp-sym.h> and <bp-asm.h>.
46328 (__rawmemchr): Don't use BP_SYM.
46329 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46330 <bp-sym.h> and <bp-asm.h>.
46331 (__STRCMP): Don't use BP_SYM.
46332 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46333 <bp-sym.h> and <bp-asm.h>.
46334 (strchr): Don't use BP_SYM.
46335 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46336 <bp-sym.h> and <bp-asm.h>.
46337 (__strchrnul): Don't use BP_SYM.
46338 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46339 <bp-sym.h> and <bp-asm.h>.
46340 (strlen): Don't use BP_SYM.
46341 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46342 <bp-sym.h> and <bp-asm.h>.
46343 (strncmp): Don't use BP_SYM.
46344 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46345 <bp-sym.h> and <bp-asm.h>.
46346 (__strnlen): Don't use BP_SYM.
46347 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46348 <bp-asm.h>.
46349 (__mpn_rshift): Don't use BP_SYM.
46350 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46351 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46352 <bp-sym.h> and <bp-asm.h>.
46353 (__sigsetjmp): Don't use BP_SYM.
46354 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46355 (L(start_addresses)): Don't use BP_SYM.
46356 (_start): Likewise.
46357 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46358 <bp-asm.h>.
46359 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46360 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46361 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46362 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46363 <bp-asm.h>.
46364 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46365 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46366 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46367 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46368 <bp-asm.h>.
46369 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
46370 comments.
46371 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46372 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46373 <bp-asm.h>.
46374 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
46375 FIXME comments.
46376 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46377 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46378 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46379 <bp-asm.h>.
46380 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
46381 comment.
46382 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46383 and <bp-asm.h>.
46384 (strncmp): Don't use BP_SYM,
46385 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46386 <bp-asm.h>.
46387 (__mpn_sub_n): Don't use BP_SYM.
46388 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46389 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46390 and <bp-asm.h>.
46391 (__mpn_submul_1): Don't use BP_SYM.
46392 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46394 <bp-sym.h> and <bp-asm.h>.
46395 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46397 <bp-sym.h> and <bp-asm.h>.
46398 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
46399 comment.
46400
46401 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46402
46403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46404 Use ZK to minimize writes to Z.
46405 (sub_magnitudes): Simplify code a bit.
46406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46407 Use ZK to minimize writes to Z.
46408 (sub_magnitudes): Simplify code a bit.
46409
46410 2013-02-27 Roland McGrath <roland@hack.frob.com>
46411
46412 * csu/gmon-start.c: Add special exception to license text.
46413
46414 2013-02-27 Richard Henderson <rth@redhat.com>
46415
46416 * scripts/config.guess: Update from config.git.
46417 * scripts/config.sub: Likewise.
46418
46419 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46420
46421 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46422
46423 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46424
46425 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46426
46427 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46428
46429 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46430
46431 2013-02-26 Roland McGrath <roland@hack.frob.com>
46432
46433 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46434 [$(build-shared = yes].
46435
46436 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46437
46438 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46439 (__mul): Reduce iterations for calculating mantissa.
46440
46441 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46442 MPTWO.
46443 (__mpranred): Likewise.
46444
46445 [BZ #15160]
46446 * malloc/memusagestat.c (main): Draw graphs for heap and stack
46447 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46448
46449 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
46450
46451 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46452 Define __attribute__.
46453
46454 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46455
46456 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46457 unused.
46458 * posix/regex_internal.h (__attribute): Remove.
46459 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46460 (re_string_context_at): Likewise.
46461 (bitset_not): Use __attribute__ and mark function as possibly
46462 unused.
46463 (bitset_merge): Likewise.
46464 (bitset_mask): Likewise.
46465 (re_string_char_size_at): Likewise.
46466 (re_string_wchar_at): Likewise.
46467 (re_string_elem_size_at): Likewise.
46468
46469 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46470
46471 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46472 code.
46473 (cc32): Likewise.
46474
46475 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46476 (__acr): Likewise.
46477 (__cpy): Likewise.
46478 (norm): Likewise.
46479 (denorm): Likewise.
46480 (__dbl_mp): Likewise.
46481 (add_magnitudes): Likewise.
46482 (sub_magnitudes): Likewise.
46483 (__mul): Likewise.
46484 (__inv): Likewise.
46485
46486 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46487 style.
46488
46489 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46490 style.
46491
46492 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46493 code.
46494
46495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46496 up changes with default code.
46497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46498 Likewise.
46499
46500 2013-02-24 Allan McRae <allan@archlinux.org>
46501
46502 * manual/socket.texi (The Internet Namespace): Order menu items
46503 to match that in the file.
46504
46505 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46506 node listing of the info page menu.
46507
46508 2013-02-21 Joseph Myers <joseph@codesourcery.com>
46509
46510 [BZ #13550]
46511 * sysdeps/i386/bp-asm.h: Remove file.
46512 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46513 (PARMS): Do not use macros from bp-asm.h.
46514 (S1): Likewise.
46515 (S2): Likewise.
46516 (SIZE): Likewise.
46517 (__mpn_add_n): Do not use BP_SYM
46518 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46519 "bp-asm.h".
46520 (PARMS): Do not use macros from bp-asm.h.
46521 (S1): Likewise.
46522 (SIZE): Likewise.
46523 (__mpn_addmul_1): Do not use BP_SYM
46524 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46525 "bp-asm.h".
46526 (PARMS): Do not use macros from bp-asm.h.
46527 (SIGMSK): Likewise.
46528 (_setjmp): Likewise. Do not use BP_SYM.
46529 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46530 "bp-asm.h".
46531 (PARMS): Do not use macros from bp-asm.h.
46532 (SIGMSK): Likewise.
46533 (setjmp): Likewise. Do not use BP_SYM.
46534 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46535 "bp-asm.h".
46536 (PARMS): Do not use macros from bp-asm.h.
46537 (__frexp): Do not use BP_SYM.
46538 (frexp): Likewise.
46539 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46540 "bp-asm.h".
46541 (PARMS): Do not use macros from bp-asm.h.
46542 (__frexpf): Do not use BP_SYM.
46543 (frexpf): Likewise.
46544 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46545 "bp-asm.h".
46546 (PARMS): Do not use macros from bp-asm.h.
46547 (__frexpl): Do not use BP_SYM.
46548 (frexpl): Likewise.
46549 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46550 "bp-asm.h".
46551 (PARMS): Do not use macros from bp-asm.h.
46552 (__remquo): Do not use BP_SYM.
46553 (remquo): Likewise.
46554 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46555 "bp-asm.h".
46556 (PARMS): Do not use macros from bp-asm.h.
46557 (__remquof): Do not use BP_SYM.
46558 (remquof): Likewise.
46559 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46560 "bp-asm.h".
46561 (PARMS): Do not use macros from bp-asm.h.
46562 (__remquol): Do not use BP_SYM.
46563 (remquol): Likewise.
46564 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46565 "bp-asm.h".
46566 (PARMS): Do not use macros from bp-asm.h.
46567 (DEST): Likewise.
46568 (SRC): Likewise.
46569 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
46570 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46571 "bp-asm.h".
46572 (PARMS): Do not use macros from bp-asm.h.
46573 (strlen): Do not use BP_SYM.
46574 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46575 "bp-asm.h".
46576 (PARMS): Do not use macros from bp-asm.h.
46577 (S1): Likewise.
46578 (S2): Likewise.
46579 (SIZE): Likewise.
46580 (__mpn_add_n): Do not use BP_SYM.
46581 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46582 "bp-asm.h".
46583 (PARMS): Do not use macros from bp-asm.h.
46584 (S1): Likewise.
46585 (SIZE): Likewise.
46586 (__mpn_addmul_1): Do not use BP_SYM.
46587 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46588 weak_alias.
46589 (bzero): Likewise.
46590 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46591 "bp-asm.h".
46592 (PARMS): Do not use macros from bp-asm.h.
46593 (S): Likewise.
46594 (SIZE): Likewise.
46595 (__mpn_lshift): Do not use BP_SYM.
46596 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46597 "bp-asm.h".
46598 (PARMS): Do not use macros from bp-asm.h.
46599 (DEST): Likewise.
46600 (SRC): Likewise.
46601 (LEN): Likewise.
46602 (memcpy): Likewise. Do not use BP_SYM.
46603 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46604 libc_hidden_def and weak_alias.
46605 (mempcpy): Do not use BP_SYM in weak_alias.
46606 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46607 "bp-asm.h".
46608 (PARMS): Do not use macros from bp-asm.h.
46609 (DEST): Likewise.
46610 (LEN): Likewise.
46611 [!BZERO_P] (CHR): Likewise.
46612 (memset): Likewise. Do not use BP_SYM.
46613 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46614 "bp-asm.h".
46615 (PARMS): Do not use macros from bp-asm.h.
46616 (S1): Likewise.
46617 (SIZE): Likewise.
46618 (__mpn_mul_1): Do not use BP_SYM.
46619 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46620 "bp-asm.h".
46621 (PARMS): Do not use macros from bp-asm.h.
46622 (S): Likewise.
46623 (SIZE): Likewise.
46624 (__mpn_rshift): Do not use BP_SYM.
46625 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46626 "bp-asm.h".
46627 (PARMS): Do not use macros from bp-asm.h.
46628 (STR): Likewise.
46629 (CHR): Likewise.
46630 (strchr): Likewise. Do not use BP_SYM.
46631 (index): Do not use BP_SYM in weak_alias.
46632 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46633 "bp-asm.h".
46634 (PARMS): Do not use macros from bp-asm.h.
46635 (DEST): Likewise.
46636 (SRC): Likewise.
46637 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
46638 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46639 "bp-asm.h".
46640 (PARMS): Do not use macros from bp-asm.h.
46641 (strlen): Do not use BP_SYM.
46642 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46643 "bp-asm.h".
46644 (PARMS): Do not use macros from bp-asm.h.
46645 (S1): Likewise.
46646 (S2): Likewise.
46647 (SIZE): Likewise.
46648 (__mpn_sub_n): Do not use BP_SYM.
46649 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46650 "bp-asm.h".
46651 (PARMS): Do not use macros from bp-asm.h.
46652 (S1): Likewise.
46653 (SIZE): Likewise.
46654 (__mpn_submul_1): Do not use BP_SYM.
46655 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46656 "bp-asm.h".
46657 (PARMS): Do not use macros from bp-asm.h.
46658 (S1): Likewise.
46659 (S2): Likewise.
46660 (SIZE): Likewise.
46661 (__mpn_add_n): Do not use BP_SYM.
46662 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46663 weak_alias.
46664 (bzero): Likewise.
46665 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46666 "bp-asm.h".
46667 (PARMS): Do not use macros from bp-asm.h.
46668 (BLK2): Likewise.
46669 (LEN): Likewise.
46670 (memcmp): Do not use BP_SYM.
46671 (bcmp): Do not use BP_SYM in weak_alias.
46672 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46673 "bp-asm.h".
46674 (PARMS): Do not use macros from bp-asm.h.
46675 (DEST): Likewise.
46676 (SRC): Likewise.
46677 (LEN): Likewise.
46678 (memcpy): Likewise. Do not use BP_SYM.
46679 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46680 "bp-asm.h".
46681 (PARMS): Do not use macros from bp-asm.h.
46682 (DEST): Likewise.
46683 (SRC): Likewise.
46684 (LEN): Likewise.
46685 (memmove): Likewise. Do not use BP_SYM.
46686 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46687 "bp-asm.h".
46688 (PARMS): Do not use macros from bp-asm.h.
46689 (DEST): Likewise.
46690 (SRC): Likewise.
46691 (LEN): Likewise.
46692 (__mempcpy): Likewise. Do not use BP_SYM.
46693 (mempcpy): Do not use BP_SYM in weak_alias.
46694 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46695 "bp-asm.h".
46696 (PARMS): Do not use macros from bp-asm.h.
46697 (DEST): Likewise.
46698 (LEN): Likewise.
46699 [!BZERO_P] (CHR): Likewise.
46700 (memset): Likewise. Do not use BP_SYM.
46701 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46702 "bp-asm.h".
46703 (PARMS): Do not use macros from bp-asm.h.
46704 (STR2): Likewise.
46705 (strcmp): Do not use BP_SYM.
46706 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46707 "bp-asm.h".
46708 (PARMS): Do not use macros from bp-asm.h.
46709 (STR): Likewise.
46710 (DELIM): Likewise.
46711 [USE_AS_STRTOK_R] (SAVE): Likewise.
46712 (FUNCTION): Likewise. Do not use BP_SYM.
46713 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46714 aliases.
46715 (strtok_r): Likewise.
46716 (__GI___strtok_r): Likewise.
46717 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46718 (PARMS): Do not use macros from bp-asm.h.
46719 (S): Likewise.
46720 (SIZE): Likewise.
46721 (__mpn_lshift): Do not use BP_SYM.
46722 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46723 (PARMS): Do not use macros from bp-asm.h.
46724 (STR): Likewise.
46725 (CHR): Likewise.
46726 (__memchr): Do not use BP_SYM.
46727 (memchr): Do not use BP_SYM in weak_alias.
46728 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46729 (PARMS): Do not use macros from bp-asm.h.
46730 (BLK2): Likewise.
46731 (LEN): Likewise.
46732 (memcmp): Do not use BP_SYM.
46733 (bcmp): Do not use BP_SYM in weak_alias.
46734 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46735 (PARMS): Do not use macros from bp-asm.h.
46736 (S1): Likewise.
46737 (SIZE): Likewise.
46738 (__mpn_mul_1): Do not use BP_SYM.
46739 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46740 "bp-asm.h".
46741 (PARMS): Do not use macros from bp-asm.h.
46742 (STR): Likewise.
46743 (CHR): Likewise.
46744 (__rawmemchr): Do not use BP_SYM.
46745 (rawmemchr): Do not use BP_SYM in weak_alias.
46746 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46747 (PARMS): Do not use macros from bp-asm.h.
46748 (S): Likewise.
46749 (SIZE): Likewise.
46750 (__mpn_rshift): Do not use BP_SYM.
46751 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46752 (PARMS): Do not use macros from bp-asm.h.
46753 (SIGMSK): Likewise.
46754 (__sigsetjmp): Likewise. Do not use BP_SYM.
46755 * sysdeps/i386/start.S: Do not include "bp-sym.h".
46756 (_start): Do not use BP_SYM.
46757 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46758 (PARMS): Do not use macros from bp-asm.h.
46759 (DEST): Likewise.
46760 (SRC): Likewise.
46761 (__stpcpy): Likewise. Do not use BP_SYM.
46762 (stpcpy): Do not use BP_SYM in weak_alias.
46763 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46764 "bp-asm.h".
46765 (PARMS): Do not use macros from bp-asm.h.
46766 (DEST): Likewise.
46767 (SRC): Likewise.
46768 (LEN): Likewise.
46769 (__stpncpy): Likewise. Do not use BP_SYM.
46770 (stpncpy): Do not use BP_SYM in weak_alias.
46771 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46772 (PARMS): Do not use macros from bp-asm.h.
46773 (STR): Likewise.
46774 (CHR): Likewise.
46775 (strchr): Likewise. Do not use BP_SYM.
46776 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46777 "bp-asm.h".
46778 (PARMS): Do not use macros from bp-asm.h.
46779 (STR): Likewise.
46780 (CHR): Likewise.
46781 (__strchrnul): Likewise. Do not use BP_SYM.
46782 (strchrnul): Do not use BP_SYM in weak_alias.
46783 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46784 "bp-asm.h".
46785 (PARMS): Do not use macros from bp-asm.h.
46786 (STOP): Likewise.
46787 (strcspn): Do not use BP_SYM.
46788 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46789 "bp-asm.h".
46790 (PARMS): Do not use macros from bp-asm.h.
46791 (STR): Likewise.
46792 (STOP): Likewise.
46793 (strpbrk): Likewise. Do not use BP_SYM.
46794 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46795 "bp-asm.h".
46796 (PARMS): Do not use macros from bp-asm.h.
46797 (STR): Likewise.
46798 (CHR): Likewise.
46799 (strrchr): Likewise. Do not use BP_SYM.
46800 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46801 (PARMS): Do not use macros from bp-asm.h.
46802 (SKIP): Likewise.
46803 (strspn): Do not use BP_SYM.
46804 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46805 (PARMS): Do not use macros from bp-asm.h.
46806 (STR): Likewise.
46807 (DELIM): Likewise.
46808 (SAVE): Likewise.
46809 (FUNCTION): Likewise. Do not use BP_SYM.
46810 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46811 aliases.
46812 (strtok_r): Likewise.
46813 (__GI___strtok_r): Likewise.
46814 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46815 (PARMS): Do not use macros from bp-asm.h.
46816 (S1): Likewise.
46817 (S2): Likewise.
46818 (SIZE): Likewise.
46819 (__mpn_sub_n): Do not use BP_SYM.
46820 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46821 "bp-asm.h".
46822 (PARMS): Do not use macros from bp-asm.h.
46823 (S1): Likewise.
46824 (SIZE): Likewise.
46825 (__mpn_submul_1): Do not use BP_SYM.
46826 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46827 <bp-sym.h>.
46828 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46829 and <bp-asm.h>.
46830 (PARMS): Do not use macros from bp-asm.h.
46831 (FLAGS): Likewise.
46832 (PTID): Likewise.
46833 (TLS): Likewise.
46834 (CTID): Likewise.
46835 (__clone): Do not use BP_SYM.
46836 (clone): Do not use BP_SYM in weak_alias.
46837 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46838 and <bp-asm.h>.
46839 (PARMS): Do not use macros from bp-asm.h.
46840 (LEN): Likewise.
46841 (__mmap64): Do not use BP_SYM.
46842 (mmap64): Do not use BP_SYM in weak_alias.
46843 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46844 <bp-sym.h> and <bp-asm.h>.
46845 (PARMS): Do not use macros from bp-asm.h.
46846 (__posix_fadvise64_l64): Do not use BP_SYM.
46847 * sysdeps/unix/sysv/linux/i386/semtimedop.S
46848 (PARMS): Do not use macros from bp-asm.h.
46849 (NSOPS): Likewise.
46850 (semtimedop): Do not use BP_SYM.
46851 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46852 and <bp-asm.h>.
46853
46854 2013-02-21 Allan McRae <allan@archlinux.org>
46855
46856 * manual/message.texi (Charset conversion in gettext):
46857 Move @end statement to beginning of line.
46858
46859 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46860
46861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46862 static.
46863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46864 Likewise.
46865
46866 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46867 (denorm): Likewise.
46868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46870
46871 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46872
46873 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46874 tail-call to the resolved function if pltexit isn't needed.
46875
46876 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46877
46878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46879 or Y being zero as being unlikely.
46880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46881 Likewise.
46882
46883 2013-02-20 Carlos O'Donell <carlos@redhat.com>
46884
46885 * manual/nss.texi (System Databases and Name Service Switch):
46886 Remove frobnicate @pxref.
46887
46888 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
46889
46890 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46891 __attribute__ ((unused)) to __attribute__ ((__unused__)).
46892
46893 2013-02-20 Petr Machata <pmachata@redhat.com>
46894
46895 * elf/elf.h (R_ARM_TARGET1): New macro.
46896 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46897 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46898 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46899 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46900 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46901 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46902 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46903 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46904 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46905 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46906 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46907 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46908 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46909 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46910 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46911 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46912 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46913 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46914 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46915 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46916 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46917 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46918 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46919 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46920 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46921 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46922 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46923 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46924 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46925 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46926 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46927 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46928 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46929 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46930 (R_ARM_THM_GOT_BREL12): Likewise.
46931 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46932 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46933 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46934 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46935 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46936 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46937 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46938 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46939 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46940
46941 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
46942
46943 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46944 __attribute_used__ to __attribute__ ((unused)).
46945
46946 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46947
46948 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46949 powerpc mpa.c.
46950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46951 comment formatting.
46952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46953
46954 2013-02-19 Joseph Myers <joseph@codesourcery.com>
46955
46956 [BZ #13550]
46957 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46958 Remove macro.
46959 (ENTER): Remove both macro definitions.
46960 (LEAVE): Likewise.
46961 (CHECK_BOUNDS_LOW): Likewise.
46962 (CHECK_BOUNDS_HIGH): Likewise.
46963 (CHECK_BOUNDS_BOTH): Likewise.
46964 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46965 (RETURN_BOUNDED_POINTER): Likewise.
46966 (RETURN_NULL_BOUNDED_POINTER): Likewise.
46967 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46968 (POP_ERRNO_LOCATION_RETURN): Likewise.
46969 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46970 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46971 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46972 macros.
46973 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46974 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46975 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46976 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46977 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46978 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46979 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46980 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46981 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46982 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46983 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46984 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46985 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46986 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46987 removed macros.
46988 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46989 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46990 macros.
46991 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46992 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46993 * sysdeps/i386/i586/memset.S (memset): Likewise.
46994 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46995 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46996 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46997 macros.
46998 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46999 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47000 Change uses of L(2) to L(out).
47001 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47002 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47003 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47004 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47005 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47006 removed macros.
47007 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47008 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47009 macros.
47010 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47011 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47012 (RETURN): Do not use macro LEAVE.
47013 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47014 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47015 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47016 * sysdeps/i386/i686/memset.S (memset): Likewise.
47017 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47018 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47019 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47020 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47021 Likewise.
47022 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47023 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
47024 L(1_2) and L(1_3) into L(1).
47025 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47026 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47027 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47028 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47029 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47030 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47031 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47032 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47033 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47034 macros.
47035 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47036 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47037 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47038 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47039 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47040 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47041 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47042 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47043 * sysdeps/i386/strcspn.S (strcspn): Likewise.
47044 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47045 * sysdeps/i386/strrchr.S (strrchr): Likewise.
47046 * sysdeps/i386/strspn.S (strspn): Likewise.
47047 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47048 conditional code.
47049 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47050 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47051 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47052 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
47053 L(1_3) into L(1_1).
47054 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47055 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47056 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47057 macros.
47058 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47059
47060 2013-02-19 Jakub Jelinek <jakub@redhat.com>
47061
47062 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47063 macro.
47064
47065 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47066
47067 * math/atest-exp.c (exp_mpn): Remove ROUND.
47068 * math/atest-exp2.c (exp_mpn): Likewise.
47069 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47070
47071 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47072 * stdlib/tst-tls-atexit-lib.c: Likewise.
47073 * stdlib/tst-tls-atexit.c: Likewise.
47074
47075 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47076
47077 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47078 and __attribute_alloc_size__.
47079
47080 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47081
47082 * include/programs/xmalloc.h: Change __attribute_alloc_size to
47083 __attribute_alloc_size__.
47084 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47085 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47086
47087 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47088
47089 * include/programs/xmalloc.h: New file.
47090 * catgets/gencat.c: Include it.
47091 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47092 * elf/pldd.c: Likewise.
47093 * iconv/iconv_charmap.c: Likewise.
47094 * iconv/iconvconfig.c: Likewise.
47095 * iconv/strtab.c: Likewise.
47096 * locale/programs/locale.c: Likewise.
47097 * locale/programs/localedef.h: Likewise.
47098 * locale/programs/simple-hash.c: Likewise.
47099 * nscd/nscd.h: Likewise.
47100 * nss/makedb.c: Likewise.
47101 * sysdeps/generic/ldconfig.h: Likewise.
47102
47103 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47104
47105 * Versions.def: Add GLIBC_2.18.
47106 * include/link.h (struct link_map): New member l_tls_dtor_count.
47107 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47108 (__call_tls_dtors): Likewise.
47109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47110 __cxa_thread_atexit_impl.
47111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47112 Likewise.
47113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47114 Likewise.
47115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47116 Likewise.
47117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47118 Likewise.
47119 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47121 Likewise.
47122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47123 Likewise.
47124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47126 Likewise.
47127 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47128 (tests): Add test case tst-tls-atexit.
47129 (modules-names): Add shared library for tst-tls-atexit.
47130 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47131 (GLIBC_PRIVATE): Add __call_tls_dtors.
47132 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47133 for libstdc++.
47134 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47135 * stdlib/tst-tls-atexit.c: New test case.
47136 * stdlib/tst-tls-atexit-lib.c: New test case.
47137
47138 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47139
47140 * elf/Versions (ld): Add _dl_find_dso_for_object.
47141 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47142 * elf/dl-open.c (_dl_find_dso_for_object): New function.
47143 (dl_open_worker): Use _dl_find_dso_for_object.
47144 * elf/dl-sym.c (do_sym): Likewise.
47145 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47146
47147 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47148
47149 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47150 Syntactic changes only.
47151 (_dl_runtime_profile): Do a tail-call to the resolved function.
47152
47153 2013-02-17 Joseph Myers <joseph@codesourcery.com>
47154
47155 [BZ #13550]
47156 * sysdeps/x86_64/bp-asm.h: Remove file.
47157 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47158 <bp-sym.h> and <bp-asm.h>.
47159 (__clone): Do not use BP_SYM.
47160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47161 <bp-sym.h> and <bp-asm.h>.
47162 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47163 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47164 "bp-asm.h".
47165 (_setjmp): Do not use BP_SYM.
47166 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47167 "bp-asm.h".
47168 (setjmp): Do not use BP_SYM.
47169 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47170 libc_hidden_def.
47171 (mempcpy): Do not use BP_SYM in weak_alias.
47172 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47173 "bp-asm.h".
47174 (strchr): Do not use BP_SYM.
47175 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47176 "bp-asm.h".
47177 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47178 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47179 (_start): Do not use BP_SYM.
47180 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47181 "bp-asm.h".
47182 (strcat): Do not use BP_SYM.
47183 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47184 "bp-asm.h".
47185 (STRCMP): Do not use BP_SYM.
47186 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47187 "bp-asm.h".
47188 (STRCPY): Do not use BP_SYM.
47189 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47190 "bp-asm.h".
47191 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47192 "bp-asm.h".
47193 (FUNCTION): Do not use BP_SYM.
47194 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47195 weak_alias.
47196 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47197
47198 2013-02-17 Andreas Jaeger <aj@suse.de>
47199
47200 * time/Versions: Sort entries.
47201 * string/Versions: Likewise.
47202 * resolv/Versions: Likewise.
47203 * posix/Versions: Likewise.
47204 * iconv/Versions: Likewise.
47205 * elf/Versions: Likewise.
47206 * wcsmbs/Versions: Likewise.
47207
47208 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47209
47210 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47211 loop termination condition.
47212
47213 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47214 variable to calculate EZ.
47215 (__sqr): Likewise.
47216
47217 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47218 the lower precision input.
47219
47220 2013-02-15 Joseph Myers <joseph@codesourcery.com>
47221
47222 [BZ #13550]
47223 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47224 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47225 (run-via-rtld-prefix): Do not handle %-bp tests.
47226 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47227 (all-object-suffixes): Remove .ob.
47228 (bppfx): Remove variable.
47229 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47230 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47231 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47232 [$(build-bounded) = yes] (libtype.ob): Likewise.
47233 * Makerules (elide-routines.ob): Remove variable.
47234 (do-tests-clean): Do not handle *-bp.out.
47235 (common-mostlyclean): Do not handle *-bp and *-bp.out.
47236 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47237 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47238 (tests): Do not include $(tests-bp.out).
47239 (xtests): Do not include $(xtests-bp.out).
47240 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47241 [$(build-bounded) = yes] ($(addprefix
47242 $(objpfx),$(binaries-bounded))): Remove rule.
47243 ($(objpfx)%-bp.out): Remove rule.
47244 * config.make.in (build-bounded): Remove variable.
47245 * crypt/Makefile [$(build-bounded) = yes]
47246 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47247 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47248 append to variable.
47249 [$(build-bounded) = yes] (install-lib): Likewise.
47250 [$(build-bounded) = yes] (generated): Likewise.
47251 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47252 Remove rule.
47253 * intl/Makefile [$(build-bounded) = yes]
47254 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47255 * math/Makefile [$(build-bounded) = yes]
47256 ($(tests:%=$(objpfx)%-bp): Likewise.
47257 * misc/Makefile [$(build-bounded) = yes]
47258 ($(objpfx)tst-tsearch-bp): Likewise.
47259 * nptl/Makeconfig (bounded-thread-library): Remove variable.
47260 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47261 Remove dependency.
47262 * string/Makefile (o-objects.ob): Remove variable.
47263 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47264 (CFLAGS-.ob): Remove variable.
47265 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47266 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47267 both definitions of variable.
47268 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47269 (ASFLAGS-.ob): Remove variable.
47270
47271 2013-02-14 Joseph Myers <joseph@codesourcery.com>
47272
47273 [BZ #13550]
47274 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47275 Remove __BOUNDED_POINTERS__ from condition.
47276 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47277 * string/bits/string2.h [!__NO_STRING_INLINES &&
47278 !__BOUNDED_POINTERS__]: Likewise.
47279 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47280 Likewise.
47281 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47282 Remove conditional code.
47283 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47284 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47285 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47286 condition.
47287
47288 [BZ #13550]
47289 * csu/libc-start.c: Do not include <bp-sym.h>.
47290 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47291 * elf/dl-open.c: Do not include <bp-sym.h>.
47292 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47293 * math/fegetenv.c: Do not include <bp-sym.h>.
47294 (fegetenv): Do not use BP_SYM in versioned symbols.
47295 * nptl/sysdeps/pthread/bits/libc-lockP.h
47296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47297 <bp-sym.h>.
47298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47299 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47301 (__pthread_mutex_destroy): Likewise.
47302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47303 (__pthread_mutex_lock): Likewise.
47304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47305 (__pthread_mutex_trylock): Likewise.
47306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47307 (__pthread_mutex_unlock): Likewise.
47308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47309 (__pthread_mutexattr_init): Likewise.
47310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47311 (__pthread_mutexattr_destroy): Likewise.
47312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47313 (__pthread_mutexattr_settype): Likewise.
47314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47315 (__pthread_rwlock_init): Likewise.
47316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47317 (__pthread_rwlock_destroy): Likewise.
47318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47319 (__pthread_rwlock_rdlock): Likewise.
47320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47321 (__pthread_rwlock_tryrdlock): Likewise.
47322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47323 (__pthread_rwlock_wrlock): Likewise.
47324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47325 (__pthread_rwlock_trywrlock): Likewise.
47326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47327 (__pthread_rwlock_unlock): Likewise.
47328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47329 (__pthread_key_create): Likewise.
47330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47331 (__pthread_setspecific): Likewise.
47332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47333 (__pthread_getspecific): Likewise.
47334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47335 Likewise.
47336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47337 (_pthread_cleanup_push_defer): Likewise.
47338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47339 (_pthread_cleanup_pop_restore): Likewise.
47340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47341 (pthread_setcancelstate): Likewise.
47342 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47343 <bp-sym.h>.
47344 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47345 (memchr): Do not use BP_SYM in weak_alias.
47346 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47347 (fegetenv): Do not use BP_SYM in versioned symbols.
47348 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47349 (fesetenv): Do not use BP_SYM in versioned symbols.
47350 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47351 (feupdateenv): Do not use BP_SYM in versioned symbols.
47352 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47353 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47354 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47355 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47356 (open64): Do not use BP_SYM in weak_alias.
47357 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47358 (fegetenv): Do not use BP_SYM in versioned symbols.
47359 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47360 (fesetenv): Do not use BP_SYM in versioned symbols.
47361 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47362 (feupdateenv): Do not use BP_SYM in versioned symbols.
47363 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47364 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47365 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47366 (feraiseexcept): Do not use BP_SYM in versioned symbols.
47367 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47368 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47369 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47370 <bp-sym.h>.
47371 (__libc_start_main): Do not use BP_SYM.
47372
47373 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
47374
47375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47376 redundant return line.
47377 (norm): Likewise.
47378 (denorm): Likewise.
47379 (dbl_mp): Likewise.
47380 (sub_magnitudes): Likewise.
47381 (__add): Likewise.
47382 (__sub): Likewise.
47383 (__mul): Likewise.
47384 (__inv): Likewise.
47385 (__dvd): Likewise.
47386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47387 (norm): Likewise.
47388 (denorm): Likewise.
47389 (dbl_mp): Likewise.
47390 (sub_magnitudes): Likewise.
47391 (__add): Likewise.
47392 (__sub): Likewise.
47393 (__mul): Likewise.
47394 (__inv): Likewise.
47395 (__dvd): Likewise.
47396
47397 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47398 instead of __mul.
47399 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47400 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47401 (cc32): Likewise.
47402
47403 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47404 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47406 of __mul for squares.
47407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47408 function
47409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47410 Likewise.
47411 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47413
47414 2013-02-13 Joseph Myers <joseph@codesourcery.com>
47415
47416 [BZ #13550]
47417 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47418 code.
47419 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47420 prototype or function definition. Rename ubp_* variables and
47421 parameters. Remove argv definitions conditional on
47422 [__BOUNDED_POINTERS__].
47423 * debug/backtrace.c (__backtrace): Do not use __unbounded.
47424 * elf/dl-runtime.c (_dl_fixup): Likewise.
47425 * include/set-hooks.h (RUN_HOOK): Likewise.
47426 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47427 definition.
47428 * string/strcpy.c (strcpy): Do not use __unbounded.
47429 * sysdeps/generic/frame.h (struct layout): Likewise.
47430 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47431 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47432 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47433 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47434 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47435 (__backtrace): Likewise.
47436 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47437 use __ptrvalue.
47438 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47439 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47440 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47441 Likewise.
47442 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47443 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47444 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47445 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47446 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47447 Do not use __unbounded.
47448 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47449 Rename __unboundedrlimits parameter to rlimits in prototype.
47450 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47451 Do not use __unbounded.
47452 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47453 not use __ptrvalue.
47454 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47455 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47456 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47457 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47458 __ptrvalue or __unbounded.
47459 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47460 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47461 use __unbounded.
47462 (__new_msgctl): Do not use __ptrvalue.
47463 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47464 __unbounded.
47465 (__libc_msgrcv): Do not use __ptrvalue.
47466 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47467 startup_info): Do not use __unbounded.
47468 (__libc_start_main): Likewise. Rename ubp_* variables and
47469 parameters. Remove argv definitions conditional on
47470 [__BOUNDED_POINTERS__].
47471 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47472 __ptrvalue.
47473 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47474 use __unbounded.
47475 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47476 or __ptrvalue.
47477 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47478 use __unbounded.
47479 (__new_shmctl): Do not use __ptrvalue.
47480 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47481 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47482 Likewise.
47483 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47484 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47485 (__libc_sigaction): Likewise.
47486 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47487 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47488 Likewise.
47489 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47490
47491 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
47492
47493 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47494
47495 * string/mempcpy.c: Implement by calling memcpy.
47496
47497 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
47498
47499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47500
47501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47502 evaluation.
47503
47504 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47505 values in the mantissa.
47506
47507 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47508 minimize writes to Z.
47509 (sub_magnitudes): Simplify code a bit.
47510
47511 2013-02-12 Roland McGrath <roland@hack.frob.com>
47512
47513 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47514 from the message. The linker prefixes all warnings with that already.
47515
47516 2013-02-12 Andreas Schwab <schwab@suse.de>
47517
47518 [BZ #15078]
47519 * posix/regexec.c (extend_buffers): Add parameter min_len.
47520 (check_matching): Pass minimum needed length.
47521 (clean_state_log_if_needed): Likewise.
47522 (get_subexp): Likewise.
47523 * posix/Makefile (tests): Add bug-regex34.
47524 (bug-regex34-ENV): Define.
47525 * posix/bug-regex34.c: New file.
47526
47527 [BZ #11561]
47528 * posix/regcomp.c (parse_bracket_exp): When looking up collating
47529 elements compare against the byte sequence of it, not its name.
47530 * posix/Makefile (tests): Add bug-regex35.
47531 (bug-regex35-ENV): Define.
47532 * posix/bug-regex35.c: New file.
47533
47534 2013-02-11 Tom de Vries <tom@codesourcery.com>
47535
47536 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
47537 comment.
47538 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47539 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47540 (CHECK_EOL): Add undef.
47541
47542 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
47543
47544 * bits/stdlib-bsearch.h: New file.
47545 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47546 * stdlib/stdlib.h: Likewise.
47547
47548 2013-02-11 Roland McGrath <roland@hack.frob.com>
47549
47550 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47551 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47552 declaration.
47553 * manual/search.texi (Array Search Function): Add missing const in
47554 lfind prototype.
47555 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47556 declaration to use rlim_t.
47557 (Basic Scheduling Functions): Remove erroneous const from
47558 sched_getparam prototype. Remove erroneous * from
47559 sched_get_priority_max and sched_get_priority_min prototypes.
47560 (Resource Usage): Fix summary @comment on vtimes to refer to
47561 sys/vtimes.h rather than vtimes.h.
47562 Add missing *s in vtimes prototype.
47563 (Limits on Resources): Fix ulimit prototype to return long int.
47564 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47565 prototypes to use long int rather than double.
47566 (BSD Random): Fix initstate and setstate to use char *, not void *.
47567 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47568 prototype to make second argument 'struct aiocb64 *const[]'.
47569 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47570 (Status of AIO Operations): Remove erroneous const in aio_return and
47571 aio_return64 prototypes.
47572 (Synchronizing I/O): Fix sync prototype to return void.
47573 * manual/startup.texi (Suboptions): Remove an erroneous const in
47574 getsubopt prototype.
47575 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47576 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47577 use size_t rather than int.
47578 (Scanning All Users): Likewise for getpwent_r.
47579 (Setting Groups): Add missing const to setgroups prototype.
47580 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47581 * manual/socket.texi (Host Names): Fix gethostbyaddr and
47582 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47583 'const void *' rather than 'const char *'.
47584 (Host Address Functions): Likewise for inet_ntop.
47585 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47586 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47587 ssize_t for return value.
47588 (Sending Data): Likewise for send, sendto, sendmsg.
47589 (Socket Option Functions): Add a missing const in setsockopt prototype.
47590 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47591 use wchar_t for the argument.
47592 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47593 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47594 take no arguments.
47595 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47596 double/float/long double for second argument.
47597 Fix return types of significand, significandf, significandl.
47598 * manual/filesys.texi (Setting Permissions): Use mode_t for second
47599 argument in fchmod prototype.
47600 (File Owner): Use uid_t and gid_t in fchown prototype.
47601 (File Times): Add const to utimes, futimes, and lutimes prototypes.
47602 (Making Special Files): Use mode_t and dev_t in mknod prototype.
47603 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47604 use 'const struct dirent **' as argument types to CMP function pointer
47605 argument.
47606 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47607 (File Times): Fix summary magic @comment for struct utimbuf and utime
47608 to refer to utime.h, not time.h.
47609 * manual/string.texi (Argz Functions): Add missing const in
47610 argz_extract and argz_next prototypes.
47611 (Finding Tokens in a String): Likewise for basename.
47612 (String/Array Comparison): Fix typo in wcscasecmp prototype.
47613 (Copying and Concatenation): Fix typo in wmemmove prototype.
47614 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47615 (Signal Stack): Remove erroneous const in sigstack prototype.
47616 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47617 prototype.
47618 (Simple Calendar Time): Likewise for stime.
47619 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47620 prototype.
47621 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47622 say sys/sysctl.h instead.
47623 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47624 and vsyslog prototypes.
47625
47626 2013-02-11 Tom de Vries <tom@codesourcery.com>
47627
47628 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47629 Remove.
47630
47631 2013-02-11 Roland McGrath <roland@hack.frob.com>
47632
47633 * misc/sys/mman.h: Fix typo in mremap comment.
47634
47635 2013-02-08 Roland McGrath <roland@hack.frob.com>
47636
47637 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47638 the '\0' terminator.
47639
47640 2013-02-08 Joseph Myers <joseph@codesourcery.com>
47641
47642 [BZ #13550]
47643 * debug/segfault.c: Don't include <bp-checks.h>.
47644 * sysdeps/generic/bp-checks.h: Remove file.
47645 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47646 (__GETDENTS): Don't use CHECK_N.
47647 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47648 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47649 (__getgroups): Don't use CHECK_N.
47650 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47651 (setgroups): Don't use CHECK_N.
47652 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47653 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47654 (__libc_msgrcv): Don't use CHECK_N.
47655 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47656 (__libc_msgsnd): Don't use CHECK_N.
47657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47658 <bp-checks.h>.
47659 (__libc_pread): Don't use CHECK_N.
47660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47661 include <bp-checks.h>.
47662 (__libc_pread64): Don't use CHECK_N.
47663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47664 include <bp-checks.h>.
47665 (__libc_pwrite): Don't use CHECK_N.
47666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47667 include <bp-checks.h>.
47668 (__libc_pwrite64): Don't use CHECK_N.
47669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47670 <bp-checks.h>.
47671 (__libc_pread): Don't use CHECK_N.
47672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47673 include <bp-checks.h>.
47674 (__libc_pread64): Don't use CHECK_N.
47675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47676 include <bp-checks.h>.
47677 (__libc_pwrite): Don't use CHECK_N.
47678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47679 include <bp-checks.h>.
47680 (__libc_pwrite64): Don't use CHECK_N.
47681 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47682 (do_pread): Don't use CHECK_N.
47683 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47684 (do_pread64): Don't use CHECK_N.
47685 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47686 (do_pwrite): Don't use CHECK_N.
47687 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47688 (do_pwrite64): Don't use CHECK_N.
47689 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47690 (__libc_readv): Don't use CHECK_N.
47691 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47692 (semop): Don't use CHECK_N.
47693 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47694 <bp-checks.h>.
47695 (semtimedop): Don't use CHECK_N.
47696 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47697 (__libc_pread): Don't use CHECK_N.
47698 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47699 <bp-checks.h>.
47700 (__libc_pread64): Don't use CHECK_N.
47701 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47702 <bp-checks.h>.
47703 (__libc_pwrite): Don't use CHECK_N.
47704 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47705 <bp-checks.h>.
47706 (__libc_pwrite64): Don't use CHECK_N.
47707 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47708 <bp-checks.h>.
47709 (__libc_msgrcv): Don't use CHECK_N.
47710 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47711 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
47712 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47713 (__libc_writev): Don't use CHECK_N.
47714
47715 2013-02-08 Roland McGrath <roland@hack.frob.com>
47716
47717 * string/strcpy.c: Removed unused variable.
47718
47719 * Makeconfig (+sysdep-includes): Define with := rather than =.
47720 Use an existing include/ subdir of each sysdeps dir before it.
47721
47722 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47723
47724 * nscd/connection.c (register_traced_file): Comment function.
47725 [HAVE_INOTIFY] (union __inev): Define.
47726 [HAVE_INOTIFY] (inotify_check_files): New function.
47727 [HAVE_INOTIFY] (clear_db_cache): Likewise.
47728 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47729 clear_db_cache.
47730 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47731
47732 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47733
47734 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47735 loaded if not already and that a failure is permanent.
47736
47737 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47738
47739 [BZ #15006]
47740 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47741 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47742
47743 2013-02-08 Joseph Myers <joseph@codesourcery.com>
47744
47745 [BZ #13550]
47746 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47747 (CHECK_1_NULL_OK): Likewise.
47748 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47749 (__fxstat): Do not use CHECK_1.
47750 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47751 <bp-checks.h>.
47752 (___fxstat64): Do not use CHECK_1.
47753 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47754 <bp-checks.h>.
47755 (__fxstatat): Do not use CHECK_1.
47756 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47757 <bp-checks.h>.
47758 (__fxstatat64): Do not use CHECK_1.
47759 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47760 <bp-checks.h>.
47761 (__fxstat): Do not use CHECK_1.
47762 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47763 <bp-checks.h>.
47764 (__fxstatat): Do not use CHECK_1.
47765 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47766 <bp-checks.h>.
47767 (__getresgid): Do not use CHECK_1.
47768 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47769 <bp-checks.h>.
47770 (__getresuid): Do not use CHECK_1.
47771 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47772 <bp-checks.h>.
47773 (__lxstat): Do not use CHECK_1.
47774 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47775 <bp-checks.h>.
47776 (__old_msgctl): Do not use CHECK_1.
47777 (__new_msgctl): Likewise.
47778 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47779 <bp-checks.h>.
47780 (__new_setrlimit): Do not use CHECK_1.
47781 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47782 <bp-checks.h>.
47783 (__old_shmctl): Do not use CHECK_1.
47784 (__new_shmctl): Likewise.
47785 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47786 <bp-checks.h>.
47787 (__xstat): Do not use CHECK_1.
47788 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47789 (__lxstat): Do not use CHECK_1.
47790 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47791 <bp-checks.h>.
47792 (___lxstat64): Do not use CHECK_1.
47793 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47794 (__old_msgctl): Do not use CHECK_1.
47795 (__new_msgctl): Likewise.
47796 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47797 <bp-checks.h>.
47798 (__gettimeofday): Do not use CHECK_1.
47799 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47800 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47801 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47802 <bp-checks.h>.
47803 (__gettimeofday): Do not use CHECK_1.
47804 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47805 (__old_shmctl): Do not use CHECK_1_NULL_OK.
47806 (__new_shmctl): Do not use CHECK_1.
47807 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47808 <bp-checks.h>.
47809 (do_sigtimedwait): Do not use CHECK_1.
47810 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47811 <bp-checks.h>.
47812 (do_sigwaitinfo): Do not use CHECK_1.
47813 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47814 <bp-checks.h>.
47815 (msgctl): Do not use CHECK_1.
47816 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47817 <bp-checks.h>.
47818 (shmctl): Do not use CHECK_1.
47819 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47820 (ustat): Do not use CHECK_1.
47821 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47822 <bp-checks.h>.
47823 (__fxstat): Do not use CHECK_1.
47824 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47825 <bp-checks.h>.
47826 (__fxstatat): Do not use CHECK_1.
47827 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47828 <bp-checks.h>.
47829 (__lxstat): Do not use CHECK_1.
47830 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47831 <bp-checks.h>.
47832 (__xstat): Do not use CHECK_1.
47833 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47834 (__xstat): Do not use CHECK_1.
47835 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47836 (___xstat64): Do not use CHECK_1.
47837
47838 [BZ #13550]
47839 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47840 definitions.
47841 (CHECK_BOUNDS_HIGH): Likewise.
47842 * string/strcpy.c: Do not include <bp-checks.h>.
47843 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47844
47845 2013-02-07 Roland McGrath <roland@hack.frob.com>
47846
47847 * nscd/nscd-client.h (__nscd_drop_map_ref):
47848 Add __attribute__ ((unused)).
47849 * nis/nss-nisplus.h (niserr2nss): Likewise.
47850
47851 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47852 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47853
47854 * csu/libc-tls.c (init_static_tls, init_slotinfo):
47855 Remove inline keyword.
47856 * include/rounding-mode.h (round_away): Likewise.
47857 * libio/wfileops.c (adjust_wide_data): Likewise.
47858 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47859 (__m128i_strloadu_tolower): Likewise.
47860 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47861 (__m128i_strloadu_tolower): Likewise.
47862 * time/mktime.c (ydhms_diff): Likewise.
47863 * locale/elem-hash.h (elem_hash): Likewise.
47864 * locale/setlocale.c (setdata): Likewise.
47865 * posix/regex_internal.h (re_string_char_size_at): Likewise.
47866 (re_string_wchar_at): Likewise.
47867 (bitset_not, bitset_merge, bitset_mask): Likewise.
47868 [!(__GNUC__ > 3)] (inline): Remove macro.
47869 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47870 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47871 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47872 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47873 * string/memcmp.c (memcmp_bytes): Likewise.
47874 * locale/programs/locarchive.c (compute_hashval): Likewise.
47875 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47876 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47877 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47878 * nss/getent.c (print_rpc, print_protocols): Likewise.
47879 (print_passwd, print_group, print_aliases): Likewise.
47880 * nis/nss-nisplus.h (niserr2nss): Likewise.
47881 * nscd/connections.c (restart_p): Likewise.
47882 Change return type to bool.
47883
47884 2013-02-05 Roland McGrath <roland@hack.frob.com>
47885
47886 * Makeconfig (all-Depend-files): Add existing
47887 $(sorted-subdirs:=/Depend) files.
47888 (all-subdirs): Remove nss.
47889 * sysdeps/unix/inet/Subdirs: Add it here instead.
47890 * hesiod/Depend: New file.
47891
47892 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47893 instead of calling alloca.
47894
47895 * io/lseek.c (__lseek): Rename to __libc_lseek.
47896 Define __lseek as an alias.
47897
47898 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47899
47900 2013-02-04 Carlos O'Donell <carlos@redhat.com>
47901
47902 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47903 else clause and remove check for non-standard endianness.
47904
47905 2013-02-04 David S. Miller <davem@davemloft.net>
47906
47907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47908
47909 2013-02-04 Joseph Myers <joseph@codesourcery.com>
47910
47911 [BZ #13550]
47912 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47913 (__ubp_memchr): Remove prototype.
47914 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47915 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47916 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47917 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47918 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47919 Remove alias.
47920 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47921 (__ubp_memchr): Likewise.
47922 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47923 (__ubp_memchr): Likewise.
47924 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47925 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47926 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47927 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47928 CHECK_STRING.
47929 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47930 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47931 (__getcwd): Do not use CHECK_STRING.
47932 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47933 <bp-checks.h>.
47934 (__real_chown): Do not use CHECK_STRING.
47935 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47936 <bp-checks.h>.
47937 (fchownat): Do not use CHECK_STRING.
47938 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47939 CHECK_STRING.
47940 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47941 <bp-checks.h>.
47942 (__lchown): Do not use CHECK_STRING.
47943 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47944 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47945 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47946 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47948 include <bp-checks.h>.
47949 (truncate64): Do not use CHECK_STRING.
47950 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47951 <bp-checks.h>.
47952 (__real_chown): Do not use CHECK_STRING.
47953 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47954 <bp-checks.h>.
47955 (__lchown): Do not use CHECK_STRING.
47956 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47957 <bp-checks.h>.
47958 (__chown): Do not use CHECK_STRING.
47959 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47960 <bp-checks.h>.
47961 (truncate64): Do not use CHECK_STRING.
47962 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47963 Likewise.
47964 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47965 (__xmknod): Do not use CHECK_STRING.
47966 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47967 <bp-checks.h>.
47968 (__xmknodat): Do not use CHECK_STRING.
47969 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47970 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47971
47972 2013-02-04 Andreas Schwab <schwab@suse.de>
47973
47974 [BZ #14142]
47975 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47976 * include/netdb.h: Likewise for h_errno.
47977 * elf/tst-stackguard1.c: Include <tls.h>.
47978
47979 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
47980
47981 * elf/link.h (struct link_map): Extend the l_addr comment.
47982 * include/link.h (struct link_map): Likewise.
47983
47984 2013-02-01 Joseph Myers <joseph@codesourcery.com>
47985
47986 [BZ #13550]
47987 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47988 (BOUNDED_1): Remove macro.
47989 * debug/backtrace.c: Don't include <bp-checks.h>.
47990 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47991 (__backtrace): Likewise.
47992 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47993 <bp-checks.h>.
47994 (__backtrace): Don't use BOUNDED_1.
47995 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47996 <bp-checks.h>.
47997 (__backtrace): Don't use BOUNDED_1.
47998 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47999 (__backtrace): Don't use BOUNDED_1.
48000 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48001 (shmat): Don't use BOUNDED_N.
48002
48003 2013-01-31 Joseph Myers <joseph@codesourcery.com>
48004
48005 [BZ #13550]
48006 * sysdeps/generic/bp-start.h: Remove file.
48007 * csu/libc-start.c: Don't include <bp-start.h>.
48008 (LIBC_START_MAIN): Set up __environ directly instead of using
48009 INIT_ARGV_and_ENVIRON.
48010 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48011 <bp-start.h>.
48012
48013 [BZ #13550]
48014 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48015 definitions.
48016 (CHECK_FCNTL): Likewise.
48017 (CHECK_N_PAGES): Likewise.
48018
48019 [BZ #13550]
48020 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48021 definitions.
48022 (CHECK_SIGSET_NULL_OK): Likewise.
48023 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48024 <bp-checks.h>.
48025 (sigpending): Don't use CHECK_SIGSET.
48026 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48027 <bp-checks.h>.
48028 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48029 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48030 <bp-checks.h>.
48031 (do_sigsuspend): Don't use CHECK_SIGSET.
48032 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48033 use CHECK_SIGSET.
48034 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48035 (do_sigwait): Don't use CHECK_SIGSET.
48036 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48037 use CHECK_SIGSET.
48038 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48039 include <bp-checks.h>.
48040 (sigpending): Don't use CHECK_SIGSET.
48041 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48042 include <bp-checks.h>.
48043 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48044 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48045 <bp-checks.h>.
48046 (sigpending): Don't use CHECK_SIGSET.
48047 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48048 <bp-checks.h>.
48049 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48050
48051 [BZ #13550]
48052 * sysdeps/generic/bp-semctl.h: Remove file.
48053 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48054 <bp-checks.h> and <bp-semctl.h>.
48055 (__old_semctl): Don't use CHECK_SEMCTL.
48056 (__new_semctl): Likewise.
48057 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48058 and <bp-semctl.h>.
48059 (__old_semctl): Don't use CHECK_SEMCTL.
48060 (__new_semctl): Likewise.
48061 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48062 <bp-checks.h> and <bp-semctl.h>.
48063 (__old_semctl): Don't use CHECK_SEMCTL.
48064 (__new_semctl): Likewise.
48065 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48066 <bp-checks.h> and <bp-semctl.h>.
48067 (semctl): Don't use CHECK_SEMCTL.
48068
48069 [BZ #13550]
48070 * Makerules (elide-bp-thunks): Remove variable.
48071 (elide-routines.oS): Don't use $(elide-bp-thunks).
48072 (elide-routines.os): Likewise.
48073 (elide-routines.o): Likewise.
48074 (elide-routines.op): Likewise.
48075 (elide-routines.og): Likewise.
48076 (objects): Don't use $(bp-thunks).
48077 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48078 include.
48079 (common-generated): Do not add s-proto-bp.d.
48080 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48081 (int): Likewise.
48082 (typ): Likewise.
48083 Do not generate makefile rules for bounded-pointer thunks.
48084 * sysdeps/generic/bp-thunks.h: Remove file.
48085 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48086 * sysdeps/unix/s-proto-bp.S: Likewise.
48087
48088 [BZ #15062]
48089 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48090 parts of result separately when argument is not close to line from
48091 -i to i and one part of argument is small.
48092 * math/k_casinhf.c (__kernel_casinhf): Likewise.
48093 * math/k_casinhl.c (__kernel_casinhl): Likewise.
48094 * math/libm-test.inc (cacos_test): Add more tests.
48095 (casin_test): Likewise.
48096 (casinh_test): Likewise.
48097 * sysdeps/i386/fpu/libm-test-ulps: Update.
48098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48099
48100 2013-01-31 David S. Miller <davem@davemloft.net>
48101
48102 * po/de.po: Update from translation team.
48103
48104 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
48105
48106 * time/tzfile.c: Include stdint.h for SIZE_MAX.
48107
48108 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
48109
48110 * configure.in (_AC_PROG_CC_C89): New definition.
48111 * configure: Regenerate.
48112
48113 * configure.in (AC_PROG_CPP): New definition.
48114 * configure: Regenerate.
48115
48116 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48117
48118 * debug/tst-backtrace.h: New file.
48119 * debug/tst-backtrace2.c: Include tst-backtrace.h.
48120 (ret): Remove variable.
48121 (x): Likewise.
48122 (FAIL): Remove macro.
48123 (NO_INLINE): Likewise.
48124 (fn1): Use match function instead of strstr.
48125 * debug/tst-backtrace3.c: Include tst-backtrace.h.
48126 (ret): Remove variable.
48127 (x): Likewise.
48128 (FAIL): Remove macro.
48129 (NO_INLINE): Likewise.
48130 (fn): Use match function instead of strstr.
48131 * debug/tst-backtrace4.c: Include tst-backtrace.h.
48132 (ret): Remove variable.
48133 (x): Likewise.
48134 (FAIL): Remove macro.
48135 (NO_INLINE): Likewise.
48136 (handle_signal): Use match function instead of strstr.
48137 * debug/tst-backtrace5.c: Include tst-backtrace.h.
48138 (ret): Remove variable.
48139 (x): Likewise.
48140 (FAIL): Remove macro.
48141 (NO_INLINE): Likewise.
48142 (handle_signal): Use match function instead of strstr.
48143
48144 2013-01-23 Roland McGrath <roland@hack.frob.com>
48145
48146 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48147
48148 2013-01-23 David S. Miller <davem@davemloft.net>
48149
48150 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48151 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48152 argument of CAS if possible.
48153 * sysdeps/sparc/sparc64/bits/atomic.h
48154 (__arch_compare_and_exchange_val_32_acq): Likewise.
48155 (__arch_compare_and_exchange_val_64_acq): Likewise.
48156
48157 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
48158
48159 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48160 * sysdeps/posix/ulimit.c: ... this.
48161 Include <limits.h>.
48162 * sysdeps/unix/bsd/ulimit.c: Remove file.
48163
48164 2013-01-23 Adam Conrad <adconrad@0c3.net>
48165
48166 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48167 (LDFLAGS-tst-array5): Likewise.
48168
48169 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48170
48171 [BZ #15036]
48172 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48173 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48174 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48175 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48176
48177 2013-01-21 David S. Miller <davem@davemloft.net>
48178
48179 * sysdeps/sparc/backtrace.c: New file.
48180 * sysdeps/sparc/sparc32/backtrace.h: New file.
48181 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48182 * sysdeps/sparc/sparc64/backtrace.h: New file.
48183 * sysdeps/sparc/sparc64/backtrace.c: Delete.
48184 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48185 -funwind-tables.
48186
48187 2013-01-21 Andreas Schwab <schwab@suse.de>
48188
48189 [BZ #15020]
48190 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48191 closed its stdout.
48192
48193 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
48194
48195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48196 "mpa2.h".
48197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48198
48199 2013-01-18 Joseph Myers <joseph@codesourcery.com>
48200 Mark Mitchell <mark@codesourcery.com>
48201 Tom de Vries <tom@codesourcery.com>
48202 Paul Pluzhnikov <ppluzhnikov@google.com>
48203
48204 * debug/tst-backtrace2.c: New file.
48205 * debug/tst-backtrace3.c: Likewise.
48206 * debug/tst-backtrace4.c: Likewise.
48207 * debug/tst-backtrace5.c: Likewise.
48208 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48209 (CFLAGS-tst-backtrace3.c): Likewise.
48210 (CFLAGS-tst-backtrace4.c): Likewise.
48211 (CFLAGS-tst-backtrace5.c): Likewise.
48212 (LDFLAGS-tst-backtrace2): Likewise.
48213 (LDFLAGS-tst-backtrace3): Likewise.
48214 (LDFLAGS-tst-backtrace4): Likewise.
48215 (LDFLAGS-tst-backtrace5): Likewise.
48216 (tests): Add new tests tst-backtrace2, tst-backtrace3,
48217 tst-backtrace4 and tst-backtrace5.
48218
48219 2013-01-18 Anton Blanchard <anton@samba.org>
48220 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48221
48222 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48223 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48224 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48225 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48227 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48228 "+r" and remove output regs list as redundant. Add explicit inline
48229 asm to specify register of return val to work around compiler codegen
48230 bug. Remove (int) cast on return value. Add return type parameter to
48231 use in macro so that this macro does not truncate return value for
48232 64-bit values.
48233 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48234 pass to INTERNAL_VSYSCALL_NCS.
48235 (INLINE_VSYSCALL): Add 'long int' as return type to
48236 INTERNAL_VSYSCALL_NCS macro invocation.
48237 (INTERNAL_VSYSCALL): Add 'long int' as return type to
48238 INTERNAL_VSYSCALL_NCS macro invocation.
48239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48240
48241 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
48242
48243 [BZ #14496]
48244 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48245 Fix application of SIMD FP exception mask.
48246
48247 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48248 mp_no from a power of two.
48249 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48250 __mpexp_twomm1. Use __pow_mp.
48251
48252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48253 multiplication.
48254
48255 2013-01-17 David S. Miller <davem@davemloft.net>
48256
48257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48258
48259 2013-01-17 Joseph Myers <joseph@codesourcery.com>
48260
48261 [BZ #15023]
48262 * include/complex.h: Condition contents on [!_COMPLEX_H].
48263 (__kernel_casinhf): New prototype.
48264 (__kernel_casinh): Likewise.
48265 (__kernel_casinhl): Likewise.
48266 * math/Makefile (libm_calls): Add k_casinh.
48267 * math/k_casinh.c: New file.
48268 * math/k_casinhf.c: Likewise.
48269 * math/k_casinhl.c: Likewise.
48270 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48271 finite nonzero arguments.
48272 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48273 finite nonzero arguments.
48274 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48275 finite nonzero arguments.
48276 * math/s_casinh.c: Do not include <float.h>.
48277 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48278 * math/s_casinhf.c: Do not include <float.h>.
48279 (__casinhf): Move code for finite nonzero arguments to
48280 k_casinhf.c.
48281 * math/s_casinhl.c: Do not include <float.h>.
48282 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48283 redefine.
48284 (__casinhl): Move code for finite nonzero arguments to
48285 k_casinhl.c.
48286 * math/libm-test.inc (cacos_test): Add more tests.
48287 * sysdeps/i386/fpu/libm-test-ulps: Update.
48288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48289
48290 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
48291
48292 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48293 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48294 [!HAVE_MREMAP]: Remove [defined linux] case.
48295 * malloc/arena.c: Do not include <malloc-sysdep.h>.
48296
48297 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
48298
48299 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48300
48301 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
48302
48303 * elf/elf.h (R_386_SIZE32): New relocation.
48304 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48305 R_386_SIZE32.
48306 (elf_machine_rela): Likewise.
48307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48308 R_X86_64_SIZE64 and R_X86_64_SIZE32.
48309
48310 2013-01-17 Joseph Myers <joseph@codesourcery.com>
48311
48312 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48313 (FP_FAST_FMA): Do not define.
48314 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48315 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48316 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48317 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48318 !_SOFT_FLOAT]: Likewise.
48319 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48320 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48321 value.
48322 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48323 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48324 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48325 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48326 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48327 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48328 file.
48329
48330 2013-01-16 Andreas Schwab <schwab@suse.de>
48331
48332 [BZ #14327]
48333 * include/stdlib.h (__mktemp): Add declaration.
48334 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48335 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48336
48337 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48338
48339 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48340 definitions.
48341 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48342 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48343 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48344 definitions here.
48345 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48346 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48347 definitions.
48348 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48349 and ONE.
48350 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48351 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48352 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48353 definitions.
48354 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48355 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48356 definitions.
48357 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48358
48359 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48360
48361 2013-01-15 David S. Miller <davem@davemloft.net>
48362
48363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48364 trunc{,f} to libm-sysdep_routes.
48365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48367 file.
48368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48370 file.
48371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48372 file.
48373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48375 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48376 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48377 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48378 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48379 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48380 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48381
48382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48383 nearbyint{,f} to libm-sysdep_routes.
48384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48386 New file.
48387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48388 file.
48389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48390 New file.
48391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48392 file.
48393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48395 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48396 file.
48397 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48398 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48399 file.
48400 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48401 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48402 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48403
48404 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48405 libc_feholdexcept and libc_fesetenv.
48406
48407 2013-01-15 Mike Frysinger <vapier@gentoo.org>
48408
48409 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48410
48411 2013-01-14 David S. Miller <davem@davemloft.net>
48412
48413 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48414 (SPARC_ASM_VIS2_IFUNC): Likewise.
48415 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48417 use of 'siam' instruction.
48418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48419 Likewise.
48420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48421 Likewise.
48422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48423 Likewise.
48424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48429 file.
48430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48431 file.
48432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48433 file.
48434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48435 file.
48436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48441 new VIS2 routines.
48442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48445 Likewise.
48446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48451 routines to libm-sysdep_routines.
48452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48453
48454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48455 fdim/fdimf to libm-sysdep_routines.
48456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48457 file.
48458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48460 file.
48461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48464 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48465 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48466 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48467 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48468
48469 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
48470
48471 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48472 to optimize copies.
48473
48474 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48477
48478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48479 local variable MPTWO.
48480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48481 Likewise.
48482
48483 2013-01-13 Mike Frysinger <vapier@gentoo.org>
48484
48485 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48486 GLOB_NOESCAPE.
48487
48488 2013-01-13 Mike Frysinger <vapier@gentoo.org>
48489
48490 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48491
48492 2013-01-13 Mike Frysinger <vapier@gentoo.org>
48493
48494 * manual/pattern.texi (glob_t): Document gl_flags.
48495 (glob64_t): Likewise.
48496
48497 2013-01-11 David S. Miller <davem@davemloft.net>
48498
48499 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48500 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48501 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
48502 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48503 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48504 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48505 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48506 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48507 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48508 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48509 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48510 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48511 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48512
48513 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48514 sparc V9 rather than using V8 code.
48515 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48516 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48517
48518 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48519 Move to...
48520 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48521 Here.
48522
48523 2013-01-11 Roland McGrath <roland@hack.frob.com>
48524
48525 [BZ #14941]
48526 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48527 not in the main loop.
48528 * configure: Regenerated.
48529
48530 2013-01-11 Joseph Myers <joseph@codesourcery.com>
48531
48532 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48533 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48534 to just #else.
48535 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
48536 [!__GLIBC_HAVE_LONG_LONG] case.
48537 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48538 condition to just #else.
48539 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48540 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48541 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48542 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48543 unconditional.
48544 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48545 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48546 #elif condition to just #else.
48547 * sysdeps/unix/sysv/linux/sys/sysmacros.h
48548 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48549 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48550 #elif condition to just #else.
48551
48552 2013-01-11 Steve Ellcey <sellcey@mips.com>
48553
48554 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48555 (EF_MIPS_ARCH_64): Fix value.
48556 (EF_MIPS_ARCH_32R2): New.
48557 (EF_MIPS_ARCH_64R2): New.
48558
48559 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
48560
48561 * Makeconfig (+link-pie-before-libc): New.
48562 (+link-pie-after-libc): Likewise.
48563 (+link-pie-tests): Likewise.
48564 (+link-pie): Rewritten.
48565 (link-before-libc): Remove $(config-LDFLAGS).
48566 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48567 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48568 (config-LDFLAGS): Renamed to ...
48569 (rtld-LDFLAGS): This.
48570 (rtld-tests-LDFLAGS): New macro.
48571 (link-libc-rpath-link): Likewise.
48572 (link-libc-tests-rpath-link): Likewise.
48573 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48574 (link-libc): Prepand $(link-libc-rpath-link).
48575 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48576 (test-program-prefix): New macro.
48577 (test-via-rtld-prefix): Likewise.
48578 (test-program-cmd): Likewise.
48579 (host-test-program-cmd): Likewise.
48580 * Makefile ($(common-objpfx)testrun.sh): Replace
48581 $(run-program-prefix) with $(test-program-prefix).
48582 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48583 $(rtld-LDFLAGS).
48584 ($(common-objpfx)shlib.lds): Likewise.
48585 (build-module-helper): Likewise.
48586 ($(common-objpfx)format.lds): Likewise.
48587 * Rules (binaries-pie-tests): New.
48588 (binaries-pie-notests): Likewise.
48589 (binaries-pie): Rewritten.
48590 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48591 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48592 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48593 (make-test-out): Replace $(host-built-program-cmd) with
48594 $(host-test-program-cmd).
48595 * config.make.in (build-hardcoded-path-in-tests): New variable.
48596 * configure.in (--enable-hardcoded-path-in-tests): New configure
48597 option.
48598 (hardcoded_path_in_tests): New AC_SUBST.
48599 * configure: Regenerated.
48600 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48601 $(built-program-cmd) with $(test-program-cmd).
48602 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48603 (test_program_cmd): This.
48604 * elf/Makefile ($(objpfx)order.out): Run test with
48605 $(test-program-prefix).
48606 ($(objpfx)order2.out): Likewise.
48607 ($(objpfx)tst-initorder.out): Likewise.
48608 ($(objpfx)tst-initorder2.out): Likewise.
48609 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48610 $(test-program-cmd).
48611 ($(objpfx)tst-array1-static.out): Likewise.
48612 ($(objpfx)tst-array2.out): Likewise.
48613 ($(objpfx)tst-array3.out): Likewise.
48614 ($(objpfx)tst-array4.out): Likewise.
48615 ($(objpfx)tst-array5.out): Likewise.
48616 ($(objpfx)tst-array5-static.out): Likewise.
48617 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48618 $(test-program-cmd).
48619 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48620 $(run-program-prefix) with $(test-program-prefix).
48621 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48622 (test_program_prefix): This.
48623 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48624 $(run-program-prefix) with $(test-program-prefix).
48625 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48626 (test_program_prefix): This.
48627 * iconvdata/tst-tables.sh: Likewise.
48628 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48629 $(run-program-prefix) with $(test-program-prefix).
48630 ($(objpfx)tst-translit.out): Likewise.
48631 ($(objpfx)tst-gettext2.out): Likewise.
48632 ($(objpfx)tst-gettext4.out): Likewise.
48633 ($(objpfx)tst-gettext6.out): Likewise.
48634 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48635 (test_program_prefix): This.
48636 * intl/tst-gettext2.sh: Likewise.
48637 * intl/tst-gettext4.sh Likewise.
48638 * intl/tst-gettext6.sh: Likewise.
48639 * intl/tst-translit.sh: Likewise.
48640 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48641 with $(test-program-cmd).
48642 * libio/Makefile ($(objpfx)test-freopen.out): Replace
48643 $(run-program-prefix) with $(test-program-prefix).
48644 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48645 (test_program_prefix): This.
48646 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48647 $(run-program-prefix) with $(test-program-prefix).
48648 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48649 (test_program_prefix): This.
48650 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48651 * posix/Makefile ($(objpfx)globtest.out): Replace
48652 $(run-via-rtld-prefix) and $(test-wrapper) with
48653 $(test-program-prefix) and $(test-via-rtld-prefix).
48654 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48655 $(test-program-prefix).
48656 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48657 $(host-test-program-cmd).
48658 (tst-spawn-ARGS): Likewise.
48659 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48660 $(test-program-prefix).
48661 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48662 (test_via_rtld_prefix): This.
48663 (test_wrapper): Renamed to ...
48664 (test_program_prefix): This.
48665 (run_program_prefix): Replaced by test_program_prefix.
48666 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48667 (test_program_prefix): This.
48668 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48669 with $(host-test-program-cmd).
48670 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48671 $(run-program-prefix) with $(test-program-prefix).
48672 ($(objpfx)tst-printf.out): Likewise.
48673 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48674 $(test-program-cmd).
48675 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48676 (test_program_prefix): This.
48677 * stdio-common/tst-unbputc.sh: Likewise.
48678 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48679 $(run-program-prefix) with $(test-program-prefix).
48680 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48681 (test_program_prefix): This.
48682 * string/Makefile ($(objpfx)tst-svc.out): Replace
48683 $(built-program-cmd) with $(test-program-cmd).
48684
48685 2013-01-11 Andreas Jaeger <aj@suse.de>
48686
48687 [BZ #15003]
48688 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48689 value. Sync with Linux 3.7.
48690
48691 2013-01-10 David S. Miller <davem@davemloft.net>
48692
48693 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48694 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48695 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48696
48697 2013-01-10 Roland McGrath <roland@hack.frob.com>
48698
48699 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48700 never set.
48701 * configure: Regenerated.
48702
48703 2013-01-10 David S. Miller <davem@davemloft.net>
48704
48705 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48706 sparc V9 rather than using V8 code.
48707 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48708 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48709
48710 2013-01-10 Roland McGrath <roland@hack.frob.com>
48711
48712 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48713 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48714 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48715 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48716 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48717 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48718 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48719 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48720 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48721 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48722 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48723 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48724 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48725 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48726 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48727 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48728 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48729 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48730 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48731 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48732 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48733 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48734 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48735 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48736 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48737 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48738 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48739
48740 2013-01-10 David S. Miller <davem@davemloft.net>
48741
48742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48743
48744 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
48745
48746 * posix/Makefile (tests-static): New variable.
48747 (tests): Add $(tests-static).
48748 (tst-exec-static-ARGS): New variable.
48749 (tst-spawn-static-ARGS): Likewise.
48750 * posix/tst-exec-static.c: New file.
48751 * posix/tst-spawn-static.c: Likewise.
48752 * posix/tst-exec.c: Support run directly.
48753 * posix/tst-spawn.c: Likewise.
48754
48755 2013-01-10 Joseph Myers <joseph@codesourcery.com>
48756
48757 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48758 long.
48759 * math/bits/mathcalls.h (llrint): Likewise.
48760 (llround): Likewise.
48761 * stdlib/stdlib.h (struct drand48_data): Likewise.
48762 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48763 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48764 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48765 Likewise.
48766 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48767 Likewise.
48768 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48769 (elf_greg_t): Likewise.
48770 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48771 (__jmp_buf): Likewise.
48772 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48773 definitions.
48774 (llrint): Likewise, for all definitions.
48775 (llrintl): Likewise.
48776
48777 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48778 Remove [__GNUC__] condition.
48779 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48780 condition to just [__USE_ISOC99].
48781 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48782
48783 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
48784
48785 [BZ #14200]
48786 * sysdeps/unix/sysv/linux/x86/bits/environments.h
48787 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48788 defined.
48789 (_POSIX_V6_ILP32_OFF32): Likewise.
48790 (_XBS5_ILP32_OFF32): Likewise.
48791 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48792 (__ILP32_OFFBIG_LDFLAGS): Likewise.
48793
48794 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48795
48796 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48797
48798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48799 doubles __mpexp_twomm1. Adjust usage.
48800 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48801 Remove.
48802
48803 2013-01-10 Andreas Schwab <schwab@suse.de>
48804
48805 [BZ #14964]
48806 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48807 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48808
48809 2013-01-09 David S. Miller <davem@davemloft.net>
48810
48811 [BZ #15003]
48812 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48813 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48814 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48815 (TCP_FASTOPEN): Define.
48816 (tcp_repair_opt): New structure.
48817 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48818 enum values.
48819 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48820 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48821 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48822 (tcp_cookie_transactions): New structure.
48823
48824 2013-01-09 Anton Blanchard <anton@samba.org>
48825
48826 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48827 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48828 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48829 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48830
48831 2013-01-09 Joseph Myers <joseph@codesourcery.com>
48832
48833 * include/features.h (__USE_ANSI): Remove.
48834
48835 2013-01-09 Roland McGrath <roland@hack.frob.com>
48836
48837 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48838
48839 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48840
48841 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
48842
48843 * sysdeps/s390/fpu/libm-test-ulps: Update.
48844
48845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48846
48847 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48848 (__acr): Likewise.
48849 (__cpy): Likewise.
48850 (norm): Likewise.
48851 (denorm): Likewise.
48852 (__mp_dbl): Likewise.
48853 (__dbl_mp): Likewise.
48854 (add_magnitudes): Likewise.
48855 (sub_magnitudes): Likewise.
48856 (__add): Likewise.
48857 (__sub): Likewise.
48858 (__mul): Likewise.
48859 (__inv): Likewise.
48860 (__dvd): Likewise.
48861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48862 (__acr): Likewise.
48863 (__cpy): Likewise.
48864 (norm): Likewise.
48865 (denorm): Likewise.
48866 (__mp_dbl): Likewise.
48867 (__dbl_mp): Likewise.
48868 (add_magnitudes): Likewise.
48869 (sub_magnitudes): Likewise.
48870 (__add): Likewise.
48871 (__sub): Likewise.
48872 (__mul): Likewise.
48873 (__inv): Likewise.
48874 (__dvd): Likewise.
48875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48876 (__acr): Likewise.
48877 (__cpy): Likewise.
48878 (norm): Likewise.
48879 (denorm): Likewise.
48880 (__mp_dbl): Likewise.
48881 (__dbl_mp): Likewise.
48882 (add_magnitudes): Likewise.
48883 (sub_magnitudes): Likewise.
48884 (__add): Likewise.
48885 (__sub): Likewise.
48886 (__mul): Likewise.
48887 (__inv): Likewise.
48888 (__dvd): Likewise.
48889
48890 2013-01-08 Joseph Myers <joseph@codesourcery.com>
48891
48892 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48893 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48894 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48895 2 && __USE_EXTERN_INLINES]: Likewise.
48896
48897 2013-01-08 Andreas Jaeger <aj@suse.de>
48898
48899 [BZ# 14985]
48900 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48901 Remove.
48902 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48903 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48904
48905 2013-01-07 Anton Blanchard <anton@samba.org>
48906
48907 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48908 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48909 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48910 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48911 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48912 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48913 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48914 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48916 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48917 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48918 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48919 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48920 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48921 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48922 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48923 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48924 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48925 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48926 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48928 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48930 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48931 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48932 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48933 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48934 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48936 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48937 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48939 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48942 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48943 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48944 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48946 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48947 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48949 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48950
48951 2013-01-07 Joseph Myers <joseph@codesourcery.com>
48952
48953 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48954 (__MALLOC_PMT): Likewise.
48955 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48956 [__GNUC__], only on [_LIBC].
48957 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48958 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48959 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48960 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48961 forward declaration.
48962 (realloc_hook_ini): Likewise.
48963 (memalign_hook_ini): Likewise.
48964 (__libc_memalign): Do not use __MALLOC_PMT in variable
48965 declaration.
48966 (__libc_valloc): Likewise.
48967 (__libc_pvalloc): Likewise.
48968 (__libc_calloc): Likewise.
48969 (__posix_memalign): Likewise.
48970
48971 [BZ #14996]
48972 * math/s_casinh.c: Include <float.h>.
48973 (__casinh): Do not do computation with squaring and square root
48974 for large arguments.
48975 * math/s_casinhf.c: Include <float.h>.
48976 (__casinhf): Do not do computation with squaring and square root
48977 for large arguments.
48978 * math/s_casinhl.c: Include <float.h>.
48979 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48980 (__casinhl): Do not do computation with squaring and square root
48981 for large arguments.
48982 * math/libm-test.inc (casin_test): Add more tests.
48983 (casinh_test): Likewise.
48984 * sysdeps/i386/fpu/libm-test-ulps: Update.
48985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48986
48987 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
48988
48989 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48990 (__x86_64_raw_data_cache_size): Likewise.
48991 (__x86_64_data_cache_size_half): Likewise.
48992 (__x86_64_raw_data_cache_size_half): Likewise.
48993 (__x86_64_shared_cache_size): Likewise.
48994 (__x86_64_raw_shared_cache_size): Likewise.
48995 (__x86_64_shared_cache_size_half): Likewise.
48996 (__x86_64_raw_shared_cache_size_half): Likewise.
48997 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48998 to ...
48999 (__x86_data_cache_size): This.
49000 (__x86_64_raw_data_cache_size): Renamed to ...
49001 (__x86_raw_data_cache_size): This.
49002 (__x86_64_data_cache_size_half): Renamed to ...
49003 (__x86_data_cache_size_half): This.
49004 (__x86_64_raw_data_cache_size_half): Renamed to ...
49005 (__x86_raw_data_cache_size_half): This.
49006 (__x86_64_shared_cache_size): Renamed to ...
49007 (__x86_shared_cache_size): This.
49008 (__x86_64_raw_shared_cache_size): Renamed to ...
49009 (__x86_raw_shared_cache_size): This.
49010 (__x86_64_shared_cache_size_half): Renamed to ...
49011 (__x86_shared_cache_size_half): This.
49012 (__x86_64_raw_shared_cache_size_half): Renamed to ...
49013 (__x86_raw_shared_cache_size_half): This.
49014 * sysdeps/x86_64/memcpy.S: Updated.
49015 * sysdeps/x86_64/memset.S: Likewise.
49016 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49019
49020 2013-01-04 David S. Miller <davem@davemloft.net>
49021
49022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49023
49024 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
49025
49026 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49027 1 to avoid redefinition warning.
49028 (__USE_GNU): Don't define.
49029 (init_signaling_nan): Protoize.
49030
49031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49032
49033 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49034
49035 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49037 (__cpymn): Likewise.
49038 (norm): Remove commented code.
49039 (denorm): Likewise.
49040 (__mp_dbl): Likewise.
49041 (__inv): Likewise.
49042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49043 (__cpymn): Likewise.
49044 (norm): Remove commented code.
49045 (denorm): Likewise.
49046 (__mp_dbl): Likewise.
49047 (__inv): Likewise.
49048
49049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49050 mp_no value for 1.0 and 2.0.
49051 (norm): Use RADIXI instead of radixi.d.
49052 (denorm): Likewise.
49053 (__mul): Use 0.0 instead of zero.d.
49054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49055 mp_no value for 1.0 and 2.0.
49056 (norm): Use RADIXI instead of radixi.d.
49057 (denorm): Likewise.
49058 (__mul): Use 0.0 instead of zero.d.
49059
49060 2013-01-04 Joseph Myers <joseph@codesourcery.com>
49061
49062 [BZ #14994]
49063 * math/s_casinh.c (__casinh): Reduce finite argument to first
49064 quadrant then set signs of results at the end.
49065 * math/s_casinhf.c (__casinhf): Likewise.
49066 * math/s_casinhl.c (__casinhl): Likewise.
49067 * math/libm-test.inc (casin_test): Add more tests.
49068 (casinh_test): Likewise.
49069 * sysdeps/i386/fpu/libm-test-ulps: Update.
49070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49071
49072 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49073
49074 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49075
49076 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49077
49078 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49079 declarations.
49080 (denorm): Likewise.
49081 (__mp_dbl): Likewise.
49082 (__inv): Likewise.
49083
49084 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49085 and adjust the header comment.
49086
49087 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49088 variable name from declaration.
49089
49090 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
49091
49092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49093 Initialize COMMON_CPUID_INDEX_7 element.
49094 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49095 (CPUID_RTM): Likewise.
49096 (HAS_RTM): Likewise.
49097 (COMMON_CPUID_INDEX_7): New enum.
49098
49099 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
49100
49101 [BZ #14981]
49102 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49103 size is zero, record memory as freed.
49104
49105 2013-01-03 Andreas Jaeger <aj@suse.de>
49106
49107 * po/ia.po: Add new Interlingua translation.
49108
49109 2012-01-03 Allan McRae <allan@archlinux.org>
49110
49111 * locale/programs/localedef.c: Fix description of '--posix' flag.
49112
49113 2013-01-02 Joseph Myers <joseph@codesourcery.com>
49114
49115 * NEWS: Update dates in second copyright notice.
49116 * README: Update copyright dates in example.
49117 * manual/libc.texinfo: Update copyright dates.
49118 * scripts/test-installation.pl: Update copyright date in --version
49119 output.
49120
49121 * hurd/ctty-input.c: Fix copyright notice formatting.
49122 * hurd/ctty-output.c: Likewise.
49123 * hurd/dtable.c: Likewise.
49124 * hurd/hurd-raise.c: Likewise.
49125 * hurd/hurdprio.c: Likewise.
49126 * hurd/msgportdemux.c: Likewise.
49127 * misc/sys/file.h: Likewise.
49128 * misc/sys/ioctl.h: Likewise.
49129 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49130 * sysdeps/mach/hurd/chdir.c: Likewise.
49131 * sysdeps/mach/hurd/fchdir.c: Likewise.
49132 * sysdeps/mach/hurd/rename.c: Likewise.
49133 * sysdeps/mach/hurd/rmdir.c: Likewise.
49134 * sysdeps/mach/hurd/seekdir.c: Likewise.
49135 * sysdeps/mach/hurd/setsid.c: Likewise.
49136 * sysdeps/posix/wait3.c: Likewise.
49137
49138 * All files with FSF copyright notices: Update copyright dates
49139 using scripts/update-copyrights.
49140 * intl/plural.c: Regenerated.
49141 * locale/programs/charmap-kw.h: Likewise.
49142 * locale/programs/locfile-kw.h: Likewise.
49143
49144 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49145
49146 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49147 four values.
49148
49149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49150 calculation loop and add branch prediction.
49151
49152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49153 check access beyond bounds of m1np.
49154
49155 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49156 MPTWO.
49157 (__inv): Remove local variable MPTWO to use the global
49158 constant.
49159 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49160 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49161 variable MPTWO.
49162 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49163 MP3HALFS static const.
49164
49165 2013-01-01 David S. Miller <davem@davemloft.net>
49166
49167 * po/ca.po: Update from translation team.
49168
49169 2013-01-01 Joseph Myers <joseph@codesourcery.com>
49170
49171 * scripts/update-copyrights: New file.
49172 * Makeconfig: Reformat copyright notice.
49173 * ctype/ctype.h: Likewise.
49174 * debug/swprintf_chk.c: Likewise.
49175 * elf/dl-cache.c: Likewise.
49176 * elf/dl-debug.c: Likewise.
49177 * elf/dl-object.c: Likewise.
49178 * grp/initgroups.c: Likewise.
49179 * hurd/Makefile: Likewise.
49180 * hurd/hurd/signal.h: Likewise.
49181 * hurd/hurdfault.c: Likewise.
49182 * hurd/hurdioctl.c: Likewise.
49183 * hurd/hurdlookup.c: Likewise.
49184 * hurd/intr-msg.c: Likewise.
49185 * iconv/gconv_open.c: Likewise.
49186 * libio/swprintf.c: Likewise.
49187 * locale/lc-ctype.c: Likewise.
49188 * locale/nl_langinfo.c: Likewise.
49189 * mach/Machrules: Likewise.
49190 * mach/Makefile: Likewise.
49191 * malloc/obstack.h: Likewise.
49192 * manual/Makefile: Likewise.
49193 * manual/tsort.awk: Likewise.
49194 * misc/bits/stab.def: Likewise.
49195 * nis/nis_print_group_entry.c: Likewise.
49196 * nis/nis_table.c: Likewise.
49197 * nis/nss_compat/compat-pwd.c: Likewise.
49198 * nis/nss_compat/compat-spwd.c: Likewise.
49199 * po/Makefile: Likewise.
49200 * posix/fnmatch.c: Likewise.
49201 * posix/regex.h: Likewise.
49202 * resolv/Makefile: Likewise.
49203 * resolv/nss_dns/dns-network.c: Likewise.
49204 * resolv/res_hconf.c: Likewise.
49205 * scripts/gen-sorted.awk: Likewise.
49206 * soft-fp/soft-fp.h: Likewise.
49207 * stdio-common/printf.h: Likewise.
49208 * stdlib/monetary.h: Likewise.
49209 * stdlib/random.c: Likewise.
49210 * stdlib/random_r.c: Likewise.
49211 * sysdeps/generic/Makefile: Likewise.
49212 * sysdeps/gnu/Makefile: Likewise.
49213 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49215 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49220 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49221 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49222 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49223 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49224 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49225 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49226 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49227 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49228 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49229 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49231 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49232 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49233 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49234 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49235 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49240 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49241 * sysdeps/mach/hurd/errnos.awk: Likewise.
49242 * sysdeps/mach/hurd/fork.c: Likewise.
49243 * sysdeps/mach/hurd/getcwd.c: Likewise.
49244 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49245 * sysdeps/mach/hurd/mmap.c: Likewise.
49246 * sysdeps/mach/hurd/utimes.c: Likewise.
49247 * sysdeps/mach/hurd/xmknod.c: Likewise.
49248 * sysdeps/posix/profil.c: Likewise.
49249 * sysdeps/posix/readdir_r.c: Likewise.
49250 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49251 * sysdeps/powerpc/bits/setjmp.h: Likewise.
49252 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49253 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49255 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49256 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49257 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49259 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49260 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49261 * sysdeps/pthread/lio_listio.c: Likewise.
49262 * sysdeps/sparc/dl-procinfo.h: Likewise.
49263 * sysdeps/unix/i386/sysdep.S: Likewise.
49264 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49265 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49266 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49267 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49269 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49270 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49271 * sysdeps/unix/sysv/linux/speed.c: Likewise.
49272 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49273 * sysdeps/wordsize-32/divdi3.c: Likewise.
49274 * time/sys/time.h: Likewise.
49275 * wcsmbs/Makefile: Likewise.
49276
49277 2013-01-01 David S. Miller <davem@davemloft.net>
49278
49279 * po/fr.po: Update from translation team.
49280
49281 * catgets/gencat.c: Update copyright year.
49282 * csu/version.c: Likewise.
49283 * debug/catchsegv.sh: Likewise.
49284 * debug/pcprofiledump.c: Likewise.
49285 * debug/xtrace.sh: Likewise.
49286 * elf/ldconfig.c: Likewise.
49287 * elf/ldd.bash.in: Likewise.
49288 * elf/pldd.c: Likewise.
49289 * elf/sotruss.ksh: Likewise.
49290 * elf/sprof.c: Likewise.
49291 * iconv/iconv_prog.c: Likewise.
49292 * iconv/iconvconfig.c: Likewise.
49293 * locale/programs/locale.c: Likewise.
49294 * locale/programs/localedef.c: Likewise.
49295 * login/programs/pt_chown.c: Likewise.
49296 * malloc/memusage.sh: Likewise.
49297 * malloc/memusagestat.c: Likewise.
49298 * malloc/mtrace.pl: Likewise.
49299 * nscd/nscd.c: Likewise.
49300 * nss/getent.c: Likewise.
49301 * nss/makedb.c: Likewise.
49302 * posix/getconf.c: Likewise.
49303
49304 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49305
49306 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49307 numbers.
49308
49309 2012-12-30 Mike Frysinger <vapier@gentoo.org>
49310
49311 * math/bits/mathcalls.h (modf): Use __nonnull.
49312
49313 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49314
49315 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49316 (split): Use macro CN instead of the bare value.
49317 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49318 could be used.
49319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49320 instead of the bare value.
49321 (power1): Likewise.
49322
49323 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49324
49325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49326 __ATAN_TWOM.
49327 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49328
49329 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49330 their values.
49331 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49333 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49334 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49335
49336 2012-12-28 Andreas Jaeger <aj@suse.de>
49337
49338 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
49339 values are from Linux 3.7.
49340
49341 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49342 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
49343
49344 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49345
49346 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49347 TRUE case.
49348
49349 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49350 (norm): Likewise.
49351 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49352 variables with preprocessor constants.
49353 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49354 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49355 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49356
49357 2012-12-27 Bruno Haible <bruno@clisp.org>
49358
49359 [BZ #14317]
49360 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49361 only if needed.
49362
49363 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
49364
49365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49366 and use variable directly.
49367 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49368
49369 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49370 MPONE.
49371 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49372 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49373 variable MPONE.
49374 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49376 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49377 include directive. Remove local variable MPONE.
49378 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49379 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49381
49382 2012-12-25 David S. Miller <davem@davemloft.net>
49383
49384 * version.h (RELEASE): Set to "development".
49385 (VERSION): Set to "2.17.90".
49386 * NEWS: Add 2.18 section.
49387
49388 2012-12-21 David S. Miller <davem@davemloft.net>
49389
49390 * po/hr.po: Update from translation team.
49391
49392 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49393
49394 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49395
49396 2012-12-19 Steve Ellcey <sellcey@mips.com>
49397
49398 * NEWS: Mention new memcpy for MIPS.
49399
49400 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49401
49402 * manual/contrib.texi (Contributors): Spelling correction.
49403
49404 2012-12-15 David S. Miller <davem@davemloft.net>
49405
49406 * po/ru.po: Update from translation team.
49407
49408 2012-12-13 David S. Miller <davem@davemloft.net>
49409
49410 * NEWS: Mention IFUNC testsuite enhancements.
49411
49412 * po/pl.po: Update from translation team.
49413 * po/bg.po: Likewise.
49414
49415 * manual/contrib.texi (Contributors): Update entries for Hongjiu
49416 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
49417
49418 2012-12-11 David S. Miller <davem@davemloft.net>
49419
49420 * po/sv.po: Update from translation team.
49421
49422 * po/vi.po: Update from translation team.
49423
49424 * po/cs.po: Update from translation team.
49425
49426 * po/de.po: Update from translation team.
49427 * po/eo.po: Likewise.
49428 * po/nl.po: Likewise.
49429
49430 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49431
49432 [BZ #14246]
49433 * manual/argp.texi (Argp Helper Functions): Move node to follow
49434 Argp Parsing State.
49435
49436 [BZ #14872]
49437 * manual/conf.texi (Limits on File System Capacity): Mention if
49438 terminating null is included in the max size.
49439
49440 2012-12-10 Andreas Jaeger <aj@suse.de>
49441
49442 * po/cs.po: Update from translation team.
49443
49444 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
49445
49446 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49447 void pointer and cast to uintptr_t.
49448 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49449 path.
49450 * sysdeps/s390/s390-64/memcpy.S: Likewise.
49451 * sysdeps/s390/s390-64/memset.S: Likewise.
49452
49453 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
49454
49455 [BZ #14833]
49456 * menual/message.texi (Message Translation): Fix typos.
49457 (Helper programs for gettext): Likewise.
49458
49459 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
49460
49461 [BZ #14898]
49462 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49463 Change to -1.
49464
49465 2012-12-07 David S. Miller <davem@davemloft.net>
49466
49467 * po/libc.pot: Update.
49468
49469 2012-12-07 Richard Henderson <rth@redhat.com>
49470
49471 [BZ #10114]
49472 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49473 normal/normal case to before the switch.
49474 (_FP_DIV): Likewise.
49475
49476 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
49477 Mike Frysinger <vapier@gentoo.org>
49478
49479 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49480 check for __NR_fadvise64_64.
49481
49482 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
49483
49484 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49485 0, not just to plain "0" as a statement.
49486 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49487 with cw.
49488
49489 2012-12-06 Joseph Myers <joseph@codesourcery.com>
49490
49491 * NEWS: Use sourceware.org in Bugzilla URL.
49492
49493 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49494
49495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49496 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49497
49498 * stdio-common/tst-put-error.c (do_test): Add newline to the
49499 padded test to ensure flush.
49500
49501 2012-12-05 Jeff Law <law@redhat.com>
49502
49503 * sunrpc/etc.rpc (fedfs_admin): Add entry.
49504
49505 2012-12-05 Joseph Myers <joseph@codesourcery.com>
49506
49507 * README: Don't refer to ports add-on as distributed separately.
49508 Mention AArch64 in list of systems supported in the ports add-on.
49509
49510 * LICENSES: Add more non-FSF copyright and license notices.
49511
49512 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49513 ((unused)).
49514
49515 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49516
49517 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49518 10000 as width of padded output.
49519
49520 2012-12-04 Joseph Myers <joseph@codesourcery.com>
49521
49522 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49523
49524 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49525 variable LX with __attribute__ ((unused)).
49526 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49527 Likewise.
49528 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49529 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49530 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49531 with __attribute__ ((unused)).
49532
49533 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
49534
49535 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49536
49537 2012-12-04 Joseph Myers <joseph@codesourcery.com>
49538
49539 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49540 (CFLAGS-nldbl-acos.c): New variable.
49541 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49542 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49543 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49544 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49545 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49546 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49547 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49548 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49549 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49550 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49551 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49552 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49553 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49554 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49555 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49556 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49557 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49558 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49559 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49560 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49561 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49562 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49563 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49564 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49565 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49566 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49567 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49568 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49569 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49570 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49571 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49572 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49573 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49574 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49575 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49576 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49577 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49578 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49579 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49580 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49581 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49582 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49583 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49584 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49585 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49586 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49587 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49588 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49589 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49590 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49591 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49592 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49593 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49594 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49595 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49596 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49597 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49598 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49599 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49600 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49601 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49602 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49603 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49604 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49605 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49606 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49607 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49608 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49609 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49610 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49611 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49612 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49613 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49614 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49615 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49616 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49617 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49618 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49619 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49620 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49621 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49622 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49623 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49624 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49625 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49626 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49627 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49628 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49629 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49630 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49631 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49632 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49633 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49634 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49635 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49636 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49637 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49638
49639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49640 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49641
49642 [BZ #14914]
49643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49644 whole low double instead of just low 47 bits when splitting values
49645 into two parts.
49646
49647 2012-12-03 Allan McRae <allan@archlinux.org>
49648
49649 * manual/stdio.texi (Predefined Printf Handlers): Remove
49650 @hsep and @vsep usage.
49651
49652 2012-12-03 Mike Frysinger <vapier@gentoo.org>
49653
49654 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49655 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49656
49657 2012-12-03 Jeff Law <law@redhat.com>
49658
49659 * time/sys/time.h (settimeofday): Do not mark TV argument
49660 as __nonnull.
49661
49662 2012-12-01 Mike Frysinger <vapier@gentoo.org>
49663
49664 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49665 when currently writing and seek to current position when not.
49666 * libio/Makefile (tests): Remove bug-fclose1.
49667 * libio/bug-fclose1.c: Delete.
49668
49669 2012-12-01 Joseph Myers <joseph@codesourcery.com>
49670
49671 * manual/arith.texi (feenableexcept): Fix typo.
49672 (fedisableexcept): Likewise.
49673
49674 2012-11-30 Roland McGrath <roland@hack.frob.com>
49675
49676 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49677 second, differently-typed declaration, rather than a cast.
49678
49679 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49680
49681 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49682 * include/rpc/svc.h: ... here.
49683
49684 2012-11-30 Aurelien Jarno <aurel32@debian.org>
49685
49686 [BZ #13013]
49687 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49688 depending n and resplen2 to catch cases where answer
49689 equals answerp2.
49690
49691 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
49692
49693 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49694 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49695
49696 2012-11-29 Mike Frysinger <vapier@gentoo.org>
49697
49698 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49699
49700 2012-11-29 Roland McGrath <roland@hack.frob.com>
49701
49702 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49703
49704 2012-11-28 Jeff Law <law@redhat.com>
49705
49706 [BZ #13761]
49707 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49708 dataset_temporary. Track alloca usage into alloca_used.
49709 If dataset is large allocate and release it via malloc/free.
49710
49711 2012-06-04 Florian Weimer <fweimer@redhat.com>
49712
49713 [BZ #14197]
49714 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49715
49716 2012-11-28 David S. Miller <davem@davemloft.net>
49717
49718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49719
49720 2012-11-28 Joseph Myers <joseph@codesourcery.com>
49721
49722 [BZ #14803]
49723 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49724 of pi/2 rounded to nearest to 64 bits.
49725 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49726 nearest to 64 bits.
49727 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49728 bits.
49729
49730 2012-11-28 Jeff Law <law@redhat.com>
49731 Martin Osvald <mosvald@redhat.com>
49732
49733 [BZ #14889]
49734 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49735 * sunrpc/svc.c: Include time.h.
49736 (__svc_accept_failed): New function.
49737 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49738 any reason other than EINTR, call __svc_accept_failed.
49739 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49740 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49741
49742 2012-11-28 Andreas Schwab <schwab@suse.de>
49743
49744 * scripts/abilist.awk: Also handle indirect functions in .opd
49745 section.
49746
49747 2012-11-28 Joseph Myers <joseph@codesourcery.com>
49748
49749 [BZ #13881]
49750 * sysdeps/x86/fpu/powl_helper.c: New file.
49751 * sysdeps/x86/fpu/Makefile: Likewise.
49752 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49753 (p3): New object.
49754 (__ieee754_powl): Use __powl_helper for finite arguments except
49755 integer exponents below 8.
49756 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49757 (p3): New object.
49758 (__ieee754_powl): Use __powl_helper for finite arguments except
49759 integer exponents below 8.
49760 * math/libm-test.inc (pow_test): Add more tests and enable some
49761 previously disabled tests.
49762 * sysdeps/i386/fpu/libm-test-ulps: Update.
49763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49764
49765 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49766 Carlos O'Donell <carlos_odonell@mentor.com>
49767
49768 * nss/makedb.c (is_prime): Assert that input is odd and greater
49769 than 4. Note that fact in a comment too.
49770 (next_prime): Add 4 to input.
49771
49772 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
49773
49774 [BZ #11741]
49775 * libio/Makefile (tests): Add test case tst-fwrite-error.
49776 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49777 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49778 * libio/tst-fwrite-error.c: New test case.
49779
49780 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
49781
49782 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49783 before casting to void *.
49784 * include/libc-internal.h (__pointer_type): New macro.
49785 (__integer_if_pointer_type_sub): Likewise.
49786 (__integer_if_pointer_type): Likewise.
49787 (cast_to_integer): Likewise.
49788 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49789 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49790 before casting to atomic64_t.
49791 (atomic_exchange_acq): Likewise.
49792 (__arch_exchange_and_add_body): Likewise.
49793 (__arch_add_body): Likewise.
49794 (atomic_add_negative): Likewise.
49795 (atomic_add_zero): Likewise.
49796
49797 2012-11-26 Joseph Myers <joseph@codesourcery.com>
49798
49799 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49800 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49801 (add_fdes): Likewise.
49802 (linear_search_fdes): Likewise.
49803 (binary_search_unencoded_fdes): Likewise.
49804
49805 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
49806
49807 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49808
49809 2012-11-24 Adam Conrad <adconrad@0c3.net>
49810
49811 * configure.in: Autodetect C++ header directories.
49812 * configure: Regenerated.
49813
49814 2012-11-23 Mike Frysinger <vapier@gentoo.org>
49815
49816 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49817
49818 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
49819
49820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49821
49822 2012-11-22 Joseph Myers <joseph@codesourcery.com>
49823
49824 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49825 LDBL_MANT_DIG == 106]: Disable some tests.
49826 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49827 Likewise.
49828 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49829 Likewise.
49830
49831 [BZ #14871]
49832 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49833 input for small inputs. Return +/- pi/2 for large inputs.
49834 * math/libm-test.inc (atan_test): Add more tests.
49835
49836 * sysdeps/generic/unwind-dw2-fde-glibc.c
49837 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49838 __attribute__ ((unused)).
49839
49840 [BZ #14645]
49841 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49842 x * y if x and y are nonzero and z is zero.
49843
49844 [BZ #14811]
49845 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49846 nonzero exponents with absolute value below 0x1p-117 to +/-
49847 0x1p-117.
49848
49849 [BZ #14869]
49850 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49851 up arguments below 2**-450, not just those below 2**-500.
49852 * math/libm-test.inc (hypot_test): Add another test.
49853
49854 [BZ #14868]
49855 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49856 Return a+b for ratio over 2**120, not 2**60.
49857 * math/libm-test.inc (hypot_test): Add another test.
49858
49859 * math/libm-test.inc (clog_test): Use
49860 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49861 (clog10_test): Likewise.
49862
49863 [BZ #6778]
49864 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49865
49866 2012-11-22 Andreas Schwab <schwab@suse.de>
49867
49868 * sysdeps/i386/fpu/libm-test-ulps: Update.
49869
49870 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
49871
49872 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49873 printf output with newline.
49874
49875 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
49876
49877 [BZ #14865]
49878 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49879 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49880 -z nodlopen, -z initfirst and -z execstack support.
49881 * configure: Regenerated.
49882
49883 * elf/elf.h (DF_1_NODIRECT): New macro.
49884 (DF_1_IGNMULDEF): Likewise.
49885 (DF_1_NOKSYMS): Likewise.
49886 (DF_1_NOHDR): Likewise.
49887 (DF_1_EDITED): Likewise.
49888 (DF_1_NORELOC): Likewise.
49889 (DF_1_SYMINTPOSE): Likewise.
49890 (DF_1_GLOBAUDIT): Likewise.
49891 (DF_1_SINGLETON): Likewise.
49892 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49893 DT_1_SUPPORTED_MASK bits.
49894 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49895
49896 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
49897
49898 * sysdeps/unix/make-syscalls.sh: Document prefixes.
49899
49900 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
49901
49902 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49903 macro.
49904
49905 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49906 (sendmmsg): Move declarations...
49907 * socket/sys/socket.h: ... here.
49908 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49909 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49910 include it from...
49911 * socket/recvmmsg.c: ... this new file.
49912 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49913 (sendmmsg): Rename to __sendmmsg, create weak alias and make
49914 definition of __sendmmsg hidden.
49915 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49916 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49917 Move ENOSYS stub into and include it from...
49918 * socket/sendmmsg.c: ... this new file.
49919 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49920 (sysdep_routines): Move recvmmsg and sendmmsg...
49921 * socket/Makefile (routines): ... here.
49922 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49923 (GLIBC_PRIVATE): Add __sendmmsg.
49924 * include/sys/socket.h (__sendmmsg): Add declarations.
49925 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49926 sendmmsg.
49927
49928 2012-11-20 Joseph Myers <joseph@codesourcery.com>
49929
49930 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49931 variable I1 with __attribute__ ((unused)).
49932 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49933
49934 2012-11-19 Joseph Myers <joseph@codesourcery.com>
49935
49936 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49937 DUMMY variables with __attribute__ ((unused)).
49938
49939 * bits/byteswap.h: Include <bits/types.h>.
49940 (__bswap_64): Use __uint64_t instead of unsigned long long int.
49941
49942 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
49943
49944 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49945 string_t. Do not manually set errno.
49946 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49947 length with __strnlen. Make sure to both set errno and return it on
49948 failure.
49949
49950 2012-11-19 David S. Miller <davem@davemloft.net>
49951
49952 With help from Joseph Myers.
49953 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49954 very large arguments properly.
49955 * math/libm-test.inc (atan_test): New tests.
49956 (atan2_test): New tests.
49957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49959
49960 2012-11-19 Joseph Myers <joseph@codesourcery.com>
49961
49962 [BZ #14856]
49963 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49964 Define to 3.
49965
49966 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49967 [POSIX] (EADDRNOTAVAIL): Likewise.
49968 [POSIX] (EAFNOSUPPORT): Likewise.
49969 [POSIX] (EALREADY): Likewise.
49970 [POSIX] (ECONNABORTED): Likewise.
49971 [POSIX] (ECONNREFUSED): Likewise.
49972 [POSIX] (ECONNRESET): Likewise.
49973 [POSIX] (EDESTADDRREQ): Likewise.
49974 [POSIX] (EDQUOT): Likewise.
49975 [POSIX] (EHOSTUNREACH): Likewise.
49976 [POSIX] (EIDRM): Likewise.
49977 [POSIX] (EISCONN): Likewise.
49978 [POSIX] (ELOOP): Likewise.
49979 [POSIX] (EMULTIHOP): Likewise.
49980 [POSIX] (ENETDOWN): Likewise.
49981 [POSIX] (ENETUNREACH): Likewise.
49982 [POSIX] (ENOBUFS): Likewise.
49983 [POSIX] (ENODATA): Likewise.
49984 [POSIX] (ENOLINK): Likewise.
49985 [POSIX] (ENOMSG): Likewise.
49986 [POSIX] (ENOPROTOOPT): Likewise.
49987 [POSIX] (ENOSR): Likewise.
49988 [POSIX] (ENOSTR): Likewise.
49989 [POSIX] (ENOTCONN): Likewise.
49990 [POSIX] (ENOTSOCK): Likewise.
49991 [POSIX] (EOPNOTSUPP): Likewise.
49992 [POSIX] (EOVERFLOW): Likewise.
49993 [POSIX] (EPROTO): Likewise.
49994 [POSIX] (EPROTONOSUPPORT): Likewise.
49995 [POSIX] (EPROTOTYPE): Likewise.
49996 [POSIX] (ESTALE): Likewise.
49997 [POSIX] (ETIME): Likewise.
49998 [POSIX] (ETXTBSY): Likewise.
49999 [POSIX] (EWOULDBLOCK): Likewise.
50000 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50001 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50002 [POSIX] (SEEK_CUR): Likewise.
50003 [POSIX] (SEEK_END): Likewise.
50004 [POSIX || UNIX98] (mode_t): Do not require.
50005 [POSIX] (off_t): Likewise.
50006 [POSIX] (pid_t): Likewise.
50007 [POSIX] (sys/stat.h): Do not allow header.
50008 [POSIX] (unistd.h): Likewise.
50009 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50010 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50011 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50012 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50013 require.
50014 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50015 sigevent): Specify elements.
50016 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50017 entry.
50018 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50019 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50020
50021 * conform/data/cpio.h-data [POSIX]: Disable whole file.
50022 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50023 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50024 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50025 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50026 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50027 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50028 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50029 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50030 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50031 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50032 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50033 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50034 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50035 Likewise.
50036 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50037 Likewise.
50038 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50039 Likewise.
50040 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50041 Likewise.
50042 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50043 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50044 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50045 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50046 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50047 Specify lower bound on value.
50048 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50049 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50050 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50051 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50052 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50053 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50054 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50055 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50056 value.
50057 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50058 as optional.
50059 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50060 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50061 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50062 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50063 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50064 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50065 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50066 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50067 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50068 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50069 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50070 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50071 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50072 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50073 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50074 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50075 entry.
50076 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50077 optional.
50078 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50079 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50080 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50081 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50082 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50083 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50084 Likewise.
50085 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50086 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50087 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50088 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50089 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
50090 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50091 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50092 as optional.
50093 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50094 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50095 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50096 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50097 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50098 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50099 specify as optional.
50100 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50101 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50102 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50103 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50104 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50105 [XPG3] (NL_LANGMAX): Likewise.
50106 [POSIX || XPG3] (NL_MSGMAX): Likewise.
50107 [POSIX || XPG3] (NL_NMAX): Likewise.
50108 [POSIX || XPG3] (NL_SETMAX): Likewise.
50109 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50110 [XPG3] (NZERO): Likewise.
50111 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50112 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50113 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50114 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50115 (REG_ERANGE): Expect.
50116 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50117 optional-constant.
50118 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50119 Use (void) in prototype.
50120 [POSIX] (*_t): Allow.
50121 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50122 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50123 (WRDE_BADVAL): Expect.
50124
50125 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50126 expect.
50127 [XPG3 || XPG4] (O_RSYNC): Likewise.
50128 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50129 Likewise.
50130 [XPG3 || XPG4] (pthread_sigmask): Likewise.
50131 [XPG3 || XPG4] (sigqueue): Likewise.
50132 [XPG3 || XPG4] (sigtimedwait): Likewise.
50133 [XPG3 || XPG4] (sigwaitinfo): Likewise.
50134 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50135 [XPG3 || XPG4] (vsnprintf): Likewise.
50136 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50137 Likewise.
50138 [XPG3 || XPG4] (blksize_t): Likewise.
50139 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50140 Likewise.
50141 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50142 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50143 [XPG3 || XPG4] (struct itimerspec): Likewise.
50144 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50145 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50146 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50147 [XPG3 || XPG4] (clockid_t): Likewise.
50148 [XPG3 || XPG4] (timer_t): Likewise.
50149 [XPG3 || XPG4] (clock_getres): Likewise.
50150 [XPG3 || XPG4] (clock_gettime): Likewise.
50151 [XPG3 || XPG4] (clock_settime): Likewise.
50152 [XPG3 || XPG4] (nanosleep): Likewise.
50153 [XPG3 || XPG4] (timer_create): Likewise.
50154 [XPG3 || XPG4] (timer_delete): Likewise.
50155 [XPG3 || XPG4] (timer_gettime): Likewise.
50156 [XPG3 || XPG4] (timer_getoverrun): Likewise.
50157 [XPG3 || XPG4] (timer_settime): Likewise.
50158 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50159 [XPG3 || XPG4] (getlogin_r): Likewise.
50160 [XPG3 || XPG4] (pread): Likewise.
50161 [XPG3 || XPG4] (pthread_atfork): Likewise.
50162 [XPG3 || XPG4] (pwrite): Likewise.
50163
50164 [BZ #14835]
50165 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50166 <bits/siginfo.h>.
50167
50168 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
50169
50170 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50171 finalizing MALLSTREAM.
50172
50173 * sysdeps/mach/hurd/syncfs.c: New file.
50174
50175 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50176
50177 [BZ #14719]
50178 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50179 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50180 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50181 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50182 (_nss_dns_gethostbyname4_r): Likewise.
50183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50184 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50185
50186 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
50187
50188 [BZ #13763]
50189 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50190
50191 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
50192
50193 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50194 * elf/cache.c (print_entry): Print ",AArch64" for
50195 FLAG_AARCH64_LIB64
50196
50197 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50198 * elf/cache.c (print_entry): Print ",hard-float" for
50199 FLAG_ARM_LIBHF.
50200
50201 2012-11-18 David S. Miller <davem@davemloft.net>
50202
50203 With help from Joseph Myers.
50204 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50205 cutoff to 2**-13.
50206 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50207 cutoff to 2**-25.
50208 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50209 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50210 small.
50211 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50212 * math/libm-test.inc (y0_test): New tests.
50213 (y1_test): New tests.
50214 * sysdeps/i386/fpu/libm-test-ulps: Update.
50215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50217
50218 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
50219
50220 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50221 64-bit targets.
50222 * configure: Regenerated.
50223
50224 2012-11-17 David S. Miller <davem@davemloft.net>
50225
50226 [BZ #14811]
50227 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50228 nonzero exponents with absolute value below 0x1p-128 to +/-
50229 0x1p-128.
50230
50231 2012-11-17 Joseph Myers <joseph@codesourcery.com>
50232
50233 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50234
50235 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50236
50237 * posix/getconf-speclist.c: New file.
50238 * posix/posix-envs.def: Likewise.
50239 * posix/confstr.c (START_ENV_GROUP): New macro.
50240 (END_ENV_GROUP): Likewise.
50241 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50242 (KNOWN_PRESENT_ENV_STRING): Likewise.
50243 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50244 (UNKNOWN_ENVIRONMENT): Likewise.
50245 (confstr): Include posix-envs.def instead of handling
50246 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50247 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50248 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50249 (END_ENV_GROUP): Likewise.
50250 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50251 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50252 (UNKNOWN_ENVIRONMENT): Likewise.
50253 (__sysconf): Include posix-envs.def instead of handling associated
50254 cases directly here.
50255 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50256 preprocessing getconf-speclist.c rather than running getconf or
50257 generating empty file.
50258
50259 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
50260
50261 * scripts/check-local-headers.sh: Ignore 'mach' headers.
50262
50263 2012-11-16 Andrej Lajovic <natrij@gmail.com>
50264
50265 [BZ #14672]
50266 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50267
50268 2012-11-16 David S. Miller <davem@davemloft.net>
50269
50270 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50271 smaller than LDBL_EPSILON/2.0L, just return xm1.
50272
50273 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
50274
50275 * elf/tst-array1.c (init): Set constructor priority to 1000.
50276 (fini): Set destructor priority to 1000.
50277 * elf/tst-array2dep.c: Likewise.
50278
50279 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50280
50281 [BZ #11741]
50282 * libio/fileops.c (_IO_new_file_write): Correctly return error.
50283 (_IO_new_file_xsputn): Also return EOF if none of the input
50284 data was written when overflow failed.
50285 * libio/iopadn.c (_IO_padn): Likewise.
50286 * libio/iowpadn.c (_IO_wpadn): Likewise.
50287 * stdio-common/tst-put-error.c: Add copyright notice.
50288 (do_test): Add case for printing padded string.
50289 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50290 _IO_padn returned error.
50291 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50292 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50293 return EOF.
50294
50295 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50296
50297 * libio/libioP.h: Add comment note that the references to C++
50298 bits are now obsolete.
50299
50300 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50301
50302 * math/libm-test.inc (check_complex): Use asprintf.
50303
50304 2012-11-14 Joseph Myers <joseph@codesourcery.com>
50305
50306 * debug/pcprofiledump.c (print_version): Update copyright year.
50307 * malloc/memusagestat.c (print_version): Likewise.
50308
50309 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
50310
50311 [BZ #14831]
50312 * elf/Makefile (tests): Add tst-audit8.
50313 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50314 ($(objpfx)tst-audit8.out): New target.
50315 (tst-audit8-ENV): New variable.
50316 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50317 audit if l_reloc_result is NULL.
50318 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50319 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50320 * elf/tst-audit8.c: New file.
50321
50322 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50323
50324 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50325 * misc/Makefile (CFLAGS-select.c): Define.
50326 * posix/Makefile (CFLAGS-pause.c): Define.
50327
50328 2012-11-13 David S. Miller <davem@davemloft.net>
50329
50330 * crypt/Makefile: Move test targets after toplevel Rules
50331 inclusion. Grab any necessary sysdep routines when linking.
50332 * crypt/md5.c (md5_process_block): Remove define, we will always
50333 name it __md5_process_block.
50334 (md5_finish_ctx): Update md5_process_block call.
50335 (md5_stream): Likewise.
50336 (md5_process_bytes): Likewise.
50337 (md5_process_block): Rename to __md5_process_block and move to ...
50338 * crypt/md5-block.c: ... here.
50339 * crypt/sha256.c (sha256_process_block): Move to ...
50340 * crypt/sha256-block.c: ... here.
50341 * crypt/sha512.c (sha512_process_block): Move to ...
50342 * crypt/sha512-block.c: ... here.
50343 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50344 path.
50345 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50346 * sysdeps/sparc/sparc64/multiarch/Makefile
50347 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50348 crypt subdir.
50349 (localedef-aux): Add md5 crypto assembler when in locale subdir.
50350 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50351 multiarch changes.
50352 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50353 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50354 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50355 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50356 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50357 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50358 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50359 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50360 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50361 file.
50362 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50363 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50364 file.
50365 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50366
50367 2012-11-13 Joseph Myers <joseph@codesourcery.com>
50368
50369 * timezone/tzselect.ksh: Update from tzcode git revision
50370 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50371 * timezone/zdump.c: Likewise.
50372 * timezone/zic.c: Likewise.
50373 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50374 in TZVERSION setting, not $(PKGVERSION).
50375 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
50376 REPORT_BUGS_TO settings.
50377
50378 [BZ #14838]
50379 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50380 macro.
50381
50382 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50383
50384 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50385 detection to immediately after _FP_ROUND().
50386 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50387 bits are 0.
50388
50389 2012-11-11 David S. Miller <davem@davemloft.net>
50390
50391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50392 inttypes.h
50393 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50394 __close rather than their public counterparts.
50395
50396 2012-11-10 Joseph Myers <joseph@codesourcery.com>
50397
50398 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50399 file.
50400 [UNIX98] (sem_timedwait): Do not expect.
50401 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50402 [XPG4 || UNIX98] (sockatmark): Do not expect.
50403 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50404 (clock_getcpuclockid): Do not expect.
50405 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50406 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50407 Do not expect.
50408 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50409 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50410 [UNIX98] (vwscanf): Likewise.
50411 [UNIX98] (vswscanf): Likewise.
50412
50413 2012-11-09 Joseph Myers <joseph@codesourcery.com>
50414
50415 * timezone/version.h: Remove file.
50416 * timezone/README: Do not refer to version.h.
50417 * timezone/Makefile ($(objpfx)zic.o): New dependency on
50418 $(objpfx)version.h.
50419 ($(objpfx)zdump.o): Likewise.
50420 ($(objpfx)version.h): New target.
50421
50422 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50423 2012i.
50424 * timezone/README: Don't mention modification to tzselect.ksh.
50425 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50426 work on unmodified tzselect.ksh. Substitute version numbers in
50427 tzselect.ksh.
50428
50429 * Makefile (format-me): Remove.
50430 (INSTALL): Adjust indentation. Use commands directly instead of
50431 using $(format-me).
50432
50433 * aclocal.m4 (ACX_PKGVERSION): New macro.
50434 (ACX_BUGURL): Likewise.
50435 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50436 (PKGVERSION): New AC_DEFINE_UNQUOTED.
50437 (REPORT_BUGS_TO): Likewise.
50438 * configure: Regenerated.
50439 * config.h.in (PKGVERSION): New macro.
50440 (REPORT_BUGS_TO): Likewise.
50441 * config.make.in (PKGVERSION): New variable.
50442 (PKGVERSION_TEXI): Likewise.
50443 (REPORT_BUGS_TO): Likewise.
50444 (REPORT_BUGS_TEXI): Likewise.
50445 * Makefile (format-me): Use -I$(common-objpfx)manual.
50446 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50447 ($(common-objpfx)manual/%): New target.
50448 (manual/%): Remove target.
50449 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50450 (print_version): Use PKGVERSION.
50451 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50452 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50453 and REPORT_BUGS_TO.
50454 ($(objpfx)xtrace): Likewise.
50455 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50456 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50457 (print_version): Use PKGVERSION.
50458 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50459 (do_version): Use PKGVERSION.
50460 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50461 REPORT_BUGS_TO.
50462 (common-ldd-rewrite): Likewise.
50463 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50464 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50465 (print_version): Use PKGVERSION.
50466 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50467 * elf/pldd.c (argp_program_bug_address): Remove variable.
50468 (more_help): New function.
50469 (argp): Use more_help.
50470 (print_version): Use PKGVERSION.
50471 * elf/sln.c (main): Use PKGVERSION.
50472 (usage): Use REPORT_BUGS_TO.
50473 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50474 (top level): Use PKGVERSION.
50475 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50476 (print_version): Use PKGVERSION.
50477 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50478 (print_version): Use PKGVERSION.
50479 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50480 (print_version): Use PKGVERSION.
50481 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50482 (print_version): Use PKGVERSION.
50483 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50484 (print_version): Use PKGVERSION.
50485 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50486 (print_version): Use PKGVERSION.
50487 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50488 and BUGURL.
50489 ($(objpfx)memusage): Likewise.
50490 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50491 (do_version): Use PKGVERSION.
50492 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50493 (print_version): Use PKGVERSION.
50494 * malloc/mtrace.pl ($PACKAGE): Remove variable.
50495 ($PKGVERSION): New variable.
50496 ($REPORT_BUGS_TO): Likewise.
50497 (usage): Use $REPORT_BUGS_TO.
50498 (top level): Use $PKGVERSION.
50499 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50500 ($(objpfx)pkgvers.texi): New rule.
50501 ($(objpfx)stamp-pkgvers): Likewise.
50502 * manual/install.texi: Include pkgvers.texi.
50503 (--with-pkgversion): Document new configure option.
50504 (--with-bugurl): Likewise.
50505 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50506 than necessarily for this particular distribution. Use
50507 REPORT_BUGS_TO for where to report bugs.
50508 * INSTALL: Regenerated.
50509 * manual/libc.texinfo: Include pkgvers.texi.
50510 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50511 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50512 (print_version): Use PKGVERSION.
50513 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50514 (print_version): Use PKGVERSION.
50515 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50516 (print_version): Use PKGVERSION.
50517 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50518 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50519 macro.
50520 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50521 (print_version): Use PKGVERSION.
50522 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50523 (print_version): Use PKGVERSION.
50524 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50525 and PKGVERSION.
50526
50527 * timezone/checktab.awk: Update from tzcode 2012i.
50528 * timezone/ialloc.c: Likewise.
50529 * timezone/private.h: Likewise.
50530 * timezone/scheck.c: Likewise.
50531 * timezone/tzfile.h: Likewise.
50532 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50533 (TZVERSION): Hardcode tzcode version number.
50534 * timezone/zdump.c: Update from tzcode 2012i.
50535 * timezone/zic.c: Likewise.
50536 * timezone/version.h: New file.
50537 * timezone/README: Describe version.h. Update upstream location.
50538
50539 [BZ #14824]
50540 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50541 (mktemp): Enable declaration.
50542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50543 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50545 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50546 Likewise.
50547 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50548 Likewise.
50549 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50550 Likewise.
50551 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50552 Likewise.
50553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50554 Likewise.
50555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50556 Likewise.
50557
50558 [BZ #14821]
50559 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50560 offset in buffer as u_int32_t not u_long. Consistently use memcpy
50561 for copies of such integer values.
50562 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50563 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50564
50565 2012-11-09 Andreas Jaeger <aj@suse.de>
50566
50567 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50568 definitions and declarations that are provided by
50569 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50570
50571 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50572
50573 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50574 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50575 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50576 definition.
50577
50578 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50579
50580 * elf/elf.h: Update comment before AArch64 relocations.
50581
50582 2012-11-07 David S. Miller <davem@davemloft.net>
50583
50584 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50585 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50586 (__start_context): Declare.
50587 (__makecontext_ret): Delete.
50588 (__makecontext): Hook up __start_context instead of
50589 __makecontext_ret.
50590 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50591 (sysdep_routines): Add __start_context when in stdlib.
50592
50593 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50594
50595 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50596 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50597 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
50598 hardcoded "nm".
50599 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
50600 (READELF): New variable. Use it instead of hardcoded "readelf".
50601
50602 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
50603
50604 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50605 * sysdeps/x86/Makefile: Here.
50606 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50607 * sysdeps/x86/tst-xmmymm.sh: This.
50608
50609 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50610
50611 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50612 expectations.
50613 [UNIX98] (pthread_barrier_t): Do not expect.
50614 [UNIX98] (pthread_barrierattr_t): Likewise.
50615 [UNIX98] (pthread_spinlock_t): Likewise.
50616 [UNIX98] (pthread_barrier_destroy): Likewise.
50617 [UNIX98] (pthread_barrier_init): Likewise.
50618 [UNIX98] (pthread_barrier_wait): Likewise.
50619 [UNIX98] (pthread_barrierattr_destroy): Likewise.
50620 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50621 [UNIX98] (pthread_barrierattr_init): Likewise.
50622 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50623 [UNIX98] (pthread_getcpuclockid): Likewise.
50624 [UNIX98] (pthread_mutex_timedlock): Likewise.
50625 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50626 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50627 [UNIX98] (pthread_sigmask): Likewise.
50628 [UNIX98] (pthread_spin_destroy): Likewise.
50629 [UNIX98] (pthread_spin_init): Likewise.
50630 [UNIX98] (pthread_spin_lock): Likewise.
50631 [UNIX98] (pthread_spin_trylock): Likewise.
50632 [UNIX98] (pthread_spin_unlock): Likewise.
50633 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50634 Do not expect.
50635 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50636 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50637 [XPG3 || XPG4] (pthread_cond_t): Likewise.
50638 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50639 [XPG3 || XPG4] (pthread_key_t): Likewise.
50640 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50641 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50642 [XPG3 || XPG4] (pthread_once_t): Likewise.
50643 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50644 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50645 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50646 [XPG3 || XPG4] (pthread_t): Likewise.
50647
50648 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50649 not expect.
50650 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50651
50652 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50653 Change function return type to int.
50654
50655 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50656 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50657 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50658 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50659 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50660 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50661 [!POSIX] (posix_madvise): Likewise.
50662 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50663 && !UNIX98].
50664 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50665 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50666 (mode_t): Likewise.
50667 (posix_mem_offset): Likewise.
50668 (posix_typed_mem_get_info): Likewise.
50669 (posix_typed_mem_open): Likewise.
50670
50671 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50672 Change condition to [XOPEN2K8].
50673
50674 * conform/conformtest.pl: Preprocess allow-header data with -x c
50675 instead of from stdin.
50676 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50677 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50678 [C99-based standards] (cerfc): Likewise.
50679 [C99-based standards] (cexp2): Likewise.
50680 [C99-based standards] (cexpm1): Likewise.
50681 [C99-based standards] (clog10): Likewise.
50682 [C99-based standards] (clog1p): Likewise.
50683 [C99-based standards] (clog2): Likewise.
50684 [C99-based standards] (clgamma): Likewise.
50685 [C99-based standards] (ctgamma): Likewise.
50686 [C99-based standards] (cerff): Likewise.
50687 [C99-based standards] (cerfcf): Likewise.
50688 [C99-based standards] (cexp2f): Likewise.
50689 [C99-based standards] (cexpm1f): Likewise.
50690 [C99-based standards] (clog10f): Likewise.
50691 [C99-based standards] (clog1pf): Likewise.
50692 [C99-based standards] (clog2f): Likewise.
50693 [C99-based standards] (clgammaf): Likewise.
50694 [C99-based standards] (ctgammaf): Likewise.
50695 [C99-based standards] (cerfl): Likewise.
50696 [C99-based standards] (cerfcl): Likewise.
50697 [C99-based standards] (cexp2l): Likewise.
50698 [C99-based standards] (cexpm1l): Likewise.
50699 [C99-based standards] (clog10l): Likewise.
50700 [C99-based standards] (clog1pl): Likewise.
50701 [C99-based standards] (clog2l): Likewise.
50702 [C99-based standards] (clgammal): Likewise.
50703 [C99-based standards] (ctgammal): Likewise.
50704 * conform/data/inttypes.h-data [C99-based standards]: Include
50705 stdint.h-data. Remove all expectations for stdint.h contents.
50706 [C99-based standards] (PRI*): Do not allow.
50707 [C99-based standards] (SCN*): Likewise.
50708 [C99-based standards] (*_t): Likewise.
50709 [C99-based-standards] (PRId8): Expect macro.
50710 [C99-based-standards] (PRIi8): Likewise.
50711 [C99-based-standards] (PRIo8): Likewise.
50712 [C99-based-standards] (PRIu8): Likewise.
50713 [C99-based-standards] (PRIx8): Likewise.
50714 [C99-based-standards] (PRIX8): Likewise.
50715 [C99-based-standards] (SCNd8): Likewise.
50716 [C99-based-standards] (SCNi8): Likewise.
50717 [C99-based-standards] (SCNo8): Likewise.
50718 [C99-based-standards] (SCNu8): Likewise.
50719 [C99-based-standards] (SCNx8): Likewise.
50720 [C99-based-standards] (PRIdLEAST8): Likewise.
50721 [C99-based-standards] (PRIiLEAST8): Likewise.
50722 [C99-based-standards] (PRIoLEAST8): Likewise.
50723 [C99-based-standards] (PRIuLEAST8): Likewise.
50724 [C99-based-standards] (PRIxLEAST8): Likewise.
50725 [C99-based-standards] (PRIXLEAST8): Likewise.
50726 [C99-based-standards] (SCNdLEAST8): Likewise.
50727 [C99-based-standards] (SCNiLEAST8): Likewise.
50728 [C99-based-standards] (SCNoLEAST8): Likewise.
50729 [C99-based-standards] (SCNuLEAST8): Likewise.
50730 [C99-based-standards] (SCNxLEAST8): Likewise.
50731 [C99-based-standards] (PRIdFAST8): Likewise.
50732 [C99-based-standards] (PRIiFAST8): Likewise.
50733 [C99-based-standards] (PRIoFAST8): Likewise.
50734 [C99-based-standards] (PRIuFAST8): Likewise.
50735 [C99-based-standards] (PRIxFAST8): Likewise.
50736 [C99-based-standards] (PRIXFAST8): Likewise.
50737 [C99-based-standards] (SCNdFAST8): Likewise.
50738 [C99-based-standards] (SCNiFAST8): Likewise.
50739 [C99-based-standards] (SCNoFAST8): Likewise.
50740 [C99-based-standards] (SCNuFAST8): Likewise.
50741 [C99-based-standards] (SCNxFAST8): Likewise.
50742 [C99-based-standards] (PRId16): Likewise.
50743 [C99-based-standards] (PRIi16): Likewise.
50744 [C99-based-standards] (PRIo16): Likewise.
50745 [C99-based-standards] (PRIu16): Likewise.
50746 [C99-based-standards] (PRIx16): Likewise.
50747 [C99-based-standards] (PRIX16): Likewise.
50748 [C99-based-standards] (SCNd16): Likewise.
50749 [C99-based-standards] (SCNi16): Likewise.
50750 [C99-based-standards] (SCNo16): Likewise.
50751 [C99-based-standards] (SCNu16): Likewise.
50752 [C99-based-standards] (SCNx16): Likewise.
50753 [C99-based-standards] (PRIdLEAST16): Likewise.
50754 [C99-based-standards] (PRIiLEAST16): Likewise.
50755 [C99-based-standards] (PRIoLEAST16): Likewise.
50756 [C99-based-standards] (PRIuLEAST16): Likewise.
50757 [C99-based-standards] (PRIxLEAST16): Likewise.
50758 [C99-based-standards] (PRIXLEAST16): Likewise.
50759 [C99-based-standards] (SCNdLEAST16): Likewise.
50760 [C99-based-standards] (SCNiLEAST16): Likewise.
50761 [C99-based-standards] (SCNoLEAST16): Likewise.
50762 [C99-based-standards] (SCNuLEAST16): Likewise.
50763 [C99-based-standards] (SCNxLEAST16): Likewise.
50764 [C99-based-standards] (PRIdFAST16): Likewise.
50765 [C99-based-standards] (PRIiFAST16): Likewise.
50766 [C99-based-standards] (PRIoFAST16): Likewise.
50767 [C99-based-standards] (PRIuFAST16): Likewise.
50768 [C99-based-standards] (PRIxFAST16): Likewise.
50769 [C99-based-standards] (PRIXFAST16): Likewise.
50770 [C99-based-standards] (SCNdFAST16): Likewise.
50771 [C99-based-standards] (SCNiFAST16): Likewise.
50772 [C99-based-standards] (SCNoFAST16): Likewise.
50773 [C99-based-standards] (SCNuFAST16): Likewise.
50774 [C99-based-standards] (SCNxFAST16): Likewise.
50775 [C99-based-standards] (PRId32): Likewise.
50776 [C99-based-standards] (PRIi32): Likewise.
50777 [C99-based-standards] (PRIo32): Likewise.
50778 [C99-based-standards] (PRIu32): Likewise.
50779 [C99-based-standards] (PRIx32): Likewise.
50780 [C99-based-standards] (PRIX32): Likewise.
50781 [C99-based-standards] (SCNd32): Likewise.
50782 [C99-based-standards] (SCNi32): Likewise.
50783 [C99-based-standards] (SCNo32): Likewise.
50784 [C99-based-standards] (SCNu32): Likewise.
50785 [C99-based-standards] (SCNx32): Likewise.
50786 [C99-based-standards] (PRIdLEAST32): Likewise.
50787 [C99-based-standards] (PRIiLEAST32): Likewise.
50788 [C99-based-standards] (PRIoLEAST32): Likewise.
50789 [C99-based-standards] (PRIuLEAST32): Likewise.
50790 [C99-based-standards] (PRIxLEAST32): Likewise.
50791 [C99-based-standards] (PRIXLEAST32): Likewise.
50792 [C99-based-standards] (SCNdLEAST32): Likewise.
50793 [C99-based-standards] (SCNiLEAST32): Likewise.
50794 [C99-based-standards] (SCNoLEAST32): Likewise.
50795 [C99-based-standards] (SCNuLEAST32): Likewise.
50796 [C99-based-standards] (SCNxLEAST32): Likewise.
50797 [C99-based-standards] (PRIdFAST32): Likewise.
50798 [C99-based-standards] (PRIiFAST32): Likewise.
50799 [C99-based-standards] (PRIoFAST32): Likewise.
50800 [C99-based-standards] (PRIuFAST32): Likewise.
50801 [C99-based-standards] (PRIxFAST32): Likewise.
50802 [C99-based-standards] (PRIXFAST32): Likewise.
50803 [C99-based-standards] (SCNdFAST32): Likewise.
50804 [C99-based-standards] (SCNiFAST32): Likewise.
50805 [C99-based-standards] (SCNoFAST32): Likewise.
50806 [C99-based-standards] (SCNuFAST32): Likewise.
50807 [C99-based-standards] (SCNxFAST32): Likewise.
50808 [C99-based-standards] (PRId64): Likewise.
50809 [C99-based-standards] (PRIi64): Likewise.
50810 [C99-based-standards] (PRIo64): Likewise.
50811 [C99-based-standards] (PRIu64): Likewise.
50812 [C99-based-standards] (PRIx64): Likewise.
50813 [C99-based-standards] (PRIX64): Likewise.
50814 [C99-based-standards] (SCNd64): Likewise.
50815 [C99-based-standards] (SCNi64): Likewise.
50816 [C99-based-standards] (SCNo64): Likewise.
50817 [C99-based-standards] (SCNu64): Likewise.
50818 [C99-based-standards] (SCNx64): Likewise.
50819 [C99-based-standards] (PRIdLEAST64): Likewise.
50820 [C99-based-standards] (PRIiLEAST64): Likewise.
50821 [C99-based-standards] (PRIoLEAST64): Likewise.
50822 [C99-based-standards] (PRIuLEAST64): Likewise.
50823 [C99-based-standards] (PRIxLEAST64): Likewise.
50824 [C99-based-standards] (PRIXLEAST64): Likewise.
50825 [C99-based-standards] (SCNdLEAST64): Likewise.
50826 [C99-based-standards] (SCNiLEAST64): Likewise.
50827 [C99-based-standards] (SCNoLEAST64): Likewise.
50828 [C99-based-standards] (SCNuLEAST64): Likewise.
50829 [C99-based-standards] (SCNxLEAST64): Likewise.
50830 [C99-based-standards] (PRIdFAST64): Likewise.
50831 [C99-based-standards] (PRIiFAST64): Likewise.
50832 [C99-based-standards] (PRIoFAST64): Likewise.
50833 [C99-based-standards] (PRIuFAST64): Likewise.
50834 [C99-based-standards] (PRIxFAST64): Likewise.
50835 [C99-based-standards] (PRIXFAST64): Likewise.
50836 [C99-based-standards] (SCNdFAST64): Likewise.
50837 [C99-based-standards] (SCNiFAST64): Likewise.
50838 [C99-based-standards] (SCNoFAST64): Likewise.
50839 [C99-based-standards] (SCNuFAST64): Likewise.
50840 [C99-based-standards] (SCNxFAST64): Likewise.
50841 [C99-based-standards] (PRIdMAX): Likewise.
50842 [C99-based-standards] (PRIiMAX): Likewise.
50843 [C99-based-standards] (PRIoMAX): Likewise.
50844 [C99-based-standards] (PRIuMAX): Likewise.
50845 [C99-based-standards] (PRIxMAX): Likewise.
50846 [C99-based-standards] (PRIXMAX): Likewise.
50847 [C99-based-standards] (SCNdMAX): Likewise.
50848 [C99-based-standards] (SCNiMAX): Likewise.
50849 [C99-based-standards] (SCNoMAX): Likewise.
50850 [C99-based-standards] (SCNuMAX): Likewise.
50851 [C99-based-standards] (SCNxMAX): Likewise.
50852 [C99-based-standards] (PRIdPTR): Likewise.
50853 [C99-based-standards] (PRIiPTR): Likewise.
50854 [C99-based-standards] (PRIoPTR): Likewise.
50855 [C99-based-standards] (PRIuPTR): Likewise.
50856 [C99-based-standards] (PRIxPTR): Likewise.
50857 [C99-based-standards] (PRIXPTR): Likewise.
50858 [C99-based-standards] (SCNdPTR): Likewise.
50859 [C99-based-standards] (SCNiPTR): Likewise.
50860 [C99-based-standards] (SCNoPTR): Likewise.
50861 [C99-based-standards] (SCNuPTR): Likewise.
50862 [C99-based-standards] (SCNxPTR): Likewise.
50863 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50864 allow.
50865 * conform/data/stdint.h-data: Update comments to clarify
50866 requirements.
50867 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
50868 type.
50869 [C99-based standards] (INT8_MAX): Likewise.
50870 [C99-based standards] (INT16_MIN): Likewise.
50871 [C99-based standards] (INT16_MAX): Likewise.
50872 [C99-based standards] (INT32_MIN): Likewise.
50873 [C99-based standards] (INT32_MAX): Likewise.
50874 [C99-based standards] (INT64_MIN): Likewise.
50875 [C99-based standards] (INT64_MAX): Likewise.
50876 [C99-based standards] (UINT8_MAX): Likewise.
50877 [C99-based standards] (UINT16_MAX): Likewise.
50878 [C99-based standards] (UINT32_MAX): Likewise.
50879 [C99-based standards] (UINT64_MAX): Likewise.
50880 [C99-based standards] (INT_LEAST8_MIN): Likewise.
50881 [C99-based standards] (INT_LEAST8_MAX): Likewise.
50882 [C99-based standards] (INT_LEAST16_MIN): Likewise.
50883 [C99-based standards] (INT_LEAST16_MAX): Likewise.
50884 [C99-based standards] (INT_LEAST32_MIN): Likewise.
50885 [C99-based standards] (INT_LEAST32_MAX): Likewise.
50886 [C99-based standards] (INT_LEAST64_MIN): Likewise.
50887 [C99-based standards] (INT_LEAST64_MAX): Likewise.
50888 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50889 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50890 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50891 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50892 [C99-based standards] (INT_FAST8_MIN): Likewise.
50893 [C99-based standards] (INT_FAST8_MAX): Likewise.
50894 [C99-based standards] (INT_FAST16_MIN): Likewise.
50895 [C99-based standards] (INT_FAST16_MAX): Likewise.
50896 [C99-based standards] (INT_FAST32_MIN): Likewise.
50897 [C99-based standards] (INT_FAST32_MAX): Likewise.
50898 [C99-based standards] (INT_FAST64_MIN): Likewise.
50899 [C99-based standards] (INT_FAST64_MAX): Likewise.
50900 [C99-based standards] (UINT_FAST8_MAX): Likewise.
50901 [C99-based standards] (UINT_FAST16_MAX): Likewise.
50902 [C99-based standards] (UINT_FAST32_MAX): Likewise.
50903 [C99-based standards] (UINT_FAST64_MAX): Likewise.
50904 [C99-based standards] (INTPTR_MIN): Likewise.
50905 [C99-based standards] (INTPTR_MAX): Likewise.
50906 [C99-based standards] (UINTPTR_MAX): Likewise.
50907 [C99-based standards] (INTMAX_MIN): Likewise.
50908 [C99-based standards] (INTMAX_MAX): Likewise.
50909 [C99-based standards] (UINTMAX_MAX): Likewise.
50910 [C99-based standards] (PTRDIFF_MIN): Likewise.
50911 [C99-based standards] (PTRDIFF_MAX): Likewise.
50912 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50913 [C99-based standards] (SIZE_MAX): Likewise.
50914 [C99-based standards] (WCHAR_MAX): Likewise.
50915 [C99-based standards] (WINT_MAX): Likewise.
50916 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
50917 constraint on value.
50918 [C99-based standards] (WCHAR_MIN): Likewise.
50919 [C99-based standards] (WINT_MIN): Likewise.
50920 [C99-based standards] (*_t): Allow.
50921 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50922 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50923 Include math.h-data and complex.h-data. Remove all expectations
50924 of math.h and complex.h contents.
50925 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50926 at end of line.
50927 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50928 (struct tm): Expect tag.
50929 [C99-based-standards] (wcstof): Expect function.
50930 [C99-based-standards] (wcstold): Likewise.
50931 [C99-based-standards] (wcstoll): Likewise.
50932 [C99-based-standards] (wcstoull): Likewise.
50933 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50934 macro-int-constant. Specify type.
50935 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
50936 constraint on value.
50937 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50938 Specify type.
50939 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50940 Specify value.
50941 [ISO C standards]: Do not allow headers.
50942 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50943 wcs[abcdefghijklmnopqrstuvwxyz]*.
50944 [ISO C standards] (*_t): Do not allow.
50945 * conform/data/wctype.h-data [C99-based standards] (iswblank):
50946 Expect function.
50947 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50948 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50949 Specify type.
50950 [ISO C standards]: Do not allow headers.
50951 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50952 is[abcdefghijklmnopqrstuvwxyz]*.
50953 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50954 to[abcdefghijklmnopqrstuvwxyz]*.
50955 [ISO C standards] (*_t): Do not allow.
50956 * conform/data/stdalign.h-data: New file.
50957 * conform/data/stdbool.h-data: Likewise.
50958 * conform/data/stdnoreturn.h-data: Likewise.
50959
50960 2012-11-07 Roland McGrath <roland@hack.frob.com>
50961
50962 [BZ #14815]
50963 * manual/filesys.texi (Directory Entries): Typo fix.
50964 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50965
50966 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50967
50968 * elf/elf.h (EM_AARCH64): New macro.
50969 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50970 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50971 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50972 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50973 (R_AARCH64_TLSDESC): Likewise.
50974 (NT_ARM_TLS): Likewise.
50975 (NT_ARM_HW_BREAK): Likewise.
50976 (NT_ARM_HW_WATCH): Likewise.
50977
50978 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50979
50980 [BZ #14811]
50981 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50982 (__ieee754_powl): Saturate nonzero exponents with absolute value
50983 below 0x1p-79 to +/- 0x1p-79.
50984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50985 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50986 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50987 nonzero exponents with absolute value below 0x1p-32 to +/-
50988 0x1p-32.
50989 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50990 (__ieee754_powl): Saturate nonzero exponents with absolute value
50991 below 0x1p-79 to +/- 0x1p-79.
50992 * math/libm-test.inc (pow_test): Add more tests.
50993
50994 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50995
50996 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50997 _dl_s390_cap_flags with kernel. Increase string length.
50998 (_dl_s390_platforms): Add z196 and zEC12.
50999
51000 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51001
51002 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51003 Change XOPEN21K to XOPEN2K.
51004
51005 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
51006
51007 * string/memmove.c: Use memcpy when possible.
51008
51009 2012-11-06 Andreas Jaeger <aj@suse.de>
51010
51011 * po/eo.po: Update from translation team.
51012
51013 2012-11-06 Joseph Myers <joseph@codesourcery.com>
51014
51015 [BZ #14793]
51016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51017 exponent and small x and y exponents, scale x or y up. Increase
51018 by 2 the exponent used in scaling up.
51019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51021 * math/libm-test.inc (fma_test): Add more tests.
51022 (fma_test_towardzero): Likewise.
51023 (fma_test_downward): Likewise.
51024 (fma_test_upward): Likewise.
51025
51026 2012-11-05 Joseph Myers <joseph@codesourcery.com>
51027
51028 [BZ #14805]
51029 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51030 fenv_t *.
51031
51032 [BZ #14801]
51033 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51034 namespace for names of struct fields.
51035 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51036 fenv_t fields.
51037 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51038 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51039
51040 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51041
51042 [BZ #3665]
51043 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51044
51045 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51046
51047 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51048 PTR_DEMANGLE.
51049
51050 [BZ #5246]
51051 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51052 PTR_DEMANGLE.
51053
51054 2012-11-04 Joseph Myers <joseph@codesourcery.com>
51055
51056 [BZ #14797]
51057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51058 definitely overflow as x * y not x * y + z.
51059 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51060 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51061 * math/libm-test.inc (fma_test): Add more tests.
51062 (fma_test_towardzero): Likewise.
51063 (fma_test_downward): Likewise.
51064 (fma_test_upward): Likewise.
51065
51066 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51067
51068 [BZ #157]
51069
51070 * include/stub-tag.h: Remove file.
51071 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51072 '#include' of it.
51073 * manual/maint.texi (Porting): Don't reference it.
51074 * Makerules ($(objpfx)stubs): Likewise.
51075 * dirent/closedir.c: Don't include <stub-tag.h>.
51076 * dirent/dirfd.c: Likewise.
51077 * dirent/fdopendir.c: Likewise.
51078 * dirent/getdents.c: Likewise.
51079 * dirent/getdents64.c: Likewise.
51080 * dirent/opendir.c: Likewise.
51081 * dirent/readdir.c: Likewise.
51082 * dirent/readdir64.c: Likewise.
51083 * dirent/readdir64_r.c: Likewise.
51084 * dirent/readdir_r.c: Likewise.
51085 * dirent/rewinddir.c: Likewise.
51086 * dirent/seekdir.c: Likewise.
51087 * dirent/telldir.c: Likewise.
51088 * gmon/profil.c: Likewise.
51089 * grp/setgroups.c: Likewise.
51090 * inet/if_index.c: Likewise.
51091 * io/access.c: Likewise.
51092 * io/chdir.c: Likewise.
51093 * io/chmod.c: Likewise.
51094 * io/chown.c: Likewise.
51095 * io/close.c: Likewise.
51096 * io/dup.c: Likewise.
51097 * io/dup2.c: Likewise.
51098 * io/dup3.c: Likewise.
51099 * io/euidaccess.c: Likewise.
51100 * io/faccessat.c: Likewise.
51101 * io/fchdir.c: Likewise.
51102 * io/fchmod.c: Likewise.
51103 * io/fchmodat.c: Likewise.
51104 * io/fchown.c: Likewise.
51105 * io/fchownat.c: Likewise.
51106 * io/fcntl.c: Likewise.
51107 * io/flock.c: Likewise.
51108 * io/fstatfs.c: Likewise.
51109 * io/fstatfs64.c: Likewise.
51110 * io/fstatvfs.c: Likewise.
51111 * io/fstatvfs64.c: Likewise.
51112 * io/futimens.c: Likewise.
51113 * io/fxstat.c: Likewise.
51114 * io/fxstat64.c: Likewise.
51115 * io/fxstatat.c: Likewise.
51116 * io/fxstatat64.c: Likewise.
51117 * io/getcwd.c: Likewise.
51118 * io/isatty.c: Likewise.
51119 * io/lchmod.c: Likewise.
51120 * io/lchown.c: Likewise.
51121 * io/link.c: Likewise.
51122 * io/linkat.c: Likewise.
51123 * io/lseek.c: Likewise.
51124 * io/lseek64.c: Likewise.
51125 * io/lxstat64.c: Likewise.
51126 * io/mkdir.c: Likewise.
51127 * io/mkdirat.c: Likewise.
51128 * io/mkfifo.c: Likewise.
51129 * io/mkfifoat.c: Likewise.
51130 * io/open.c: Likewise.
51131 * io/open64.c: Likewise.
51132 * io/openat.c: Likewise.
51133 * io/openat64.c: Likewise.
51134 * io/pipe.c: Likewise.
51135 * io/pipe2.c: Likewise.
51136 * io/poll.c: Likewise.
51137 * io/posix_fadvise.c: Likewise.
51138 * io/posix_fadvise64.c: Likewise.
51139 * io/posix_fallocate.c: Likewise.
51140 * io/posix_fallocate64.c: Likewise.
51141 * io/read.c: Likewise.
51142 * io/readlink.c: Likewise.
51143 * io/readlinkat.c: Likewise.
51144 * io/rmdir.c: Likewise.
51145 * io/sendfile.c: Likewise.
51146 * io/sendfile64.c: Likewise.
51147 * io/statfs.c: Likewise.
51148 * io/statfs64.c: Likewise.
51149 * io/statvfs.c: Likewise.
51150 * io/statvfs64.c: Likewise.
51151 * io/symlink.c: Likewise.
51152 * io/symlinkat.c: Likewise.
51153 * io/ttyname.c: Likewise.
51154 * io/ttyname_r.c: Likewise.
51155 * io/umask.c: Likewise.
51156 * io/unlink.c: Likewise.
51157 * io/unlinkat.c: Likewise.
51158 * io/utime.c: Likewise.
51159 * io/utimensat.c: Likewise.
51160 * io/write.c: Likewise.
51161 * io/xmknod.c: Likewise.
51162 * io/xmknodat.c: Likewise.
51163 * io/xstat.c: Likewise.
51164 * io/xstat64.c: Likewise.
51165 * login/getpt.c: Likewise.
51166 * login/grantpt.c: Likewise.
51167 * login/unlockpt.c: Likewise.
51168 * math/e_acoshl.c: Likewise.
51169 * math/e_acosl.c: Likewise.
51170 * math/e_asinl.c: Likewise.
51171 * math/e_atan2l.c: Likewise.
51172 * math/e_atanhl.c: Likewise.
51173 * math/e_coshl.c: Likewise.
51174 * math/e_expl.c: Likewise.
51175 * math/e_fmodl.c: Likewise.
51176 * math/e_gammal_r.c: Likewise.
51177 * math/e_hypotl.c: Likewise.
51178 * math/e_j0l.c: Likewise.
51179 * math/e_j1l.c: Likewise.
51180 * math/e_jnl.c: Likewise.
51181 * math/e_lgammal_r.c: Likewise.
51182 * math/e_log10l.c: Likewise.
51183 * math/e_log2l.c: Likewise.
51184 * math/e_logl.c: Likewise.
51185 * math/e_powl.c: Likewise.
51186 * math/e_rem_pio2l.c: Likewise.
51187 * math/e_sinhl.c: Likewise.
51188 * math/e_sqrtl.c: Likewise.
51189 * math/fclrexcpt.c: Likewise.
51190 * math/fedisblxcpt.c: Likewise.
51191 * math/feenablxcpt.c: Likewise.
51192 * math/fegetenv.c: Likewise.
51193 * math/fegetexcept.c: Likewise.
51194 * math/fegetround.c: Likewise.
51195 * math/feholdexcpt.c: Likewise.
51196 * math/fesetenv.c: Likewise.
51197 * math/fesetround.c: Likewise.
51198 * math/feupdateenv.c: Likewise.
51199 * math/fgetexcptflg.c: Likewise.
51200 * math/fraiseexcpt.c: Likewise.
51201 * math/fsetexcptflg.c: Likewise.
51202 * math/ftestexcept.c: Likewise.
51203 * math/k_cosl.c: Likewise.
51204 * math/k_rem_pio2l.c: Likewise.
51205 * math/k_sinl.c: Likewise.
51206 * math/k_tanl.c: Likewise.
51207 * math/s_asinhl.c: Likewise.
51208 * math/s_atanl.c: Likewise.
51209 * math/s_cbrtl.c: Likewise.
51210 * math/s_erfl.c: Likewise.
51211 * math/s_expm1l.c: Likewise.
51212 * math/s_log1pl.c: Likewise.
51213 * math/s_tanhl.c: Likewise.
51214 * misc/acct.c: Likewise.
51215 * misc/brk.c: Likewise.
51216 * misc/chflags.c: Likewise.
51217 * misc/chroot.c: Likewise.
51218 * misc/fchflags.c: Likewise.
51219 * misc/fgetxattr.c: Likewise.
51220 * misc/flistxattr.c: Likewise.
51221 * misc/fremovexattr.c: Likewise.
51222 * misc/fsetxattr.c: Likewise.
51223 * misc/fsync.c: Likewise.
51224 * misc/ftruncate.c: Likewise.
51225 * misc/futimes.c: Likewise.
51226 * misc/futimesat.c: Likewise.
51227 * misc/getdomain.c: Likewise.
51228 * misc/getdtsz.c: Likewise.
51229 * misc/gethostid.c: Likewise.
51230 * misc/gethostname.c: Likewise.
51231 * misc/getloadavg.c: Likewise.
51232 * misc/getpagesize.c: Likewise.
51233 * misc/getsysstats.c: Likewise.
51234 * misc/getxattr.c: Likewise.
51235 * misc/gtty.c: Likewise.
51236 * misc/ioctl.c: Likewise.
51237 * misc/lgetxattr.c: Likewise.
51238 * misc/listxattr.c: Likewise.
51239 * misc/llistxattr.c: Likewise.
51240 * misc/lremovexattr.c: Likewise.
51241 * misc/lsetxattr.c: Likewise.
51242 * misc/lutimes.c: Likewise.
51243 * misc/madvise.c: Likewise.
51244 * misc/mincore.c: Likewise.
51245 * misc/mlock.c: Likewise.
51246 * misc/mlockall.c: Likewise.
51247 * misc/mmap.c: Likewise.
51248 * misc/mprotect.c: Likewise.
51249 * misc/msync.c: Likewise.
51250 * misc/munlock.c: Likewise.
51251 * misc/munlockall.c: Likewise.
51252 * misc/munmap.c: Likewise.
51253 * misc/preadv.c: Likewise.
51254 * misc/preadv64.c: Likewise.
51255 * misc/ptrace.c: Likewise.
51256 * misc/pwritev.c: Likewise.
51257 * misc/pwritev64.c: Likewise.
51258 * misc/readv.c: Likewise.
51259 * misc/reboot.c: Likewise.
51260 * misc/remap_file_pages.c: Likewise.
51261 * misc/removexattr.c: Likewise.
51262 * misc/revoke.c: Likewise.
51263 * misc/select.c: Likewise.
51264 * misc/setdomain.c: Likewise.
51265 * misc/setegid.c: Likewise.
51266 * misc/seteuid.c: Likewise.
51267 * misc/sethostid.c: Likewise.
51268 * misc/sethostname.c: Likewise.
51269 * misc/setregid.c: Likewise.
51270 * misc/setreuid.c: Likewise.
51271 * misc/setxattr.c: Likewise.
51272 * misc/sstk.c: Likewise.
51273 * misc/stty.c: Likewise.
51274 * misc/swapoff.c: Likewise.
51275 * misc/swapon.c: Likewise.
51276 * misc/sync.c: Likewise.
51277 * misc/syncfs.c: Likewise.
51278 * misc/syscall.c: Likewise.
51279 * misc/truncate.c: Likewise.
51280 * misc/ualarm.c: Likewise.
51281 * misc/usleep.c: Likewise.
51282 * misc/ustat.c: Likewise.
51283 * misc/utimes.c: Likewise.
51284 * misc/vhangup.c: Likewise.
51285 * misc/writev.c: Likewise.
51286 * posix/_exit.c: Likewise.
51287 * posix/alarm.c: Likewise.
51288 * posix/execve.c: Likewise.
51289 * posix/fexecve.c: Likewise.
51290 * posix/fork.c: Likewise.
51291 * posix/fpathconf.c: Likewise.
51292 * posix/getaddrinfo.c: Likewise.
51293 * posix/getegid.c: Likewise.
51294 * posix/geteuid.c: Likewise.
51295 * posix/getgid.c: Likewise.
51296 * posix/getgroups.c: Likewise.
51297 * posix/getlogin.c: Likewise.
51298 * posix/getlogin_r.c: Likewise.
51299 * posix/getpgid.c: Likewise.
51300 * posix/getpid.c: Likewise.
51301 * posix/getppid.c: Likewise.
51302 * posix/getresgid.c: Likewise.
51303 * posix/getresuid.c: Likewise.
51304 * posix/getsid.c: Likewise.
51305 * posix/getuid.c: Likewise.
51306 * posix/glob64.c: Likewise.
51307 * posix/nanosleep.c: Likewise.
51308 * posix/pathconf.c: Likewise.
51309 * posix/pause.c: Likewise.
51310 * posix/posix_madvise.c: Likewise.
51311 * posix/pread.c: Likewise.
51312 * posix/pread64.c: Likewise.
51313 * posix/pwrite.c: Likewise.
51314 * posix/pwrite64.c: Likewise.
51315 * posix/sched_getaffinity.c: Likewise.
51316 * posix/sched_getp.c: Likewise.
51317 * posix/sched_gets.c: Likewise.
51318 * posix/sched_primax.c: Likewise.
51319 * posix/sched_primin.c: Likewise.
51320 * posix/sched_rr_gi.c: Likewise.
51321 * posix/sched_setaffinity.c: Likewise.
51322 * posix/sched_setp.c: Likewise.
51323 * posix/sched_sets.c: Likewise.
51324 * posix/sched_yield.c: Likewise.
51325 * posix/setgid.c: Likewise.
51326 * posix/setlogin.c: Likewise.
51327 * posix/setpgid.c: Likewise.
51328 * posix/setresgid.c: Likewise.
51329 * posix/setresuid.c: Likewise.
51330 * posix/setsid.c: Likewise.
51331 * posix/setuid.c: Likewise.
51332 * posix/sleep.c: Likewise.
51333 * posix/spawni.c: Likewise.
51334 * posix/sysconf.c: Likewise.
51335 * posix/times.c: Likewise.
51336 * posix/wait.c: Likewise.
51337 * posix/wait3.c: Likewise.
51338 * posix/wait4.c: Likewise.
51339 * posix/waitpid.c: Likewise.
51340 * resolv/gai_sigqueue.c: Likewise.
51341 * resource/getpriority.c: Likewise.
51342 * resource/getrlimit.c: Likewise.
51343 * resource/getrusage.c: Likewise.
51344 * resource/nice.c: Likewise.
51345 * resource/setpriority.c: Likewise.
51346 * resource/setrlimit.c: Likewise.
51347 * resource/ulimit.c: Likewise.
51348 * rt/aio_cancel.c: Likewise.
51349 * rt/aio_fsync.c: Likewise.
51350 * rt/aio_read.c: Likewise.
51351 * rt/aio_sigqueue.c: Likewise.
51352 * rt/aio_suspend.c: Likewise.
51353 * rt/aio_write.c: Likewise.
51354 * rt/clock_getres.c: Likewise.
51355 * rt/clock_gettime.c: Likewise.
51356 * rt/clock_nanosleep.c: Likewise.
51357 * rt/clock_settime.c: Likewise.
51358 * rt/lio_listio.c: Likewise.
51359 * rt/mq_close.c: Likewise.
51360 * rt/mq_getattr.c: Likewise.
51361 * rt/mq_notify.c: Likewise.
51362 * rt/mq_open.c: Likewise.
51363 * rt/mq_receive.c: Likewise.
51364 * rt/mq_send.c: Likewise.
51365 * rt/mq_setattr.c: Likewise.
51366 * rt/mq_timedreceive.c: Likewise.
51367 * rt/mq_timedsend.c: Likewise.
51368 * rt/mq_unlink.c: Likewise.
51369 * rt/shm_open.c: Likewise.
51370 * rt/shm_unlink.c: Likewise.
51371 * rt/timer_create.c: Likewise.
51372 * rt/timer_delete.c: Likewise.
51373 * rt/timer_getoverr.c: Likewise.
51374 * rt/timer_gettime.c: Likewise.
51375 * rt/timer_settime.c: Likewise.
51376 * setjmp/__longjmp.c: Likewise.
51377 * setjmp/setjmp.c: Likewise.
51378 * signal/kill.c: Likewise.
51379 * signal/killpg.c: Likewise.
51380 * signal/raise.c: Likewise.
51381 * signal/sigaction.c: Likewise.
51382 * signal/sigaltstack.c: Likewise.
51383 * signal/sigblock.c: Likewise.
51384 * signal/sigignore.c: Likewise.
51385 * signal/sigintr.c: Likewise.
51386 * signal/signal.c: Likewise.
51387 * signal/sigpause.c: Likewise.
51388 * signal/sigpending.c: Likewise.
51389 * signal/sigqueue.c: Likewise.
51390 * signal/sigreturn.c: Likewise.
51391 * signal/sigset.c: Likewise.
51392 * signal/sigsetmask.c: Likewise.
51393 * signal/sigstack.c: Likewise.
51394 * signal/sigsuspend.c: Likewise.
51395 * signal/sigtimedwait.c: Likewise.
51396 * signal/sigvec.c: Likewise.
51397 * signal/sigwait.c: Likewise.
51398 * signal/sigwaitinfo.c: Likewise.
51399 * signal/sysv_signal.c: Likewise.
51400 * socket/accept.c: Likewise.
51401 * socket/accept4.c: Likewise.
51402 * socket/bind.c: Likewise.
51403 * socket/connect.c: Likewise.
51404 * socket/getpeername.c: Likewise.
51405 * socket/getsockname.c: Likewise.
51406 * socket/getsockopt.c: Likewise.
51407 * socket/isfdtype.c: Likewise.
51408 * socket/listen.c: Likewise.
51409 * socket/recv.c: Likewise.
51410 * socket/recvfrom.c: Likewise.
51411 * socket/recvmsg.c: Likewise.
51412 * socket/send.c: Likewise.
51413 * socket/sendmsg.c: Likewise.
51414 * socket/sendto.c: Likewise.
51415 * socket/setsockopt.c: Likewise.
51416 * socket/shutdown.c: Likewise.
51417 * socket/sockatmark.c: Likewise.
51418 * socket/socket.c: Likewise.
51419 * socket/socketpair.c: Likewise.
51420 * stdio-common/ctermid.c: Likewise.
51421 * stdio-common/cuserid.c: Likewise.
51422 * stdio-common/remove.c: Likewise.
51423 * stdio-common/rename.c: Likewise.
51424 * stdio-common/renameat.c: Likewise.
51425 * stdio-common/tempname.c: Likewise.
51426 * stdlib/getcontext.c: Likewise.
51427 * stdlib/makecontext.c: Likewise.
51428 * stdlib/setcontext.c: Likewise.
51429 * stdlib/swapcontext.c: Likewise.
51430 * stdlib/system.c: Likewise.
51431 * streams/fattach.c: Likewise.
51432 * streams/fdetach.c: Likewise.
51433 * streams/getmsg.c: Likewise.
51434 * streams/getpmsg.c: Likewise.
51435 * streams/putmsg.c: Likewise.
51436 * streams/putpmsg.c: Likewise.
51437 * sysdeps/unix/bsd/getpt.c: Likewise.
51438 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51439 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51440 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51442 Likewise.
51443 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51444 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51445 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51446 * sysvipc/msgctl.c: Likewise.
51447 * sysvipc/msgget.c: Likewise.
51448 * sysvipc/msgrcv.c: Likewise.
51449 * sysvipc/msgsnd.c: Likewise.
51450 * sysvipc/semctl.c: Likewise.
51451 * sysvipc/semget.c: Likewise.
51452 * sysvipc/semop.c: Likewise.
51453 * sysvipc/semtimedop.c: Likewise.
51454 * sysvipc/shmat.c: Likewise.
51455 * sysvipc/shmctl.c: Likewise.
51456 * sysvipc/shmdt.c: Likewise.
51457 * sysvipc/shmget.c: Likewise.
51458 * termios/tcdrain.c: Likewise.
51459 * termios/tcflow.c: Likewise.
51460 * termios/tcflush.c: Likewise.
51461 * termios/tcgetattr.c: Likewise.
51462 * termios/tcgetpgrp.c: Likewise.
51463 * termios/tcsendbrk.c: Likewise.
51464 * termios/tcsetattr.c: Likewise.
51465 * termios/tcsetpgrp.c: Likewise.
51466 * time/adjtime.c: Likewise.
51467 * time/clock.c: Likewise.
51468 * time/getitimer.c: Likewise.
51469 * time/gettimeofday.c: Likewise.
51470 * time/setitimer.c: Likewise.
51471 * time/settimeofday.c: Likewise.
51472 * time/stime.c: Likewise.
51473 * time/time.c: Likewise.
51474
51475 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
51476
51477 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51478 /usr/old/bin.
51479
51480 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51481 instead of spaces.
51482 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51483
51484 2012-11-03 Joseph Myers <joseph@codesourcery.com>
51485
51486 [BZ #14796]
51487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51488 FE_TONEAREST before applying Dekker multiplication and Knuth
51489 addition. Clear inexact exceptions and check for exact zero
51490 results afterwards.
51491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51492 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51494 * math/libm-test.inc (fma_test): Add more tests.
51495 (fma_test_towardzero): Likewise.
51496 (fma_test_downward): Likewise.
51497 (fma_test_upward): Likewise.
51498 * sysdeps/generic/math_private.h (default_libc_fesetround): New
51499 function.
51500 (libc_fesetround): New macro.
51501 (libc_fesetroundf): Likewise.
51502 (libc_fesetroundl): Likewise.
51503 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51504 function.
51505 (libc_fesetround_387): Likewise.
51506 (libc_fesetroundf): New macro.
51507 (libc_fesetround): Likewise.
51508 (libc_fesetroundl): Likewise.
51509 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51510 function.
51511 (libc_fesetroundf): New macro.
51512 (libc_fesetround): Likewise.
51513 (libc_fesetroundl): Likewise.
51514 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51515 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51516 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51517 libm_hidden_ver.
51518 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51519 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51520 libm_hidden_def.
51521 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51522 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51523 libm_hidden_ver.
51524 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51525 libm_hidden_def.
51526
51527 [BZ #3439]
51528 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51529 integer constant usable in #if and use that to give value to enum
51530 constant.
51531 (FE_DIVBYZERO): Likewise.
51532 (FE_UNDERFLOW): Likewise.
51533 (FE_OVERFLOW): Likewise.
51534 (FE_INVALID): Likewise.
51535 (FE_INVALID_SNAN): Likewise.
51536 (FE_INVALID_ISI): Likewise.
51537 (FE_INVALID_IDI): Likewise.
51538 (FE_INVALID_ZDZ): Likewise.
51539 (FE_INVALID_IMZ): Likewise.
51540 (FE_INVALID_COMPARE): Likewise.
51541 (FE_INVALID_SOFTWARE): Likewise.
51542 (FE_INVALID_SQRT): Likewise.
51543 (FE_INVALID_INTEGER_CONVERSION): Likewise.
51544 (FE_TONEAREST): Likewise.
51545 (FE_TOWARDZERO): Likewise.
51546 (FE_UPWARD): Likewise.
51547 (FE_DOWNWARD): Likewise.
51548 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51549 (FE_DIVBYZERO): Likewise.
51550 (FE_OVERFLOW): Likewise.
51551 (FE_UNDERFLOW): Likewise.
51552 (FE_INEXACT): Likewise.
51553 (FE_TONEAREST): Likewise.
51554 (FE_DOWNWARD): Likewise.
51555 (FE_UPWARD): Likewise.
51556 (FE_TOWARDZERO): Likewise.
51557 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51558 (FE_UNDERFLOW): Likewise.
51559 (FE_OVERFLOW): Likewise.
51560 (FE_DIVBYZERO): Likewise.
51561 (FE_INVALID): Likewise.
51562 (FE_TONEAREST): Likewise.
51563 (FE_TOWARDZERO): Likewise.
51564 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51565 (FE_OVERFLOW): Likewise.
51566 (FE_UNDERFLOW): Likewise.
51567 (FE_DIVBYZERO): Likewise.
51568 (FE_INEXACT): Likewise.
51569 (FE_TONEAREST): Likewise.
51570 (FE_TOWARDZERO): Likewise.
51571 (FE_UPWARD): Likewise.
51572 (FE_DOWNWARD): Likewise.
51573 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51574 (FE_DIVBYZERO): Likewise.
51575 (FE_OVERFLOW): Likewise.
51576 (FE_UNDERFLOW): Likewise.
51577 (FE_INEXACT): Likewise.
51578 (FE_TONEAREST): Likewise.
51579 (FE_DOWNWARD): Likewise.
51580 (FE_UPWARD): Likewise.
51581 (FE_TOWARDZERO): Likewise.
51582
51583 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
51584
51585 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51586
51587 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
51588
51589 * scripts/cross-test-ssh.sh (command): Use newlines to separate
51590 commands. Quote $PWD.
51591 (blacklist_exports): Don't use remove_newlines. Replace "declare
51592 -x" by "export".
51593 (remove_newlines): Remove.
51594
51595 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
51596
51597 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51598 * stdlib/stdlib.h (atof): Moved to ...
51599 * include/bits/stdlib-float.h: Here. New file.
51600 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51601 * stdlib/bits/stdlib-float.h: New file.
51602 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51603 -mno-sse -mno-mmx.
51604 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51605 <xmmintrin.h>.
51606
51607 2012-11-02 Joseph Myers <joseph@codesourcery.com>
51608
51609 * conform/conformtest.pl (@headers): Add fenv.h.
51610 * conform/data/fenv.h-data: New file.
51611 * include/fenv.h [_ISOMAC]: Disable all contents of file except
51612 include of <math/fenv.h>.
51613
51614 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51615 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51616 && !UNIX98]. Enables tests for XOPEN2K8.
51617 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51618 POSIX2008]: Likewise.
51619
51620 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51621 (struct rusage): Do not expect type or its members.
51622
51623 [BZ #3439]
51624 * math/math.h (FP_NAN): Define macro to integer constant usable in
51625 #if and use that to give value to enum constant.
51626 (FP_INFINITE): Likewise.
51627 (FP_ZERO): Likewise.
51628 (FP_SUBNORMAL): Likewise.
51629 (FP_NORMAL): Likewise.
51630
51631 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
51632
51633 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51634 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51635 arguments.
51636
51637 2012-11-02 Roland McGrath <roland@hack.frob.com>
51638
51639 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51640 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51641 autoconf-time if not.
51642 * configure.in: Remove AC_PREREQ.
51643
51644 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51645
51646 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51647 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51648 of the internal implementation.
51649
51650 2012-11-02 Joseph Myers <joseph@codesourcery.com>
51651
51652 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51653 except include of <misc/sys/syslog.h>.
51654
51655 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
51656
51657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51658 function returns with a NULL context exit with zero.
51659
51660 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51661
51662 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51663
51664 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
51665
51666 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51667 (run_program_cmd): This.
51668 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51669 (tst_langinfo): New variable. Use it.
51670
51671 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
51672
51673 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51674 floating point opcodes.
51675
51676 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
51677
51678 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51679 variable.
51680
51681 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51682
51683 * sysdeps/mach/hurd/powerpc: Remove directory.
51684 * sysdeps/mach/powerpc: Likewise.
51685
51686 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
51687
51688 * scripts/check-local-headers.sh: Ignore c++ headers.
51689
51690 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
51691
51692 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51693 __libc_cleanup_region_start argument.
51694
51695 2012-11-01 Joseph Myers <joseph@codesourcery.com>
51696
51697 [BZ #14784]
51698 [BZ #14785]
51699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51700 x * y using scaling, not as x * y + z.
51701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51703 * math/libm-test.inc (fma_test): Add more tests.
51704 (fma_test_towardzero): Likewise.
51705 (fma_test_downward): Likewise.
51706 (fma_test_upward): Likewise.
51707
51708 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
51709
51710 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51711
51712 2012-10-31 Joseph Myers <joseph@codesourcery.com>
51713
51714 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51715 New variable.
51716
51717 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
51718
51719 * rt/tst-shm.c (worker): Correct checking for mmap failure.
51720
51721 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
51722
51723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51724 Fix sort order.
51725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51726 Likewise.
51727
51728 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51729
51730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51731 Fix the order of the list for glibc 2.17.
51732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51733 Likewise.
51734
51735 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
51736
51737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51738
51739 2012-10-31 Joseph Myers <joseph@codesourcery.com>
51740
51741 [BZ #14610]
51742 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51743 for low part of x being zero before using __atanl (y).
51744 * math/libm-test.inc (atan2_test): Add another test.
51745
51746 * manual/install.texi (Configuring and compiling): Document
51747 general use of test-wrapper and test-wrapper-env.
51748 * INSTALL: Regenerated.
51749
51750 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51751 (__fma): Do not extract and scale down low bits on after-rounding
51752 systems when result rounded to normal precision would have normal
51753 exponent.
51754 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51755 (__fmal): Do not extract and scale down low bits on after-rounding
51756 systems when result rounded to normal precision would have normal
51757 exponent.
51758 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51759 (__fmal): Do not extract and scale down low bits on after-rounding
51760 systems when result rounded to normal precision would have normal
51761 exponent.
51762 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51763 macro.
51764 (fma_test): Add more tests.
51765 (fma_test_towardzero): Likewise.
51766 (fma_test_downward): Likewise.
51767 (fma_test_upward): Likewise.
51768
51769 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
51770
51771 * sysdeps/i386/tininess.h: Renamed to ...
51772 * sysdeps/x86/tininess.h: This.
51773 * sysdeps/x86_64/tininess.h: Removed.
51774
51775 2012-10-30 Joseph Myers <joseph@codesourcery.com>
51776
51777 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51778 input. Use $(build-program-cmd).
51779 ($(objpfx)tst-array1-static.out): Likewise.
51780 ($(objpfx)tst-array2.out): Likewise.
51781 ($(objpfx)tst-array3.out): Likewise.
51782 ($(objpfx)tst-array4.out): Likewise.
51783 ($(objpfx)tst-array5.out): Likewise.
51784 ($(objpfx)tst-array5-static.out): Likewise.
51785
51786 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
51787
51788 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51789 if defined.
51790
51791 * nss/nsswitch.h (nss_interface_function): Provide new
51792 macro for use with NSS functions.
51793 * grp/initgroups.c: Use new macro.
51794 * nss/getXXbyYY.c: Likewise.
51795 * nss/getXXbyYY_r.c: Likewise.
51796 * nss/getXXent.c: Likewise.
51797 * nss/getXXent_r.c: Likewise.
51798 * sysdeps/posix/getaddrinfo.c: Likewise.
51799
51800 2012-10-30 Andreas Jaeger <aj@suse.de>
51801
51802 * po/ru.po: Update Russion translation from translation project.
51803
51804 2012-10-30 Joseph Myers <joseph@codesourcery.com>
51805
51806 [BZ #14152]
51807 [BZ #14783]
51808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51809 result and shift together with sticky bit instead of replicating
51810 round-to-nearest rounding.
51811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51813 * math/libm-test.inc (fma_test): Add more tests. Do not permit
51814 missing underflow exceptions.
51815 (fma_test_towardzero): Add more tests.
51816 (fma_test_downward): Likewise.
51817 (fma_test_upward): Likewise.
51818
51819 [BZ #14047]
51820 * sysdeps/generic/tininess.h: New file.
51821 * sysdeps/i386/tininess.h: Likewise.
51822 * sysdeps/sh/tininess.h: Likewise.
51823 * sysdeps/x86_64/tininess.h: Likewise.
51824 * stdlib/tst-strtod-underflow.c: Likewise.
51825 * stdlib/tst-tininess.c: Likewise.
51826 * stdlib/strtod_l.c: Include <tininess.h>.
51827 (round_and_return): Do not set errno for exact underflow cases.
51828 Force an underflow exception when setting errno for underflow.
51829 Determine underflow based on rounding to normal precision if
51830 TININESS_AFTER_ROUNDING.
51831 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51832 ERANGE for exact underflow cases.
51833 * stdlib/Makefile (tests): Add tst-tininess and
51834 tst-strtod-underflow.
51835 ($(objpfx)tst-tininess): Use $(link-libm).
51836 ($(objpfx)tst-strtod-underflow): Likewise.
51837
51838 2012-10-30 Andreas Jaeger <aj@suse.de>
51839
51840 [BZ#14767]
51841 * elf/Makefile (tests): Remove conditional for have-initfini-array
51842 since this is now always required and the variable does not exist
51843 anymore.
51844 (tests-static): Likewise.
51845 (modules-names): Likewise.
51846
51847 * po/eo.po: Add Esperanto translation from translation project.
51848
51849 * elf/tst-array1.c (fini_array): Make writeable so that it can be
51850 merged with constructor/destructor.
51851 (init_array): Likewise.
51852 * elf/tst-array2dep.c (fini_array): Likewise.
51853 (init_array): Likewise.
51854
51855 2012-10-29 Mike Frysinger <vapier@gentoo.org>
51856
51857 * manual/message.texi: Delete @cartouche tags.
51858
51859 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
51860
51861 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51862 EOPNOTSUPP.
51863 * sysdeps/mach/hurd/fsync.c: Likewise.
51864
51865 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51866 [_POSIX_REALTIME_SIGNALS]: Change condition to
51867 [_POSIX_REALTIME_SIGNALS > 0].
51868
51869 2012-10-27 Andreas Jaeger <aj@suse.de>
51870
51871 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51872 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51874 [__WORDSIZE != 64]: Likewise.
51875
51876 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
51877
51878 * iconvdata/tst-table.sh: Remove ${SHELL}.
51879 * iconvdata/tst-tables.sh: Likewise.
51880
51881 2012-10-25 David S. Miller <davem@davemloft.net>
51882
51883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51884 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51885 of strtoull.
51886
51887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51888 ifunc-impl-list.c
51889 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51890 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51891 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51892 file.
51893
51894 2012-10-25 Roland McGrath <roland@hack.frob.com>
51895
51896 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51897 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51898 __getdirentries.
51899
51900 2012-10-25 Joseph Myers <joseph@codesourcery.com>
51901 Jim Blandy <jimb@codesourcery.com>
51902
51903 * scripts/cross-test-ssh.sh: New file.
51904 * manual/install.texi (Configuring and compiling): Document use of
51905 cross-test-ssh.sh.
51906 * INSTALL: Regenerated.
51907
51908 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
51909
51910 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51911 EOPNOTSUPP.
51912
51913 2012-10-25 Joseph Myers <joseph@codesourcery.com>
51914
51915 * Makeconfig (run-program-prefix): Fix comment.
51916
51917 2012-10-24 Joseph Myers <joseph@codesourcery.com>
51918 Jim Blandy <jimb@codesourcery.com>
51919
51920 * Makeconfig (test-wrapper): New variable,
51921 (test-wrapper-env): Likewise.
51922 [$(cross-compiling) = yes && $(test-wrapper) != ""]
51923 (run-built-tests): Define to yes.
51924 (run-program-prefix): Use $(test-wrapper).
51925 (built-program-cmd): Likewise.
51926 * Rules (make-test-out): Use $(test-wrapper-env) and
51927 $(host-built-program-cmd).
51928 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51929 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51930 tst-pathopt.sh.
51931 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51932 $(test-wrapper-env) to tst-rtld-load-self.sh.
51933 ($(objpfx)order2.out): Use $(test-wrapper).
51934 ($(objpfx)tst-initorder.out): Likewise.
51935 ($(objpfx)tst-initorder2.out): Likewise.
51936 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51937 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51938 (test_wrapper_env): New variable. Use it to run ld.so.
51939 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51940 Use it to run ld.so.
51941 (test_wrapper_env): Likewise.
51942 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51943 $(test-wrapper) to run-iconv-test.sh.
51944 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51945 (ICONV): Use $test_wrapper.
51946 * posix/Makefile ($(objpfx)globtest.out): Pass
51947 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51948 globtest.sh, not $(run-program-prefix).
51949 * posix/globtest.sh (run_via_rtld_prefix): New variable.
51950 (test_wrapper): Likewise.
51951 (test_wrapper_env): Likewise. Use it to run globtest with HOME
51952 set together with run_via_rtld_prefix.
51953 (run_program_prefix): Define in terms of test_wrapper and
51954 run_via_rtld_prefix.
51955
51956 2012-10-24 Roland McGrath <roland@hack.frob.com>
51957
51958 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51959 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51960 Targets removed.
51961
51962 [BZ #14743]
51963 * include/time.h: Remove librt_hidden_proto (clock_gettime).
51964 Declare __clock_getres, __clock_gettime, __clock_settime,
51965 __clock_nanosleep, and __clock_getcpuclockid.
51966 * rt/clock_gettime.c: Define __clock_gettime as an alias.
51967 Remove librt_hidden_def (clock_gettime).
51968 * sysdeps/unix/clock_gettime.c: Likewise.
51969 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51970 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51971 * rt/clock_getres.c: Define __clock_getres as an alias.
51972 * sysdeps/posix/clock_getres.c: Likewise.
51973 * rt/clock_settime.c: Define __clock_settime as an alias.
51974 * sysdeps/unix/clock_settime.c: Likewise.
51975 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51976 * sysdeps/unix/clock_nanosleep.c: Likewise.
51977 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51978 * rt/clock-compat.c: New file.
51979 * rt/Makefile (librt-routines): Add clock-compat and move
51980 $(clock-routines) to ...
51981 (routines): ... here, new variable.
51982 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51983 Don't add get_clockfreq here.
51984 * rt/Versions (libc: GLIBC_2.17): New version set.
51985 Add clock_* symbols here.
51986 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
51987 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51988 (GLIBC_2.17): Add clock_* symbols.
51989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51993 Likewise.
51994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51995 Likewise.
51996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52000 * NEWS: Mention the move.
52001
52002 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52003 Use __open, __read, __close rather than their public counterparts.
52004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52005 (__get_clockfreq_via_cpuinfo): Likewise.
52006 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52007 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52008
52009 * config.h.in (HAVE_IFUNC): New #undef.
52010 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52011 was successful.
52012 * configure: Regenerated.
52013
52014 2012-10-24 Mike Frysinger <vapier@gentoo.org>
52015
52016 * configure.in: Move READELF check to start of file.
52017 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52018 libc_cv_asm_gnu_indirect_function in the process.
52019 * configure: Regenerated.
52020
52021 2012-10-24 Mike Frysinger <vapier@gentoo.org>
52022
52023 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52024 send the output to /dev/null.
52025 (libc_cv_cc_with_libunwind): Likewise.
52026 (libc_cv_as_noexecstack): Likewise.
52027 * configure: Regenerate.
52028
52029 2012-10-24 Joseph Myers <joseph@codesourcery.com>
52030
52031 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52032
52033 * posix/globtest.sh (TMPDIR): Do not set.
52034 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52035 (testout): Likewise.
52036
52037 2012-10-24 Andreas Jaeger <aj@suse.de>
52038
52039 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52040 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52041 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52042 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52043 posix_fadvise64, posix_fallocate64.
52044
52045 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52046 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52047 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52048 Likewise.
52049 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52050 Likewise.
52051 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52052
52053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52054 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52055 <bits/fcntl-linux.h>.
52056 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52057
52058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52059 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52060 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52061 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52062 [__WORDSIZE != 64]: Likewise.
52063
52064 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52065
52066 * Makeconfig (run-built-tests): New variable.
52067 * Rules [$(cross-compiling) = yes]: Change condition to
52068 [$(run-built-tests) = no].
52069 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52070 to [$(run-built-tests) = yes].
52071 * elf/Makefile [$(cross-compiling) = no]: Likewise.
52072 * grp/Makefile [$(cross-compiling) = no]: Likewise.
52073 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52074 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52075 * intl/Makefile [$(cross-compiling) = no]: Likewise.
52076 * io/Makefile [$(cross-compiling) = no]: Likewise.
52077 * libio/Makefile [$(cross-compiling) = no]: Likewise.
52078 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52079 * misc/Makefile [$(cross-compiling) = no]: Likewise.
52080 * posix/Makefile [$(cross-compiling) = no]: Likewise.
52081 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52082 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52083 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52084 * string/Makefile [$(cross-compiling) = no]: Likewise.
52085
52086 * posix/Makefile ($(objpfx)globtest.out): Pass
52087 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52088 $(rtld-installed-name).
52089 * posix/globtest.sh (elf_objpfx): Remove variable.
52090 (rtld_installed_name): Likewise.
52091 (library_path): Likewise.
52092 (run_program_prefix): New variable. Use for running globtest
52093 binary.
52094
52095 2012-10-23 Jim Blandy <jimb@codesourcery.com>
52096 Joseph Myers <joseph@codesourcery.com>
52097
52098 * Makeconfig (host-built-program-cmd): New variable.
52099 * elf/Makefile (tst-stackguard1-ARGS): Use
52100 $(host-built-program-cmd).
52101 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52102 (tst-spawn-ARGS): Likewise.
52103 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52104
52105 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52106 Jim Blandy <jimb@codesourcery.com>
52107
52108 * Makeconfig (run-via-rtld-prefix): New variable.
52109 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52110 (built-program-cmd): Likewise.
52111
52112 2012-10-22 Andreas Jaeger <aj@suse.de>
52113
52114 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52115 __O_RSYNC if it exists, otherwise to O_SYNC.
52116
52117 2012-10-22 Jim Blandy <jimb@codesourcery.com>
52118 Joseph Myers <joseph@codesourcery.com>
52119
52120 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52121 /dev/null.
52122 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52123 from /dev/null
52124 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52125 /dev/null.
52126
52127 2012-10-22 Andreas Jaeger <aj@suse.de>
52128
52129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52130 Define always.
52131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52132
52133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52134 bits/fcntl-linux.h.
52135
52136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52137 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52138
52139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52140 to __O_LARGEFILE.
52141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52142 to __O_LARGEFILE.
52143
52144 2012-10-21 Jim Blandy <jimb@codesourcery.com>
52145 Joseph Myers <joseph@codesourcery.com>
52146
52147 * config.make.in (NM): New variable.
52148
52149 2012-10-21 Andreas Jaeger <aj@suse.de>
52150
52151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52152 definitions and declarations that are provided by
52153 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52154
52155 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52156
52157 [BZ #14683]
52158 * elf/Makefile (tests-static): Add tst-leaks1-static.
52159 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52160 ($(objpfx)tst-leaks1-static): New rule.
52161 ($(objpfx)tst-leaks1-static-mem): Likewise.
52162 (tst-leaks1-static-ENV): New macro.
52163 * elf/dl-open.c (dl_open_worker): Check the main application
52164 only if SHARED is defined.
52165 * elf/tst-leaks1-static.c: New file.
52166
52167 2012-10-20 Andreas Jaeger <aj@suse.de>
52168
52169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52170 generic values for Linux.
52171 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52172 and declarations that are provided by <bits/fcntl-linux.h> and
52173 include <bits/fcntl-linux.h>.
52174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52176
52177 2012-10-20 Roland McGrath <roland@hack.frob.com>
52178
52179 * io/fcntl.h: Move include of <bits/types.h> to the top and
52180 include it unconditionally.
52181
52182 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52183
52184 * wcsmbs/Makefile (tests-ifunc): New variable.
52185 (tests): Add $(tests-ifunc).
52186 * wcsmbs/test-wcschr-ifunc.c: New file.
52187 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52188 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52189 * wcsmbs/test-wcslen-ifunc.c: Likewise.
52190 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52191 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52192
52193 * string/Makefile (tests-ifunc): New variable.
52194 (tests): Add $(tests-ifunc).
52195 * string/test-memccpy.c (TEST_NAME): New macro.
52196 * string/test-memchr.c (TEST_NAME): Likewise.
52197 * string/test-memcmp.c (TEST_NAME): Likewise.
52198 * string/test-memcpy.c (TEST_NAME): Likewise.
52199 * string/test-memmem.c (TEST_NAME): Likewise.
52200 * string/test-memmove.c (TEST_NAME): Likewise.
52201 * string/test-memset.c (TEST_NAME): Likewise.
52202 * string/test-rawmemchr.c (TEST_NAME): Likewise.
52203 * string/test-stpcpy.c (TEST_NAME): Likewise.
52204 * string/test-stpncpy.c (TEST_NAME): Likewise.
52205 * string/test-strcasecmp.c (TEST_NAME): Likewise.
52206 * string/test-strcasestr.c (TEST_NAME): Likewise.
52207 * string/test-strcat.c (TEST_NAME): Likewise.
52208 * string/test-strchr.c (TEST_NAME): Likewise.
52209 * string/test-strcmp.c(TEST_NAME): Likewise.
52210 * string/test-strcpy.c (TEST_NAME): Likewise.
52211 * string/test-strcspn.c (TEST_NAME): Likewise.
52212 * string/test-strlen.c (TEST_NAME): Likewise.
52213 * string/test-strncasecmp.c (TEST_NAME): Likewise.
52214 * string/test-strncmp.c (TEST_NAME): Likewise.
52215 * string/test-strncpy.c (TEST_NAME): Likewise.
52216 * string/test-strnlen.c (TEST_NAME): Likewise.
52217 * string/test-strpbrk.c (TEST_NAME): Likewise.
52218 * string/test-strrchr.c (TEST_NAME): Likewise.
52219 * string/test-strspn.c (TEST_NAME): Likewise.
52220 * string/test-strstr.c (TEST_NAME): Likewise.
52221 * string/test-bcopy-ifunc.c: New file.
52222 * string/test-bzero-ifunc.c: Likewise.
52223 * string/test-memccpy-ifunc.c: Likewise.
52224 * string/test-memchr-ifunc.c: Likewise.
52225 * string/test-memcmp-ifunc.c: Likewise.
52226 * string/test-memcpy-ifunc.c: Likewise.
52227 * string/test-memmem-ifunc.c: Likewise.
52228 * string/test-memmove-ifunc.c: Likewise.
52229 * string/test-mempcpy-ifunc.c: Likewise.
52230 * string/test-memset-ifunc.c: Likewise.
52231 * string/test-rawmemchr-ifunc.c: Likewise.
52232 * string/test-stpcpy-ifunc.c: Likewise.
52233 * string/test-stpncpy-ifunc.c: Likewise.
52234 * string/test-strcasecmp-ifunc.c: Likewise.
52235 * string/test-strcasestr-ifunc.c: Likewise.
52236 * string/test-strcat-ifunc.c: Likewise.
52237 * string/test-strchr-ifunc.c: Likewise.
52238 * string/test-strchrnul-ifunc.c: Likewise.
52239 * string/test-strcmp-ifunc.c: Likewise.
52240 * string/test-strcpy-ifunc.c: Likewise.
52241 * string/test-strcspn-ifunc.c: Likewise.
52242 * string/test-strlen-ifunc.c: Likewise.
52243 * string/test-strncasecmp-ifunc.c: Likewise.
52244 * string/test-strncat-ifunc.c: Likewise.
52245 * string/test-strncmp-ifunc.c: Likewise.
52246 * string/test-strncpy-ifunc.c: Likewise.
52247 * string/test-strnlen-ifunc.c: Likewise.
52248 * string/test-strpbrk-ifunc.c: Likewise.
52249 * string/test-strrchr-ifunc.c: Likewise.
52250 * string/test-strspn-ifunc.c: Likewise.
52251 * string/test-strstr-ifunc.c: Likewise.
52252
52253 * debug/Makefile (tests-ifunc): New variable.
52254 (tests): Add $(tests-ifunc).
52255 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52256 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52257 * debug/test-stpcpy_chk-ifunc.c: New file.
52258 * debug/test-strcpy_chk-ifunc.c: Likewise.
52259
52260 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
52261
52262 [BZ #13601]
52263 * elf/dl-load.c (open_verify): Retry read if the entire ELF
52264 header is not read in.
52265
52266 2012-10-19 Joseph Myers <joseph@codesourcery.com>
52267
52268 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
52269 script to $(SHELL) as $<. Pass $(common-objpfx) to script
52270 directly. Pass built executable to script as
52271 $(built-program-cmd).
52272 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
52273 $testprogram without using LD_LIBRARY_PATH and $ldso.
52274
52275 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52276 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52277 $(rtld-installed-name).
52278 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52279 (rtld_installed_name): Likewise.
52280 (library_path): Likewise.
52281 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
52282 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52283 $(run-program-prefix) to tst-tables.sh.
52284 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
52285 it to run tst-table-from and tst-table-to.
52286 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52287 Pass it to tst-table.sh.
52288 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52289 $(run-program-prefix) to tst-gettext.sh.
52290 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52291 tst-translit.sh.
52292 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52293 tst-gettext2.sh.
52294 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
52295 to run tst-gettext.
52296 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
52297 to run tst-gettext2.
52298 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
52299 to run tst-translit.
52300 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52301 $(run-program-prefix) to tst-mtrace.sh.
52302 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
52303 to run tst-mtrace.
52304 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52305 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52306 $(rtld-installed-name).
52307 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52308 (rtld_installed_name): Likewise.
52309 (run_program_prefix): New variable. Use it to run wordexp-test.
52310
52311 * Makeconfig (ARCH): Remove all definitions.
52312 (machine): Likewise.
52313 [ARCH]: Remove conditional code.
52314 [!objdir]: Give error.
52315 [!objdir] (objpfx): Remove.
52316 [!objdir] (common-objpfx): Likewise.
52317 [!objdir] (common-objdir): Likewise.
52318 * configure.in (config_makefile): Remove. Hardcode Makefile in
52319 AC_CONFIG_FILES call.
52320 * configure: Regenerated.
52321
52322 [BZ #13888]
52323 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52324 or TMPDIR.
52325 (testout): Likewise.
52326
52327 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52328 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52329 $(rtld-installed-name).
52330 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52331 (rtld_installed_name): Likwise.
52332 (runit): Remove function.
52333 (run_getconf): New variable, Use it for running getconf binary.
52334
52335 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
52336
52337 [BZ #14716]
52338 * string/test-memmem.c (check_result): New function.
52339 (do_one_test): Use it.
52340 (check1): New function.
52341 (test_main): Use it.
52342
52343 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
52344
52345 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52346
52347 2012-10-18 Joseph Myers <joseph@codesourcery.com>
52348
52349 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52350 (_G_LSEEK64): Likewise.
52351 (_G_MMAP64): Likewise.
52352 (_G_FSTAT64): Likewise.
52353 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52354 (_G_LSEEK64): Likewise.
52355 (_G_MMAP64): Likewise.
52356 (_G_FSTAT64): Likewise.
52357 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52358 unconditional. Call __mmap64 directly.
52359 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52360 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
52361 __lseek64 directly.
52362 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52363 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
52364 __mmap64 directly.
52365 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52366 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
52367 __lseek64 directly.
52368 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52369 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
52370 __lseek64 directly.
52371 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52372 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
52373 __lseek64 directly.
52374 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52375 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
52376 __fxstat64 directly.
52377 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52378 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52379 unconditional.
52380 (freopen64) [!_G_OPEN64]: Remove conditional code.
52381 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52382 unconditional.
52383 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52384 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52385 unconditional.
52386 (ftello64) [!_G_LSEEK64]: Remove conditional code.
52387 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52388 unconditional.
52389 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52390 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52391 unconditional.
52392 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52393 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52394 unconditional.
52395 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52396 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52397 unconditional.
52398 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52399 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52400 unconditional.
52401 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52402
52403 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52404
52405 [BZ #12140]
52406 * manual/memory.texi (Malloc Tunable Parameters): Add note
52407 about free list pointers overwriting some perturb bytes.
52408 Wording suggested by Roland McGrath.
52409
52410 2012-10-17 Joseph Myers <joseph@codesourcery.com>
52411
52412 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52413 (lgamma_test): Likewise.
52414 (tgamma_test): Likewise.
52415
52416 2012-10-16 Florian Weimer <fweimer@redhat.com>
52417
52418 [BZ #14700]
52419 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52420 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52421
52422 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
52423
52424 * NEWS: Mention BZ #14716.
52425 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52426 when removing AVAILABLE1_USES_J macro.
52427
52428 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
52429
52430 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52431 (__bswap_64): __uint64_t for unsigned 64-bit int.
52432
52433 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
52434
52435 * include/string.h (memmem): Declare libc hidden alias.
52436 * string/memmem.c (memmem): Define libc hidden alias.
52437 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52438 __read, __close instead of open, read, close.
52439
52440 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
52441
52442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52443 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52444 global and hidden.
52445 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52446 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52447 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52448 Likewise.
52449 (__rawmemchr_sse2): Likewise.
52450 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52451 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52452 (__strchr_sse2): Likewise.
52453 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52454 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52455 (__strcasecmp_sse2): Likewise.
52456 (__strncasecmp_sse2): Likewise.
52457 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52458 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52459 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52460 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52461 (__strrchr_sse2): Likewise.
52462 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52463 ifunc-impl-list.c.
52464 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52465 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52466 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52467 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52468 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52469 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52470 * sysdeps/x86_64/multiarch/memset.S: Likewise.
52471 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52472 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52473 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52474 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52475 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52476 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52477 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52478 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52479 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52480 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52481 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52482 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52483 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52484 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52485 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52486 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52487 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52488 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52489 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52490 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52491 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52492 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52493 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52494
52495 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52496 global and hidden.
52497 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52498 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52499 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52500 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52501 Likewise.
52502 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52503 Likewise.
52504 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52505 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52506 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52507 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52508 ifunc-impl-list.c.
52509 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52510 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52511 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52512 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52513 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52514 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52515 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52516 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52517 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52518 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52519 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52520 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52521 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52522 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52523 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52525 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52526 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52527 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52528 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52530 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52531 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52532 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52534 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52535 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52536 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52537 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52538 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52539 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52540 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52541 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52542 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52543 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52544 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52545 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52546 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52547 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52548 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52549 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52550
52551 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52552 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52553 * include/ifunc-impl-list.h: New file.
52554 * misc/ifunc-impl-list.c: Likewise.
52555 * misc/Makefile (routines): Add ifunc-impl-list.
52556 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52557 * string/test-string.h: Include <ifunc-impl-list.h>.
52558 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52559 TEST_NAME]: New variables.
52560 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52561 are defined.
52562 (test_init): Call __libc_ifunc_impl_list to initialize
52563 func_list if TEST_IFUNC and TEST_NAME are defined.
52564
52565 * string/Makefile (strop-tests): Add bcopy and bzero.
52566 * string/test-bcopy.c: New file.
52567 * string/test-bzero.c: Likewise.
52568 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52569 defined.
52570 * string/test-memset.c: Support bzero test if TEST_BZERO is
52571 defined.
52572 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52573 __libc_memmove.
52574 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52575 __libc_memset.
52576 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52577 of memset.
52578
52579 2012-10-10 Joseph Myers <joseph@codesourcery.com>
52580
52581 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52582 * configure: Regenerated.
52583
52584 * Makeconfig (+link-static-before-libc): Don't include
52585 $(link-static-libc).
52586
52587 * libio/libio.h (_IO_pos_t): Remove.
52588
52589 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
52590
52591 * NEWS: Add note about FIPS mode. Wording suggested by Roland
52592 McGrath.
52593
52594 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
52595
52596 * crypt/crypt-entry.c: Include fips-private.h.
52597 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52598 * crypt/md5c-test.c (main): Tolerate disabled MD5.
52599 * sysdeps/unix/sysv/linux/fips-private.h: New file.
52600 * sysdeps/generic/fips-private.h: New file, dummy fallback.
52601
52602 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
52603
52604 * crypt/crypt-private.h: Include stdbool.h.
52605 (_ufc_setup_salt_r): Return bool.
52606 * crypt/crypt-entry.c: Include errno.h.
52607 (__crypt_r): Return NULL with EINVAL for bad salt.
52608 * crypt/crypt_util.c (bad_for_salt): New.
52609 (_ufc_setup_salt_r): Check that salt is long enough and within
52610 the specified alphabet.
52611 * crypt/badsalttest.c: New file.
52612 * crypt/Makefile (tests): Add it.
52613 ($(objpfx)badsalttest): New.
52614
52615 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
52616
52617 * NEWS: Add entry for BZ #14602.
52618
52619 2012-10-09 Joseph Myers <joseph@codesourcery.com>
52620
52621 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52622 type-generic.
52623 * math/libm-test.inc: Update comment listing what functions and
52624 macros are tested.
52625 (isgreater_test): New function.
52626 (isgreaterequal_test): Likewise.
52627 (isless_test): Likewise.
52628 (islessequal_test): Likewise.
52629 (islessgreater_test): Likewise.
52630 (isunordered_test): Likewise.
52631 (main): Call the new functions.
52632
52633 2012-10-09 Roland McGrath <roland@hack.frob.com>
52634
52635 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52636 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52637 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52638 * sysdeps/i386/configure: Regenerated.
52639 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52640 * sysdeps/mach/configure: Regenerated.
52641 * sysdeps/mach/hurd/configure: Regenerated.
52642 * sysdeps/powerpc/configure: Regenerated.
52643 * sysdeps/powerpc/powerpc32/configure: Regenerated.
52644 * sysdeps/powerpc/powerpc64/configure: Regenerated.
52645 * sysdeps/s390/s390-32/configure: Regenerated.
52646 * sysdeps/s390/s390-64/configure: Regenerated.
52647 * sysdeps/sh/configure: Regenerated.
52648 * sysdeps/sparc/configure: Regenerated.
52649 * sysdeps/unix/sysv/linux/configure: Regenerated.
52650 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52651 * sysdeps/x86_64/configure: Regenerated.
52652
52653 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52654 defined. Don't check if MAP is NULL.
52655
52656 2012-10-09 Joseph Myers <joseph@codesourcery.com>
52657
52658 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52659 (_G_stat64): Likewise.
52660 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52661 (_G_stat64): Likewise.
52662 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52663 instead of struct _G_stat64.
52664 * libio/fileops.c (mmap_remap_check): Likewise.
52665 (decide_maybe_mmap): Likewise.
52666 (_IO_new_file_seekoff): Likewise.
52667 (_IO_file_stat): Likewise.
52668 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52669 _G_off64_t.
52670 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52671 instead of struct _G_stat64.
52672 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52673
52674 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
52675
52676 [BZ #14602]
52677 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52678 Replace with ...
52679 (CHECK_EOL): New macro.
52680 (two_way_short_needle): Check beginning of haystack for EOL. Use
52681 CHECK_EOL.
52682 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52683 Replace with CHECK_EOL.
52684 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52685 Replace with CHECK_EOL.
52686
52687 2012-10-08 Joseph Myers <joseph@codesourcery.com>
52688
52689 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52690 type-generic.
52691 * math/libm-test.inc: Update comment listing what functions and
52692 macros are tested.
52693 (finite_test): New function.
52694 (isinf_test): Likewise.
52695 (isnan_test): Likewise.
52696 (fpclassify_test): Test subnormal input.
52697 (isfinite_test): Likewise.
52698 (isnormal_test): Likewise.
52699 (main): Call the new functions.
52700
52701 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
52702
52703 [BZ #14660]
52704 * Makerules (%.dynsym): Force C locale when running
52705 $(OBJDUMP) --dynamic-syms.
52706
52707 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
52708
52709 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52710 <stdint.h>.
52711
52712 2012-10-06 David S. Miller <davem@davemloft.net>
52713
52714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52715 upper 32-bits of the length value in %o2 since we use branch-on-register
52716 tests which consider the entire 64-bit register.
52717
52718 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
52719
52720 * string/test-strstr.c (check2): Add a test for page boundary.
52721
52722 2012-10-05 David S. Miller <davem@davemloft.net>
52723
52724 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52725 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52726 file.
52727 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52728 sysdep_routines.
52729 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52730 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52731 and bzero when HWCAP_SPARC_CRYPTO is present.
52732
52733 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
52734
52735 [BZ #14602]
52736 * string/test-strstr.c (check2): New function.
52737 (test_main): Call check2.
52738
52739 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52740 and bug-strchr1.
52741 * string/bug-strcasestr1.c (do_test): Moved to ...
52742 * string/test-strcasestr.c (check1): Here. New function.
52743 (do_one_test): Break out result checking code into ...
52744 (check_result): This. New function.
52745 (do_one_test): Call check_result.
52746 (test_main): Call check1.
52747 * string/bug-strchr1.c (do_test): Moved to ...
52748 * string/test-strchr.c (check1): Here. New function.
52749 (do_one_test): Break out result checking code into ...
52750 (check_result): This. New function.
52751 (do_one_test): Call check_result.
52752 (test_main): Call check1.
52753 * string/bug-strstr1.c (main): Moved to ...
52754 * string/test-strstr.c (check1): Here. New function.
52755 (do_one_test): Break out result checking code into ...
52756 (check_result): This. New function.
52757 (do_one_test): Call check_result.
52758 (test_main): Call check1.
52759 * string/bug-strcasestr1.c: Removed.
52760 * string/bug-strchr1.c: Likewise.
52761 * string/bug-strstr1.c: Likewise.
52762
52763 * elf/Makefile (dl-routines): Add hwcaps.
52764 * elf/dl-support.c (_dl_important_hwcaps): Removed.
52765 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52766 (_dl_important_hwcaps): Moved to ...
52767 * elf/dl-hwcaps.c: Here. New file.
52768 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52769
52770 [BZ #14557]
52771 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52772 if IS_IN_rtld isn't defined.
52773
52774 * elf/dl-support.c (_dl_sysinfo_map): New.
52775 Include "get-dynamic-info.h" and "setup-vdso.h".
52776 (_dl_non_dynamic_init): Call setup_vdso.
52777 * elf/dynamic-link.h: Don't include <assert.h>.
52778 (elf_get_dynamic_info): Moved to ...
52779 * elf/get-dynamic-info.h: Here. New file.
52780 * elf/dynamic-link.h: Include "get-dynamic-info.h".
52781 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52782 * elf/setup-vdso.h: Here. New file.
52783 * elf/rtld.c: Include "setup-vdso.h".
52784 (dl_main): Call setup_vdso.
52785
52786 2012-10-05 Joseph Myers <joseph@codesourcery.com>
52787
52788 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52789 creal in comment listing functions tested. List finite, isinf,
52790 isnan, isless, islessequal, isgreater, isgreaterequal,
52791 islessgreater, isunordered, lgamma_r and pow10 as functions and
52792 macros not tested. Mention which functions not tested are aliases
52793 for other functions. Fix typo. Note that signs of NaNs are not
52794 tested.
52795
52796 * scripts/config.guess: Update from config.git.
52797 * scripts/config.sub: Likewise.
52798
52799 2012-10-04 Roland McGrath <roland@hack.frob.com>
52800
52801 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52802 * misc/madvise.c (madvise): Renamed to __madvise.
52803 Make madvise a weak alias.
52804 * include/sys/mman.h: Declare __madvise.
52805 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52806 * sysdeps/unix/syscalls.list
52807 (madvise): Make __madvise the strong name, and madvise a weak alias.
52808 * sysdeps/unix/sysv/linux/syscalls.list
52809 (madvise, mmap): Remove redundant entries.
52810 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52811 * malloc/malloc.c (mtrim): Likewise.
52812 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52813
52814 2012-10-03 Roland McGrath <roland@hack.frob.com>
52815
52816 * sysdeps/mach/hurd/dl-cache.c: File removed.
52817 * config.h.in (USE_LDCONFIG): New #undef.
52818 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52819 * configure: Regenerated.
52820 * elf/Makefile (dl-routines): Add dl-cache only under
52821 [$(use-ldconfig) = yes].
52822 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52823 cache on [USE_LDCONFIG].
52824 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52825 [USE_LDCONFIG].
52826 * elf/rtld.c (dl_main): Likewise.
52827
52828 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
52829
52830 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52831 _SC_LEVEL4_CACHE_LINESIZE.
52832
52833 2012-10-03 Roland McGrath <roland@hack.frob.com>
52834
52835 * sysdeps/unix/bsd/confstr.h: File removed.
52836
52837 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
52838
52839 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52840 sys/sdt-config.h.
52841
52842 2012-10-02 Roland McGrath <roland@hack.frob.com>
52843
52844 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52845 Make 'mapoff' field ElfW(Off) rather than off_t.
52846
52847 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
52848
52849 * nscd/Makefile: Remove nscd-cflags and all its users.
52850 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52851 (CFLAGS-nonlib): Add compiler flags for nscd modules.
52852
52853 [BZ #10631]
52854 * malloc.c (malloc_printerr): Clarify error message.
52855
52856 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
52857
52858 [BZ #14648]
52859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52860 Set bit_FMA_Usable if FMA is supported.
52861 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52862 macro.
52863 (bit_FMA4_Usable): Updated.
52864 (index_FMA_Usable): New macro.
52865 (CPUID_FMA): Likewise.
52866 (HAS_FMA): Defined with bit_FMA_Usable.
52867
52868 2012-10-01 Roland McGrath <roland@hack.frob.com>
52869
52870 * bits/types.h (__swblk_t): Type removed.
52871 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52872 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52874 (__SWBLK_T_TYPE): Likewise.
52875 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52876 (__SWBLK_T_TYPE): Likewise.
52877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52878 (__SWBLK_T_TYPE): Likewise.
52879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52880 (__SWBLK_T_TYPE): Likewise.
52881
52882 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
52883 Honza Horak <hhorak@redhat.com>
52884
52885 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52886 (xdr_mapname): Use YPMAXMAP as maxsize.
52887 (xdr_peername): Use YPMAXPEER as maxsize.
52888 (xdr_keydat): Use YPAXRECORD as maxsize.
52889 (xdr_valdat): Use YPMAXRECORD as maxsize.
52890
52891 2012-10-01 Roland McGrath <roland@hack.frob.com>
52892
52893 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52894
52895 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52896 * csu/init-first.c: ... here.
52897 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52898 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52899 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52900 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52901 * sysdeps/i386/init-first.c: File removed.
52902 * sysdeps/sh/init-first.c: File removed.
52903
52904 2012-10-01 Joseph Myers <joseph@codesourcery.com>
52905
52906 [BZ #14645]
52907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52908 if x * y might underflow to zero and z is zero.
52909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52911 * math/libm-test.inc (min_subnorm_value): New variable.
52912 (fma_test): Add more tests.
52913 (fma_test_towardzero): Likewise.
52914 (fma_test_downward): Likewise.
52915 (fma_test_upward): Likewise.
52916 (initialize): Set min_subnorm_value.
52917
52918 2012-09-29 Joseph Myers <joseph@codesourcery.com>
52919
52920 [BZ #14638]
52921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52922 0 + 0.
52923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52924 mode for addition resulting in exact zero.
52925 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52927 exact 0 + 0.
52928 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52930 * math/libm-test.inc (fma_test): Add more tests.
52931 (fma_test_towardzero): New function.
52932 (fma_test_downward): Likewise.
52933 (fma_test_upward): Likewise.
52934 (main): Call the new functions.
52935
52936 2012-09-28 David S. Miller <davem@davemloft.net>
52937
52938 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52939
52940 2012-09-28 Roland McGrath <roland@hack.frob.com>
52941
52942 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52943 instead of SIGALRM.
52944
52945 * sysdeps/gnu/_G_config.h: Moved to ...
52946 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52947 * sysdeps/mach/hurd/_G_config.h: Moved to ...
52948 * sysdeps/generic/_G_config.h: ... here.
52949
52950 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
52951
52952 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52953
52954 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52955 Conditionalize target on [libnss_test1.so-version].
52956
52957 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52958
52959 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52960 (elfobjdir): Move out of conditionals.
52961
52962 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52963 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52964 (__nss_lookup_function): Conditionalize label remove_from_tree on
52965 [!DO_STATIC_NSS || SHARED], matching its only use.
52966
52967 2012-09-28 David S. Miller <davem@davemloft.net>
52968
52969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52970 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52971 file.
52972 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52973 sysdep_routines.
52974 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52976 when HWCAP_SPARC_CRYPTO is present.
52977
52978 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
52979
52980 * io/tst-mknodat.c: Create a FIFO instead of a socket.
52981
52982 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
52983
52984 [BZ #6530]
52985 * stdio-common/vfprintf.c (process_string_arg): Revert
52986 2000-07-22 change.
52987
52988 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
52989
52990 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52991 for testcase.
52992 * stdio-common/tst-sprintf.c: Include <locale.h>
52993 (main): Test sprintf's handling of incomplete multibyte
52994 characters.
52995
52996 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
52997
52998 * elf/dl-runtime.c (VERSYMIDX): Removed.
52999 * elf/dl-version.c (VERSYMIDX): Likewise.
53000 * elf/do-rel.h (VERSYMIDX): Likewise.
53001 (VALIDX): Likewise.
53002 * elf/dynamic-link.h (VERSYMIDX): Likewise.
53003 * elf/rtld.c (VALIDX): Likewise.
53004 (ADDRIDX): Likewise.
53005 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53006 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53007 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53008 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53009 (VALIDX): Likewise.
53010 (ADDRIDX): Likewise.
53011
53012 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53013
53014 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53015
53016 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
53017
53018 [BZ #11438]
53019 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53020 to global scope.
53021 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53022 addresses are in the same scope as 192.0.2/24.
53023 * posix/gai.conf: Document new scope table defaults.
53024
53025 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53026
53027 [BZ #5298]
53028 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53029 for ftell. Compute offsets from write pointers instead.
53030 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53031
53032 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53033
53034 [BZ #14543]
53035 * libio/Makefile (tests): New test case tst-fseek.
53036 * libio/tst-fseek.c: New test case to verify that fseek/ftell
53037 combination works in wide mode.
53038 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53039 state when the external buffer state changes.
53040
53041 2012-09-27 David S. Miller <davem@davemloft.net>
53042
53043 [BZ #14376]
53044 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53045 pass reloc->r_addend in as the 'high' argument to
53046 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53047
53048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53049
53050 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53051
53052 * rt/tst-aio2.c: Include <pthread.h>.
53053 * rt/tst-aio3.c: Likewise.
53054
53055 2012-09-27 Steve Ellcey <sellcey@mips.com>
53056
53057 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53058
53059 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
53060
53061 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53062 contents on [SHARED].
53063
53064 2012-09-26 Marek Polacek <polacek@redhat.com>
53065
53066 [BZ #14530]
53067 [BZ #13741]
53068 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53069 for C++ and GCC <4.3 as well as for non GCC compilers.
53070
53071 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
53072
53073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53074
53075 2012-09-25 Roland McGrath <roland@hack.frob.com>
53076
53077 * Makefile.in (all, install): Declare with .PHONY.
53078 Reported by Michael Hope <michael.hope@linaro.org>.
53079
53080 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53081
53082 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53083 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53084 system header.
53085 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53086 Likewise.
53087 (sydep_routines): Add the new and the internal functions.
53088 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53089 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53091 (GLIBC_2.17): Add the new function.
53092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53093 (GLIBC_2.17): Likewise.
53094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53095 (GLIBC_2.17): Likewise.
53096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53097 (GLIBC_2.17): Likewise.
53098 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53099
53100 2012-09-25 Alan Modra <amodra@gmail.com>
53101
53102 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53103 Add release barrier before setting once_control to say
53104 initialisation is done. Add hints on lwarx. Use macro in
53105 place of isync.
53106 (clear_once_control): Add release barrier.
53107
53108 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53109
53110 [BZ #13629]
53111 * math/s_clog.c (__clog): Handle more values close to |z| = 1
53112 specially.
53113 * math/s_clog10.c (__clog10): Likewise.
53114 * math/s_clog10f.c (__clog10f): Likewise.
53115 * math/s_clog10l.c (__clog10l): Likewise.
53116 * math/s_clogf.c (__clogf): Likewise.
53117 * math/s_clogl.c (__clogl): Likewise.
53118 * math/Makefile (libm-calls): Add x2y2m1.
53119 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53120 (__x2y2m1): Likewise.
53121 (__x2y2m1l): Likewise.
53122 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53123 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53124 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53125 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53126 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53127 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53128 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53129 * sysdeps/i386/fpu/libm-test-ulps: Update.
53130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53131
53132 [BZ #14621]
53133 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53134 int as type of variable DEPTH.
53135 (glob): Use size_t instead of int as type of variables NEWCOUNT
53136 and OLD_PATHC.
53137
53138 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53139
53140 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53141 Add s_sincosf-sse2.
53142 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53143 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53144 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53145 macros for using routine as __sincosf_ia32.
53146 Use macro for function declaration and weak_alias.
53147 * sysdeps/i386/fpu/libm-test-ulps: Update.
53148
53149 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53151
53152 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53153 subnormal argument.
53154 * math/s_cexpf.c (__cexpf): Likewise.
53155 * math/s_csinf.c (__csinf): Likewise.
53156 * math/s_csinhf.c (__csinhf): Likewise.
53157 * math/s_ctanf.c (__ctanf): Likewise.
53158 * math/s_ctanhf.c (__ctanhf): Likewise.
53159 * math/s_ccosh.c (__ccoshf): Likewise.
53160 * math/s_cexp.c (__cexpl): Likewise.
53161 * math/s_csin.c (__csin): Likewise.
53162 * math/s_csinh.c (__csinh): Likewise.
53163 * math/s_ctan.c (__ctan): Likewise.
53164 * math/s_ctanh.c (ctanh): Likewise.
53165 * math/s_ccoshl.c (__ccoshl): Likewise.
53166 * math/s_cexpl.c (__cexpl): Likewise.
53167 * math/s_csinl.c (__csinl): Likewise.
53168 * math/s_csinhl.c (__csinhl): Likewise.
53169 * math/s_ctanl.c (__ctanl): Likewise.
53170 * math/s_ctanhl.c (__ctanhl): Likewise.
53171
53172 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53173
53174 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53175 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53176 (_IO_off_t): Define to __off_t, not _G_off_t.
53177 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53178 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53179 (_IO_wint_t): Define to wint_t, not _G_wint_t.
53180 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53181 type of __dummy and __dummy2 fields.
53182 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53183 (_G_ssize_t): Likewise.
53184 (_G_off_t): Likewise.
53185 (_G_pid_t): Likewise.
53186 (_G_uid_t): Likewise.
53187 (_G_wchar_t): Likewise.
53188 (_G_wint_t): Likewise.
53189 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53190 (_G_ssize_t): Likewise.
53191 (_G_off_t): Likewise.
53192 (_G_pid_t): Likewise.
53193 (_G_uid_t): Likewise.
53194 (_G_wchar_t): Likewise.
53195 (_G_wint_t): Likewise.
53196 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53197 (_G_ssize_t): Likewise.
53198 (_G_off_t): Likewise.
53199 (_G_pid_t): Likewise.
53200 (_G_uid_t): Likewise.
53201 (_G_wchar_t): Likewise.
53202 (_G_wint_t): Likewise.
53203
53204 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53205
53206 * malloc/arena.c: Include malloc-sysdep.h.
53207 (shrink_heap): Use check_may_shrink_heap to decide if madvise
53208 is sufficient to shrink the heap or an unmap is needed.
53209 * sysdeps/generic/malloc-sysdep.h: New file. Define
53210 new function check_may_shrink_heap.
53211 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
53212 new function check_may_shrink_heap.
53213
53214 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53215
53216 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53217 comments.
53218
53219 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
53220
53221 * catgets/test-gencat.sh: Add "set -e".
53222 * elf/tst-pathopt.sh: Likewise.
53223 * grp/tst_fgetgrent.sh: Likewise.
53224 * iconvdata/run-iconv-test.sh: Likewise.
53225 * intl/tst-gettext.sh: Likewise.
53226 * intl/tst-gettext2.sh: Likewise.
53227 * intl/tst-gettext4.sh: Likewise.
53228 * intl/tst-gettext6.sh: Likewise.
53229 * intl/tst-translit.sh: Likewise.
53230 * io/ftwtest-sh: Likewise.
53231 * libio/test-freopen.sh: Likewise.
53232 * malloc/tst-mtrace.sh: Likewise.
53233 * posix/globtest.sh: Likewise.
53234 * posix/tst-getconf.sh: Likewise.
53235 * posix/wordexp-tst.sh: Likewise.
53236 * stdio-common/tst-printf.sh: Likewise.
53237 * stdio-common/tst-unbputc.sh: Likewise.
53238 * stdlib/tst-fmtmsg.sh: Likewise.
53239 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53240 * catgets/Makefile: Do not specify -e option when running
53241 testsuite shell scripts.
53242 * elf/Makefile: Likewise.
53243 * grp/Makefile: Likewise.
53244 * iconvdata/Makefile: Likewise.
53245 * intl/Makefile: Likewise.
53246 * io/Makefile: Likewise.
53247 * libio/Makefile: Likewise.
53248 * malloc/Makefile: Likewise.
53249 * posix/Makefile: Likewise.
53250 * stdio-common/Makefile: Likewise.
53251 * stdlib/Makefile: Likewise.
53252 * sysdeps/x86_64/Makefile: Likewise.
53253
53254 * io/ftwtest-sh: Add copyright header.
53255 * posix/globtest.sh: Likewise.
53256 * posix/tst-getconf.sh: Likewise.
53257 * posix/wordexp-tst.sh: Likewise.
53258 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53259
53260 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
53261
53262 [BZ #13679]
53263 * Makeconfig (+link): Defined as $(+link-static) if
53264 $(build-shared) isn't yes.
53265 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53266 isn't yes.
53267 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53268
53269 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53270
53271 [BZ #14562]
53272 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53273 new chunk size with MALLOC_ALIGN_MASK.
53274
53275 2012-09-24 Joseph Myers <joseph@codesourcery.com>
53276
53277 [BZ #5044]
53278 * stdio-common/printf_fphex.c: Include <stdbool.h> and
53279 <rounding-mode.h>.
53280 (__printf_fphex): Determine rounding using get_rounding_mode and
53281 round_away.
53282 * stdio-common/tst-printf-round.c (struct hex_test): New
53283 structure.
53284 (hex_tests): New variable.
53285 (test_hex_in_one_mode): New function.
53286 (do_test): Also run tests for hex float output.
53287
53288 2012-09-21 Joseph Myers <joseph@codesourcery.com>
53289
53290 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53291 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53292 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53293 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53294 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53295 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53296 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53297 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53298
53299 2012-09-20 Joseph Myers <joseph@codesourcery.com>
53300
53301 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53302 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53303 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53304 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53305
53306 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
53307
53308 [BZ #14579]
53309 * elf/rtld.c (dl_main): Limit the check for self loading to normal
53310 mode only.
53311 * elf/tst-rtld-load-self.sh: New test.
53312 * elf/Makefile: Run it.
53313
53314 2012-09-18 Joseph Myers <joseph@codesourcery.com>
53315
53316 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53317 (tst-writev-ENV): Remove.
53318 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53319
53320 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
53321
53322 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53323
53324 2012-09-17 Joseph Myers <joseph@codesourcery.com>
53325
53326 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53327 unconditional.
53328 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53329 Likewise.
53330 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53331 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53332 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53333 Likewise.
53334
53335 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
53336
53337 [BZ #14587]
53338 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53339 * config.make.in (have-cpp-asm-debuginfo): Removed.
53340 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53341 * configure: Regenerated.
53342
53343 2012-09-14 Joseph Myers <joseph@codesourcery.com>
53344
53345 [BZ #5044]
53346 * stdio-common/printf_fp.c: Include <stdbool.h> and
53347 <rounding-mode.h>.
53348 (___printf_fp): Determine rounding using get_rounding_mode and
53349 round_away.
53350 * stdio-common/tst-printf-round.c: New file.
53351 * stdio-common/Makefile (tests): Add tst-printf-round.
53352 (link-libm): New variable.
53353 ($(objpfx)tst-printf-round): Depend in $(link-libm).
53354
53355 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
53356
53357 [BZ #14576]
53358 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53359 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53360 Likewise.
53361 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53362 Likewise.
53363
53364 2012-09-13 Joseph Myers <joseph@codesourcery.com>
53365
53366 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53367 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53368 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53369 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53370
53371 2012-09-12 Joseph Myers <joseph@codesourcery.com>
53372
53373 [BZ #14518]
53374 * include/rounding-mode.h: New file.
53375 * sysdeps/generic/get-rounding-mode.h: Likewise.
53376 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53377 * stdlib/strtod_l.c: Include <rounding-mode.h>.
53378 (MAX_VALUE): New macro.
53379 (MIN_VALUE): Likewise.
53380 (overflow_value): New function.
53381 (underflow_value): Likewise.
53382 (round_and_return): Use overflow_value and underflow_value to
53383 determine return values in overflow and underflow cases. Use
53384 round_away to determine rounding depending on rounding mode.
53385 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53386 determine return values in overflow and underflow cases.
53387 * stdlib/tst-strtod-round.c: Include <fenv.h>.
53388 (struct test_results): New structure.
53389 (struct test): Use struct test_results to store expected results
53390 for all rounding modes.
53391 (TEST): Include expected results for all rounding modes.
53392 (test_in_one_mode): New function.
53393 (do_test): Use test_in_one_mode to compute and check results.
53394 Check results for all rounding modes.
53395 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53396 $(link-libm).
53397
53398 2012-12-09 Allan McRae <allan@archlinux.org>
53399
53400 * sysdeps/i386/fpu/libm-test-ulps: Update
53401
53402 2012-09-11 Joseph Myers <joseph@codesourcery.com>
53403
53404 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53405 (_G_int32_t): Likewise.
53406 (_G_uint16_t): Likewise.
53407 (_G_uint32_t): Likewise.
53408 (_G_HAVE_BOOL): Likewise.
53409 (_G_HAVE_ATEXIT): Likewise.
53410 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53411 (_G_HAVE_IO_FILE_OPEN): Likewise.
53412 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53413 (_G_int32_t): Likewise.
53414 (_G_uint16_t): Likewise.
53415 (_G_uint32_t): Likewise.
53416 (_G_HAVE_BOOL): Likewise.
53417 (_G_HAVE_ATEXIT): Likewise.
53418 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53419 (_G_HAVE_IO_FILE_OPEN): Likewise.
53420 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53421 (_G_int32_t): Likewise.
53422 (_G_uint16_t): Likewise.
53423 (_G_uint32_t): Likewise.
53424 (_G_HAVE_BOOL): Likewise.
53425 (_G_HAVE_ATEXIT): Likewise.
53426 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53427 (_G_HAVE_IO_FILE_OPEN): Likewise.
53428
53429 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
53430
53431 * csu/libc-tls.c: Update copyright years.
53432
53433 2012-09-10 Joseph Myers <joseph@codesourcery.com>
53434
53435 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53436 [!_G_USING_THUNKS]: Remove conditional code.
53437 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53438 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53439
53440 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53441 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53442 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53443 (_G_VTABLE_LABEL_PREFIX): Likewise.
53444 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53445 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53446 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53447 (_G_VTABLE_LABEL_PREFIX): Likewise.
53448 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53449 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53450 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53451 (_G_VTABLE_LABEL_PREFIX): Likewise.
53452 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53453
53454 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
53455
53456 * libio/Makefile: Include ../Makeconfig before tests.
53457 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53458 only if $(build-shared) is yes.
53459
53460 * iconv/gconv_db.c: Update copyright years.
53461
53462 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53463
53464 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53465 unwind info if defined PIC. Fix special cases description.
53466 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53467
53468 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53469 DP_HI_MASK entry.
53470 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53471
53472 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
53473
53474 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53475
53476 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53477 is NULL.
53478
53479 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53480 (LDLIBS-tst-chk4): This.
53481 (LDFLAGS-tst-chk5): Renamed to ...
53482 (LDLIBS-tst-chk5): This.
53483 (LDFLAGS-tst-chk6): Renamed to ...
53484 (LDLIBS-tst-chk6): This.
53485 (LDFLAGS-tst-lfschk4): Renamed to ...
53486 (LDLIBS-tst-lfschk4): This.
53487 (LDFLAGS-tst-lfschk5): Renamed to ...
53488 (LDLIBS-tst-lfschk5): This.
53489 (LDFLAGS-tst-lfschk6): Renamed to ...
53490 (LDLIBS-tst-lfschk6): This.
53491
53492 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53493 on $(common-objpfx)soversions.mk.
53494
53495 2012-09-07 Joseph Myers <joseph@codesourcery.com>
53496
53497 [BZ #10014]
53498 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53499 example host name.
53500
53501 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
53502
53503 * malloc/arena.c (arena_get_retry): New function that gets
53504 another arena for the caller to try its request on.
53505 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53506 current arena cannot fulfill the request.
53507 (__libc_memalign): Likewise.
53508 (__libc_memalign): Likewise.
53509 (__libc_pvalloc): Likewise.
53510 (__libc_calloc): Likewise.
53511
53512 2012-09-05 John Tobey <john.tobey@gmail.com>
53513
53514 [BZ #13542]
53515 * manual/arith.texi (Operations on Complex): Fix description
53516 of carg branch cut.
53517
53518 2012-09-06 Joseph Myers <joseph@codesourcery.com>
53519
53520 [BZ #10014]
53521 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53522 host name.
53523
53524 [BZ #10038]
53525 * manual/memory.texi (Memory): Make order of menu items match
53526 order of sections.
53527
53528 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
53529
53530 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53531 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
53532 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53533
53534 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
53535
53536 * csu/libc-tls.c (static_dtv): Renamed to ...
53537 (_dl_static_dtv): This. Make it global.
53538 (_dl_initial_dtv): Removed.
53539 (__libc_setup_tls): Updated.
53540 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53541 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53542 DL_INITIAL_DTV.
53543
53544 2012-09-06 Petr Machata <pmachata@redhat.com>
53545
53546 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53547 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53548 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53549 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53550
53551 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
53552
53553 [BZ #14545]
53554 * csu/libc-tls.c (_dl_initial_dtv): New variable.
53555 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53556 freeing dtv[-1].
53557
53558 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
53559
53560 [BZ #14544]
53561 * Makeconfig (link-static-before-libc): Replace $(+prector)
53562 with $(+prectorT).
53563 (link-static-after-libc): Replace $(+postctor) with
53564 $(+postctorT).
53565 (link-bounded): Replace $(+prector)/$(+postctor) with
53566 $(+prectorT)/$(+postctorT).
53567 (+prectorT): New macro.
53568 (+postctorT): Likewise.
53569
53570 2012-09-06 Joseph Myers <joseph@codesourcery.com>
53571
53572 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53573 (round_str): Handle values above the maximum for IBM long double
53574 as inexact.
53575 * stdlib/tst-strtod-round.c (tests): Regenerated.
53576
53577 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53578
53579 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53580 assembler flag.
53581 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53582 zarch_nohighgprs around the zarch optimized routines.
53583 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53584 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53585 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53586 for zarch.
53587
53588 2012-09-05 David S. Miller <davem@davemloft.net>
53589
53590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53591
53592 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53593 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53594 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53595 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53596 entries.
53597
53598 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53599
53600 * malloc/arena.c: Fold copyright years.
53601 * malloc/mcheck.c, malloc/memusage.c: Likewise.
53602
53603 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53604
53605 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53606
53607 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53608
53609 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
53610
53611 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53612
53613 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53614 change internal state upon failure.
53615
53616 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53617
53618 * malloc/mcheck.c (mcheck_check_all): Fix typo.
53619 * malloc/memusage.c (mmap): Likewise.
53620 (mmap64, mremap): Likewise. Adjust name in comment.
53621
53622 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
53623
53624 * libio/fileops.c: Fix typos in comments.
53625 * libio/oldfileops.c: Likewise.
53626 * libio/wfileops.c: Likewise.
53627
53628 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
53629
53630 [BZ #1349]
53631 * malloc/Makefile (tests): Add tst-malloc-usable test case.
53632 (tst-malloc-usable-ENV): Set environment for test case.
53633 * malloc/hooks.c (malloc_check_get_size): New function to get
53634 requested size.
53635 * malloc/malloc.c (musable): Use malloc_check_get_size.
53636 * malloc/tst-malloc-usable.c: New test case.
53637
53638 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
53639
53640 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53641
53642 2012-09-05 Allan McRae <allan@archlinux.org>
53643
53644 [BZ #13966]
53645 * configure.in (CXX_SYSINCLUDES): Use compiler output to
53646 determine header location.
53647 * configure: Regenerated.
53648
53649 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
53650
53651 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53652 float format.
53653 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53654 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53655 format.
53656 (test): Regenerate.
53657
53658 2012-09-04 David S. Miller <davem@davemloft.net>
53659
53660 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53661 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53662 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53663
53664 2012-09-04 Florian Weimer <fweimer@redhat.com>
53665
53666 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53667 failures.
53668
53669 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53670
53671 2012-09-04 Joseph Myers <joseph@codesourcery.com>
53672
53673 [BZ #9914]
53674 * libio/iogetdelim.c: Include <limits.h>.
53675 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53676 + len + 1 would overflow.
53677
53678 2012-09-03 Andreas Jaeger <aj@suse.de>
53679
53680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53681 * sysdeps/i386/fpu/libm-test-ulps: Update.
53682
53683 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53684
53685 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53686 Add s_sinf-sse2, s_conf-sse2.
53687
53688 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53689 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53690 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53691 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53692
53693 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53694 for using routine as __sinf_ia32.
53695 Use macro for function declaration and weak_alias.
53696 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53697 for using routine as __cosf_ia32.
53698 Use macro for function declaration and weak_alias.
53699
53700 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53701 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53702
53703 * sysdeps/x86_64/fpu/s_sinf.S: New file.
53704 * sysdeps/x86_64/fpu/s_cosf.S: New file.
53705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53706
53707 * math/libm-test.inc (cos_test): Add more test cases.
53708 (sin_test): Likewise.
53709 (sincos_test): Likewise.
53710
53711 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53712
53713 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53714 (IFUNC_RESOLVE): Make pointers to the specialized implementations
53715 hidden.
53716 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53717
53718 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
53719
53720 [BZ #14538]
53721 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53722 first element of the GOT.
53723 (elf_machine_load_address): Return the difference between
53724 the runtime address of _DYNAMIC and elf_machine_dynamic ().
53725
53726 2012-09-01 Allan McRae <allan@archlinux.org>
53727
53728 [BZ #13412]
53729 * configure.in (AWK): Require gawk version 3.0 or later.
53730 * configure: Regenerated.
53731
53732 2012-09-01 Joseph Myers <joseph@codesourcery.com>
53733
53734 * sysdeps/unix/sysv/linux/kernel-features.h
53735 (__ASSUME_POSIX_CPU_TIMERS): Remove.
53736 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53737 [__NR_clock_getres]: Make code unconditional.
53738 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53739 (clock_getcpuclockid): Remove code left unreachable by removal of
53740 conditionals.
53741 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53742 code unconditional.
53743 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53744 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53745 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53746 Make code unconditional.
53747 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53748 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53749 * sysdeps/unix/sysv/linux/clock_settime.c
53750 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53751 conditional code.
53752 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53753 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53754
53755 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
53756
53757 [BZ #14476]
53758 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53759 scripts/test-installation.pl.
53760
53761 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53762 and $ld_so_version if it is set.
53763
53764 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53765
53766 [BZ #14516]
53767 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53768 failure if reading from procfs failed.
53769 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53770
53771 2012-08-27 Joseph Myers <joseph@codesourcery.com>
53772
53773 * sysdeps/unix/sysv/linux/kernel-features.h
53774 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53775 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53776 Remove conditional code.
53777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53778 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53779 Remove conditional code.
53780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53781 * sysdeps/unix/sysv/linux/i386/fxstat.c
53782 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53784 * sysdeps/unix/sysv/linux/i386/fxstatat.c
53785 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53786 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53787 * sysdeps/unix/sysv/linux/i386/lxstat.c
53788 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53790 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53791 Remove conditional code.
53792 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53793 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53794 Remove conditional code.
53795 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53796 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53797 <kernel-features.h>.
53798 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53799 Remove.
53800 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53801 Remove conditional code.
53802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53803 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53804 Remove conditional.
53805
53806 2012-08-27 Mike Frysinger <vapier@gentoo.org>
53807
53808 [BZ #5400]
53809 * NEWS: Add fixed bug number.
53810
53811 2012-08-27 Joseph Myers <joseph@codesourcery.com>
53812
53813 [BZ #14519]
53814 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53815 underflowing exponent in case of negative sign.
53816 * stdlib/tst-strtod-round-data: Add more tests.
53817 * stdlib/tst-strtod-round.c (tests): Regenerated.
53818
53819 [BZ #3479]
53820 * stdlib/strtod_l.c (NDIG): Remove.
53821 (HEXNDIG): Likewise.
53822 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53823 smallest representable value.
53824 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53825 lie within an exact representation of 1/2 ulp of the result.
53826 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53827 unconditionally.
53828 (TENS_P9_IDX): Define unconditionally.
53829 (TENS_P9_SIZE): Likewise.
53830 (TENS_P10_IDX): Likewise.
53831 (TENS_P10_SIZE): Likewise.
53832 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53833 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53834 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53835 entries for 10^2^13 and 10^2^14.
53836 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53837 (TENS_P13_IDX): Define.
53838 (TENS_P13_SIZE): Likewise.
53839 (TENS_P14_IDX): Likewise.
53840 (TENS_P14_SIZE): Likewise.
53841 (_fpioconst_pow10): Change array size to
53842 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
53843 unconditional.
53844 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53845 1024]: Add entries for 10^2^13 and 10^2^14.
53846 [LAST_POW10 > _LAST_POW10]: Remove #error.
53847 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53848 (_fpioconst_pow10): Change array size to
53849 FPIOCONST_POW10_ARRAY_SIZE.
53850 * stdlib/gen-fpioconst.c: New file.
53851 * stdlib/gen-tst-strtod-round.c: Likewise.
53852 * stdlib/tst-strtod-round-data: Likewise.
53853 * stdlib/tst-strtod-round.c: Likewise.
53854 * stdlib/Makefile (tests): Add tst-strtod-round.
53855
53856 [BZ #14459]
53857 * stdlib/strtod_l.c: Include <stdint.h>.
53858 (NDEBUG): Do not define.
53859 (round_and_return): Change EXPONENT parameter to type intmax_t.
53860 Rearrange calculations to avoid internal overflow possibilities.
53861 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53862 Rearrange calculations to avoid internal overflow possibilities.
53863 Assert that number fits inside MPNSIZE limbs.
53864 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53865 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
53866 calculations and add assertions to avoid internal overflow
53867 possibilities. Add casts to avoid signed/unsigned operations.
53868 * stdlib/tst-strtod-overflow.c: New file.
53869 * stdlib/Makefile (tests): Add tst-strtod-overflow.
53870
53871 2012-08-25 Marek Polacek <polacek@redhat.com>
53872
53873 * time/time.h: Fix some typos in comments.
53874
53875 2012-08-23 Roland McGrath <roland@hack.frob.com>
53876
53877 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53878 * posix/tst-rfc3484-2.c: Likewise.
53879 * posix/tst-rfc3484-3.c: Likewise.
53880
53881 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
53882
53883 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53884 (EF_ARM_ABI_FLOAT_HARD): Likewise.
53885
53886 2012-08-23 Joseph Myers <joseph@codesourcery.com>
53887
53888 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53889 #include of fxstatat64.c.
53890
53891 2012-08-22 Roland McGrath <roland@hack.frob.com>
53892
53893 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53894 * shadow/getspent_r.c: Likewise.
53895 * shadow/getspnam.c: Likewise.
53896 * shadow/getspnam_r.c: Likewise.
53897 * gshadow/getsgent.c: Likewise.
53898 * gshadow/getsgent_r.c: Likewise.
53899 * gshadow/getsgnam.c: Likewise.
53900 * gshadow/getsgnam_r.c: Likewise.
53901 * inet/getnetbyad.c: Likewise.
53902 * inet/getnetbyad_r.c: Likewise.
53903 * inet/getnetbynm.c: Likewise.
53904 * inet/getnetbynm_r.c: Likewise.
53905 * inet/getnetent.c: Likewise.
53906 * inet/getnetent_r.c: Likewise.
53907 * inet/getproto.c: Likewise.
53908 * inet/getproto_r.c: Likewise.
53909 * inet/getprtent.c: Likewise.
53910 * inet/getprtent_r.c: Likewise.
53911 * inet/getprtname.c: Likewise.
53912 * inet/getprtname_r.c: Likewise.
53913 * inet/getrpcbyname.c: Likewise.
53914 * inet/getrpcbyname_r.c: Likewise.
53915 * inet/getrpcbynumber.c: Likewise.
53916 * inet/getrpcbynumber_r.c: Likewise.
53917 * inet/getrpcent.c: Likewise.
53918 * inet/getrpcent_r.c: Likewise.
53919 * inet/getaliasent.c: Likewise.
53920 * inet/getaliasent_r.c: Likewise.
53921 * inet/getaliasname.c: Likewise.
53922 * inet/getaliasname_r.c: Likewise.
53923 * nscd/getgrgid_r.c: Likewise.
53924 * nscd/getgrnam_r.c: Likewise.
53925 * nscd/gethstbyad_r.c: Likewise.
53926 * nscd/gethstbynm3_r.c: Likewise.
53927 * nscd/getpwnam_r.c: Likewise.
53928 * nscd/getpwuid_r.c: Likewise.
53929 * nscd/getsrvbynm_r.c: Likewise.
53930 * nscd/getsrvbypt_r.c: Likewise.
53931 * nscd/gai.c: Likewise.
53932
53933 * configure.in (build_nscd): New substituted variable, set
53934 by --disable-build-nscd and defaults to $use_nscd.
53935 * configure: Regenerated.
53936 * config.make.in (build-nscd): New substituted variable.
53937 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53938 Change conditional to require [$(build-nscd) = yes] as well.
53939 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53940
53941 [BZ# 13696]
53942 * configure.in (use_nscd): New substituted variable, set by
53943 --disable-nscd. If enabled, define USE_NSCD.
53944 * configure: Regenerated.
53945 * config.h.in: Add USE_NSCD.
53946 * config.make.in (use-nscd): New substituted variable.
53947 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53948 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53949 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53950 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53951 (CFLAGS-getgrnam_r.c): Likewise.
53952 (CFLAGS-initgroups.c): Likewise.
53953 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53954 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53955 Variables removed.
53956 * inet/getnetgrent_r.c
53957 (nscd_setnetgrent): New function, broken out of ...
53958 (setnetgrent): ... here. Call it.
53959 (innetgr): Conditionalize nscd bits on [USE_NSCD].
53960 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53961 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53962 * nscd/Makefile (routines, aux): Move definitions after include of
53963 Makeconfig. Conditionalize on [$(use-nscd) != no].
53964 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53965 Conditionalize on [USE_NSCD].
53966 (is_nscd, nscd_init_cb): Likewise.
53967 (nss_load_library): Conditionalize init callback on [USE_NSCD].
53968 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53969 * nss/nss_db/db-init.c: Likewise.
53970 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53971 [USE_NSCD].
53972 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53973 (make_request): Use it.
53974 (cache_valid_p): New function.
53975 (__check_pf): Use it.
53976 * NEWS: Add item for --disable-nscd.
53977
53978 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
53979
53980 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53981 to support sed >= 4.2.1-20-ga9bf076.
53982 * configure: Regenerated.
53983
53984 2012-08-22 Roland McGrath <roland@hack.frob.com>
53985
53986 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53987 Conditionalize whole body on [IREL].
53988
53989 2012-08-22 Jeff Law <law@redhat.com>
53990
53991 [BZ #14505]
53992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53993 if the family is PF_UNSPEC.
53994
53995 2012-08-22 Mike Frysinger <vapier@gentoo.org>
53996
53997 * Makerules (lib-version): Rename from V.
53998 (install-lib-nosubdir): Change V to lib-version.
53999
54000 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
54001
54002 [BZ #14252]
54003 * powerpc32/power6/wcschr.c: New file.
54004 * powerpc32/power6/wcscpy.c: New file.
54005 * powerpc32/power6/wcsrchr.c: New file.
54006 * powerpc64/power6/wcschr.c: New file.
54007 * powerpc64/power6/wcscpy.c: New file.
54008 * powerpc64/power6/wcsrchr.c: New file.
54009
54010 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
54011
54012 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54013 (two_way_short_needle): Use it.
54014 * string/strstr.c (AVAILABLE1_USES_J): Define.
54015 * string/strcasestr.c: Likewise.
54016
54017 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54018 array references.
54019 * string/strcasestr.c (TOLOWER): Make side-effect safe.
54020
54021 [BZ #11607]
54022 * NEWS: Add an entry.
54023 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54024 define their defaults.
54025 (two_way_short_needle): Detect end-of-string on-the-fly.
54026 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54027 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54028 * string/bug-strcasestr1.c: New test.
54029 * string/Makefile: Run it.
54030
54031 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
54032
54033 [BZ #11607]
54034 * string/str-two-way.h (two_way_short_needle): Optimize matching of
54035 the first character.
54036
54037 2012-08-21 Roland McGrath <roland@hack.frob.com>
54038
54039 * csu/elf-init.c (__libc_csu_irel): Function removed.
54040 * csu/libc-start.c (apply_irel): New function.
54041 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54042
54043 2012-08-21 Joseph Myers <joseph@codesourcery.com>
54044
54045 * sysdeps/unix/sysv/linux/kernel-features.h
54046 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54047 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54048 <kernel-features.h>.
54049 [__NR_fadvise64_64]: Make code unconditional.
54050 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54051 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54052 !__NR_fadvise64_64)]: Likewise.
54053 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54054 !__NR_fadvise64_64))]: Likewise.
54055 [__NR_fadvise64]: Make code unconditional.
54056 [!__NR_fadvise64]: Remove conditional code.
54057 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54058 <kernel-features.h>.
54059 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54060 unconditional.
54061 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54062 conditional code.
54063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54064 not include <kernel-features.h>.
54065 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54066 unconditional.
54067 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54068 conditional code.
54069 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54070 include <kernel-features.h>.
54071 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54072 unconditional.
54073 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54074 conditional code.
54075
54076 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54077
54078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54079 slight instruction rearrangements per scrollpipe analysis.
54080 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54081
54082 2012-08-20 Roland McGrath <roland@hack.frob.com>
54083
54084 * manual/syslog.texi (syslog; vsyslog, closelog):
54085 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54086 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54087
54088 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54089 DSOCAPS to match condition on defining it.
54090
54091 2012-08-20 Joseph Myers <joseph@codesourcery.com>
54092
54093 * sysdeps/unix/sysv/linux/kernel-features.h
54094 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54096 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54097 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54099 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54100 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54102 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54103 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54104
54105 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54106 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54107
54108 * sysdeps/unix/sysv/linux/kernel-features.h
54109 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54110 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54111 unconditional.
54112 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54113 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54114 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54115 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54116 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54117 Make code unconditional.
54118 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54119 (__mmap64) [!__NR_mmap2]: Likewise.
54120 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54121 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54122 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54123 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54124 [__NR_mmap2]: Make code unconditional.
54125 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54126 (__mmap64) [!__NR_mmap2]: Likewise.
54127
54128 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54129
54130 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54131
54132 2012-08-18 Andreas Jaeger <aj@suse.de>
54133
54134 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54135
54136 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54137
54138 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54139 * include/unistd.h (__have_sock_cloexec): Likewise.
54140 (__have_pipe2): Likewise.
54141 (__have_dup3): Likewise.
54142
54143 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54144
54145 [BZ #9685]
54146 * include/unistd.h (__have_pipe2): Change define into an extern int.
54147 (__have_dup3): Likewise.
54148 * socket/have_sock_cloexec.c: Include fcntl.h.
54149 (__have_pipe2): New variable.
54150 (__have_dup3): Likewise.
54151
54152 2012-08-17 Mike Frysinger <vapier@gentoo.org>
54153
54154 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54155
54156 2012-08-17 Marek Polacek <polacek@redhat.com>
54157
54158 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54159 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54160
54161 2012-08-17 Roland McGrath <roland@hack.frob.com>
54162
54163 * configure.in: Add AC_SUBST for sysheaders.
54164 * configure: Regenerated.
54165 * config.make.in (sysheaders): New substituted variable.
54166
54167 * sysdeps/unix/mkfifo.c: Moved ...
54168 * sysdeps/posix/mkfifo.c: ... here.
54169 * sysdeps/unix/mkfifoat.c: Moved ...
54170 * sysdeps/posix/mkfifoat.c: ... here.
54171
54172 * sysdeps/unix/utime.c: Moved ...
54173 * sysdeps/posix/utime.c: ... here.
54174
54175 * sysdeps/unix/time.c: Moved ...
54176 * sysdeps/posix/time.c: ... here.
54177 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54178 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54179
54180 * sysdeps/unix/nice.c: Moved ...
54181 * sysdeps/posix/nice.c: ... here.
54182
54183 * sysdeps/unix/alarm.c: Moved ...
54184 * sysdeps/posix/alarm.c: ... here.
54185
54186 * intl/Makefile ($(codeset_mo)): Depend on the input file.
54187
54188 2012-08-17 Jeff Law <law@redhat.com>
54189
54190 * intl/Makefile (codeset_mo): New variable.
54191 ($(codeset_mo)): New target.
54192 (tst-codeset.out): Depend on that. Remove explicit rule.
54193 (tst-gettext3.out, tst-gettext5.out): Likewise.
54194 (LOCPATH-ENV, tst-codeset-ENV): New variables.
54195 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54196 * intl/tst-codeset.sh: Remove.
54197 * intl/tst-gettext3.sh: Likewise.
54198 * intl/tst-gettext5.sh: Likewise.
54199
54200 2012-08-17 Roland McGrath <roland@hack.frob.com>
54201
54202 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
54203 * sysdeps/unix/syscalls.list: ... here.
54204
54205 * sysdeps/posix/getaddrinfo.c
54206 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54207 (gaiconf_init, gaiconf_reload): Use them.
54208 [!_STATBUF_ST_NSEC]
54209 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54210 Define using time_t rather than struct timespec.
54211
54212 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54213 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54214 Macros removed.
54215 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54216 [!NO_THREADS].
54217 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54218 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54219 Likewise.
54220
54221 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54222 __libc_cleanup_push argument.
54223
54224 * bits/param.h: New file.
54225 * misc/sys/param.h: New file.
54226 * include/sys/param.h: New file.
54227 * misc/Makefile (headers): Add bits/param.h.
54228 * sysdeps/generic/sys/param.h: File removed.
54229 * sysdeps/unix/sysv/linux/bits/param.h: New file.
54230 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54231 * sysdeps/mach/hurd/bits/param.h: New file.
54232 * sysdeps/mach/hurd/sys/param.h: File removed.
54233
54234 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54235 last change.
54236
54237 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54238 [_IO_MTSAFE_IO].
54239 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54240 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54241 New macros.
54242
54243 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54244 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54245 rather than -D_IO_MTSAFE_IO conditionally.
54246 * stdio-common/Makefile (CPPFLAGS): Likewise.
54247 * wcsmbs/Makefile (CPPFLAGS): Likewise.
54248 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54249 Use $(libio-mtsafe).
54250 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54251 of -D_IO_MTSAFE_IO.
54252 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54253 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54254 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54255 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54256 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54257 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54258 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54259 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54260 (CFLAGS-fread_u_chk.c): Likewise.
54261 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54262 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54263 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54264 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54265 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54266 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54267 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54268 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54269 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54270
54271 * libio/Makefile: Test [$(libc-reentrant) = yes]
54272 instead of [$(filter %REENTRANT, $(defines)) nonempty].
54273
54274 * Makeconfig
54275 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54276 * sysdeps/pthread/configure: File removed.
54277 * sysdeps/pthread/Makeconfig: New file.
54278 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54279 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54280
54281 2012-08-16 Gary Benson <gbenson@redhat.com>
54282
54283 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54284 unmapping the first object in a namespace.
54285
54286 2012-08-16 Roland McGrath <roland@hack.frob.com>
54287
54288 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54289 (__internal_setnetgrent): ... this. Add internal_function to
54290 definition. Add libc_hidden_def.
54291 (setnetgrent): Update caller.
54292 (internal_endnetgrent): Renamed to ...
54293 (__internal_endnetgrent): ... this. Add internal_function to
54294 definition. Add libc_hidden_def.
54295 (endnetgrent): Update caller.
54296 (internal_getnetgrent_r): Renamed to ...
54297 (__internal_getnetgrent_r): ... this. Add internal_function to
54298 definition. Add libc_hidden_def.
54299 (__getnetgrent_r): Update caller.
54300 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
54301
54302 2012-08-16 Joseph Myers <joseph@codesourcery.com>
54303
54304 * stdlib/longlong.h: Update from GCC.
54305
54306 2012-08-16 Roland McGrath <roland@hack.frob.com>
54307
54308 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54309 on _QL, which is set by umul_ppmm but never used.
54310 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54311 variables, which are set by GMP macros but never used.
54312 * stdio-common/_itowa.c (_itowa): Likewise.
54313 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54314 * stdlib/mod_1.c (mpn_mod_1): Likewise.
54315
54316 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
54317
54318 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54319 struct La_sh_regs is not constant.
54320 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54321 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54322 and struct La_sparc64_regs are not constant.
54323
54324 2012-08-16 Joseph Myers <joseph@codesourcery.com>
54325
54326 * sysdeps/unix/sysv/linux/kernel-features.h
54327 (__ASSUME_POSIX_TIMERS): Remove.
54328 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54329 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54330 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54331 Make code unconditional.
54332 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54333 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54334 Make code unconditional.
54335 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54336 * sysdeps/unix/sysv/linux/clock_nanosleep.c
54337 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54338 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54339 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54340 Make code unconditional.
54341 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54342 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54343 (__libc_missing_posix_timers): Remove.
54344
54345 2012-08-15 Roland McGrath <roland@hack.frob.com>
54346
54347 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54348 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54349
54350 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54351
54352 * elf/dl-sym.c: Include <stdlib.h>.
54353
54354 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54355 constants, which avoids warnings in 32-bit builds.
54356
54357 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54358 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54359
54360 * misc/lseek.c: File moved to ...
54361 * io/lseek.c: ... here.
54362
54363 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54364
54365 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54366 shifting LEN more than 31 bits at once.
54367
54368 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54369
54370 [BZ #14195]
54371 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54372 segmentation fault for a case of two empty input strings.
54373 * string/test-strncasecmp.c (check1): Renamed to...
54374 (bz12205): ...this.
54375 (bz14195): Add new testcase for two empty input strings and N > 0.
54376 (test_main): Call new testcase, adapt for renamed function.
54377
54378 2012-08-15 Andreas Jaeger <aj@suse.de>
54379
54380 [BZ #14090]
54381 * crypt/md5test2.c: New test, based on test supplied by Serge
54382 Belyshev <belyshev@depni.sinp.msu.ru>.
54383 * crypt/Makefile (xtests): Add md5test-giant..
54384 * crypt/Makefile ($(objpfx)md5test-giant): Add.
54385
54386 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
54387
54388 [BZ #14090]
54389 * crypt/md5.c (md5_process_block): Don't assume the buffer
54390 length is less than 2**32.
54391 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54392 length is less than 2**64.
54393
54394 2012-08-15 Roland McGrath <roland@hack.frob.com>
54395
54396 * string/str-two-way.h: Include <sys/param.h>.
54397 (MAX): Macro removed.
54398
54399 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54400 Move #define and #undef of memmove to just before and after
54401 including <string.h>.
54402
54403 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54404 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54405 and after including <string.h>. Move declarations of
54406 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54407 to before #include "string/memmove.c".
54408
54409 * include/dirent.h: Declare __getdirentries.
54410
54411 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54412 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54413
54414 2012-08-14 Mike Frysinger <vapier@gentoo.org>
54415
54416 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54417 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54418 * sysdeps/i386/configure: Regenerated.
54419 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54420 STABS_CURRENT_FILE, and STABS_FUN.
54421 (END): Remove call to STABS_FUN_END.
54422 (STABS_CURRENT_FILE1): Delete.
54423 (STABS_CURRENT_FILE): Likewise.
54424 (STABS_FUN): Likewise.
54425 (STABS_FUN_END): Likewise.
54426 (STABS_FUN2): Likewise.
54427 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54428 * sysdeps/x86_64/configure: Regenerated.
54429
54430 2012-08-14 Roland McGrath <roland@hack.frob.com>
54431
54432 * elf/dl-open.c: Include <atomic.h>.
54433 * elf/dl-lookup.c: Likewise.
54434
54435 2012-08-14 Joseph Myers <joseph@codesourcery.com>
54436
54437 * sysdeps/unix/sysv/linux/kernel-features.h
54438 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54439 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54440 unconditionally.
54441 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54442 unconditionally.
54443 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54444 condition on __ASSUME_CLONE_THREAD_FLAGS.
54445
54446 2012-08-14 Andreas Jaeger <aj@suse.de>
54447
54448 * sysdeps/i386/fpu/libm-test-ulps: Update.
54449
54450 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
54451
54452 * include/atomic.h (atomic_exchange_and_add): Split into ...
54453 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54454 New atomic macros.
54455
54456 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
54457
54458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54459
54460 2012-08-13 Jeff Law <law@redhat.com>
54461
54462 * manual/stdio.texi (snprintf): Clarify handling of the trailing
54463 null byte in the output string.
54464
54465 2012-08-10 Joseph Myers <joseph@codesourcery.com>
54466
54467 * sysdeps/unix/sysv/linux/kernel-features.h
54468 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54469 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54470 (__ASSUME_ARG_MAX_STACK_BASED): Define.
54471 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54472 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54473 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
54474 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54475
54476 2012-08-09 Jeff Law <law@redhat.com>
54477
54478 [BZ #13939]
54479 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54480 When avoid_arena is set, don't retry in the that arena. Pick the
54481 next one, whatever it might be.
54482 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54483 (arena_lock): Pass in new parameter to arena_get2.
54484 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54485 arena_get2.
54486 (__libc_malloc): Unify retrying after main arena failure with
54487 __libc_memalign version.
54488 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54489
54490 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
54491
54492 [BZ #14166]
54493 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54494 to __redirect_strstr.
54495 (__strstr_sse42): Use typeof __redirect_strstr.
54496 (__strstr_ia32): Likewise.
54497 (__libc_strstr): New prototype.
54498 (strstr): Renamed to ...
54499 (__libc_strstr): This.
54500 (strstr): New strong alias of __libc_strstr.
54501 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54502 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54503 __redirect_time.
54504 Include <time.h>.
54505 (__libc_time): New prototype.
54506 (time_ifunc): Replace time with __libc_time.
54507 (time): New strong alias and hidden definition of __libc_time.
54508 (__GI_time): Remove strong alias.
54509 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54510 Include <stddef.h>.
54511 (memmove): Redefined to __redirect_memmove.
54512 (__memmove_sse2): Use typeof __redirect_memmove.
54513 (__memmove_ssse3): Likewise.
54514 (__memmove_ssse3_back): Likewise.
54515 (__libc_memmove): New prototype.
54516 (memmove): Renamed to ...
54517 (__libc_memmove): This.
54518 (memmove): New strong alias of __libc_memmove.
54519
54520 2012-08-08 Mark Salter <msalter@redhat.com>
54521
54522 * elf/elf.h
54523 (R_MN10300_TLS_GD): Define.
54524 (R_MN10300_TLS_LD): Likewise.
54525 (R_MN10300_TLS_LDO): Likewise.
54526 (R_MN10300_TLS_GOTIE): Likewise.
54527 (R_MN10300_TLS_IE): Likewise.
54528 (R_MN10300_TLS_LE): Likewise.
54529 (R_MN10300_TLS_DTPMOD): Likewise.
54530 (R_MN10300_TLS_DTPOFF): Likewise.
54531 (R_MN10300_TLS_TPOFF): Likewise.
54532 (R_MN10300_SYM_DIFF): Likewise.
54533 (R_MN10300_ALIGN): Likewise.
54534 (R_MN10300_NUM): Update.
54535
54536 2012-08-08 Joseph Myers <joseph@codesourcery.com>
54537
54538 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54539 Remove.
54540
54541 2012-08-08 Roland McGrath <roland@hack.frob.com>
54542
54543 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54544
54545 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54546 sysdeps/unix -> sysdeps/posix move.
54547 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54548
54549 2012-08-07 Allan McRae <allan@archlinux.org>
54550
54551 [BZ #14303]
54552 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54553 (SUNOS_CPP): Likewise.
54554 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54555 not found.
54556 (open_input): Call CPP using execvp.
54557
54558 2012-08-07 Joseph Myers <joseph@codesourcery.com>
54559
54560 * sysdeps/unix/sysv/linux/kernel-features.h
54561 (__ASSUME_PROT_GROWSUPDOWN): Remove.
54562 (__ASSUME_NO_CLONE_DETACHED): Likewise.
54563 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54564 (__ASSUME_WAITID_SYSCALL): Likewise.
54565 * sysdeps/unix/sysv/linux/dl-execstack.c
54566 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54567 code unconditional.
54568 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54569 conditional code.
54570 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54571 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54572 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54573 code.
54574 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54575 unconditional.
54576 [__ASSUME_WAITID_SYSCALL]: Likewise.
54577 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54578
54579 2012-08-07 Roland McGrath <roland@hack.frob.com>
54580
54581 * sysdeps/unix/closedir.c: Renamed to ...
54582 * sysdeps/posix/closedir.c: ... here.
54583 * sysdeps/unix/dirfd.c: Renamed to ...
54584 * sysdeps/posix/dirfd.c: ... here.
54585 * sysdeps/unix/dirstream.h: Renamed to ...
54586 * sysdeps/posix/dirstream.h: ... here.
54587 * sysdeps/unix/fdopendir.c: Renamed to ...
54588 * sysdeps/posix/fdopendir.c: ... here.
54589 * sysdeps/unix/opendir.c: Renamed to ...
54590 * sysdeps/posix/opendir.c: ... here.
54591 * sysdeps/unix/readdir.c: Renamed to ...
54592 * sysdeps/posix/readdir.c: ... here.
54593 * sysdeps/unix/readdir_r.c: Renamed to ...
54594 * sysdeps/posix/readdir_r.c: ... here.
54595 * sysdeps/unix/rewinddir.c: Renamed to ...
54596 * sysdeps/posix/rewinddir.c: ... here.
54597 * sysdeps/unix/seekdir.c: Renamed to ...
54598 * sysdeps/posix/seekdir.c: ... here.
54599 * sysdeps/unix/telldir.c: Renamed to ...
54600 * sysdeps/posix/telldir.c: ... here.
54601 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54602 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54603 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54604 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54605
54606 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54607 * bits/fcntl.h: ... here.
54608
54609 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54610 not 0.
54611 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54612 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54613 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54614 (struct flock): Move l_start, l_len to the beginning.
54615 Use __pid_t for l_pid.
54616 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54617 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54618 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54619 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54620 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54621 [__USE_LARGEFILE64] (struct flock64): New type.
54622 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54623
54624 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54625 * bits/dirent.h: ... here.
54626
54627 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54628 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54629
54630 2012-08-07 Joseph Myers <joseph@codesourcery.com>
54631
54632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54633 Change from 2.6.0 to 2.6.16.
54634 * sysdeps/unix/sysv/linux/configure: Regenerated.
54635 * sysdeps/unix/sysv/linux/kernel-features.h
54636 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54637 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54638 version.
54639 (__ASSUME_UTIMES): Likewise.
54640 (__ASSUME_CLONE_STOPPED): Remove.
54641 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54642 architectures, not kernel version.
54643 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54644 (__ASSUME_NO_CLONE_DETACHED): Likewise.
54645 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54646 (__ASSUME_WAITID_SYSCALL): Likewise.
54647 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54648 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54649 * README: State 2.6.16 as minimum Linux kernel version. Do not
54650 refer to older versions.
54651
54652 2012-08-06 Roland McGrath <roland@hack.frob.com>
54653
54654 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54655 Define alphasort64 as an alias.
54656 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54657 Define versionsort64 as an alias.
54658 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54659 Define scandir64 as an alias.
54660 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54661 Define scandirat64 as an alias.
54662 * dirent/alphasort64.c (alphasort64):
54663 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54664 * dirent/versionsort64.c: Likewise.
54665 * dirent/scandir64.c: Likewise.
54666 * dirent/scandirat64.c: Likewise.
54667 * sysdeps/wordsize-64/alphasort.c: File removed.
54668 * sysdeps/wordsize-64/alphasort64.c: File removed.
54669 * sysdeps/wordsize-64/scandir.c: File removed.
54670 * sysdeps/wordsize-64/scandir64.c: File removed.
54671 * sysdeps/wordsize-64/scandirat.c: File removed.
54672 * sysdeps/wordsize-64/scandirat64.c: File removed.
54673 * sysdeps/wordsize-64/versionsort.c: File removed.
54674 * sysdeps/wordsize-64/versionsort64.c: File removed.
54675 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54676 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54677 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54678 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54679 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54680 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54681 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54682 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54683
54684 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54685 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54686 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54688 [defined __arch64__ || defined __sparcv9]
54689 (__INO_T_MATCHES_INO64_T): New macro.
54690 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54691 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54692 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54693 * sysdeps/unix/sysv/linux/bits/dirent.h
54694 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54695 (_DIRENT_MATCHES_DIRENT64): New macro.
54696
54697 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54698 Define lockf64 as an alias.
54699 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54700 Define fseeko64 as an alias.
54701 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54702 Define ftello64 as an alias.
54703 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54704 Define _IO_fgetpos64 and fgetpos64 as aliases.
54705 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54706 Define _IO_fsetpos64 and fsetpos64 as aliases.
54707 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54708 Conditionalize body on this.
54709 * libio/fseeko64.c: Likewise.
54710 * libio/ftello64.c: Likewise.
54711 * libio/iofgetpos64.c: Likewise.
54712 * libio/iofsetpos64.c: Likewise.
54713 * sysdeps/wordsize-64/lockf.c: File removed.
54714 * sysdeps/wordsize-64/lockf64.c: File removed.
54715 * sysdeps/wordsize-64/fseeko.c: File removed.
54716 * sysdeps/wordsize-64/fseeko64.c: File removed.
54717 * sysdeps/wordsize-64/ftello.c: File removed.
54718 * sysdeps/wordsize-64/ftello64.c: File removed.
54719 * sysdeps/wordsize-64/iofgetpos.c: File removed.
54720 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54721 * sysdeps/wordsize-64/iofsetpos.c: File removed.
54722 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54723 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54724 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54725 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54726 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54727 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54728 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54729 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54730 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54731 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54732 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54733
54734 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54736 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54738 [defined __arch64__ || defined __sparcv9]
54739 (__OFF_T_MATCHES_OFF64_T): New macro.
54740 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54741 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54743 (__OFF_T_MATCHES_OFF64_T): New macro.
54744
54745 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
54746
54747 * stdlib/secure-getenv.c (__secure_getenv): Replace
54748 GLIBC_2_16 with GLIBC_2_17.
54749
54750 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
54751
54752 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54753 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54754
54755 2012-08-03 David S. Miller <davem@davemloft.net>
54756
54757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54758
54759 2012-08-03 Joseph Myers <joseph@codesourcery.com>
54760
54761 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54762 Remove.
54763 (__ASSUME_CORRECT_SI_PID): Likewise.
54764 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54765 (__ASSUME_TMPFS_NAME): Likewise.
54766 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54767 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54768 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54769 (HAVE_AUX_SECURE): Make definition unconditional.
54770 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54771 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54772
54773 2012-08-03 Roland McGrath <roland@hack.frob.com>
54774
54775 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54776 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54777 * sysdeps/mach/hurd/eloop-threshold.h: New file.
54778 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54779 __eloop_threshold instead of SYMLOOP_MAX.
54780
54781 * sysdeps/generic/eloop-threshold.h: New file.
54782 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54783 of MAXSYMLINKS.
54784 * elf/chroot_canon.c (chroot_canon): Likewise.
54785
54786 2012-08-03 Joseph Myers <joseph@codesourcery.com>
54787
54788 [BZ #13717]
54789 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54790 Change to 2.6.0 everywhere.
54791 * sysdeps/unix/sysv/linux/configure: Regenerated.
54792 * sysdeps/unix/sysv/linux/kernel-features.h
54793 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54794 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54795 kernel versions.
54796 (__ASSUME_POSIX_TIMERS): Define unconditionally.
54797 (__ASSUME_FUTEX_REQUEUE): Remove.
54798 (__ASSUME_STATFS64): Define unconditionally.
54799 (__ASSUME_AT_SECURE): Likewise.
54800 (__ASSUME_CORRECT_SI_PID): Likewise.
54801 (__ASSUME_TGKILL): Define without depending on kernel version for
54802 i386.
54803 (__ASSUME_UTIMES): Likewise.
54804 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54805 kernel version.
54806 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54807 (__ASSUME_TMPFS_NAME): Likewise.
54808 * README: Update reference to Linux kernel versions.
54809
54810 2012-08-02 Marek Polacek <polacek@redhat.com>
54811
54812 [BZ# 14150]
54813 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
54814 libc_cv_asm_type_prefix with %.
54815 * configure: Regenerated.
54816 * include/libc-symbols.h: Remove comment about
54817 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54818 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54819 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54820 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54821 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54822 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54823 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54824 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54825 * elf/tst-unique2mod1.c: Likewise.
54826 * elf/tst-unique1mod2.c: Likewise.
54827 * elf/tst-unique1mod1.c: Likewise.
54828 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54829 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54830 Replace ASM_TYPE_DIRECTIVE with .type.
54831 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54832 * sysdeps/i386/sysdep.h: Likewise.
54833 * sysdeps/x86_64/sysdep.h: Likewise.
54834 * sysdeps/sh/sysdep.h: Likewise.
54835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54836 Do not define ASM_TYPE_DIRECTIVE.
54837 * sysdeps/powerpc/sysdep.h: Likewise.
54838 * sysdeps/powerpc/powerpc32/sysdep.h:
54839 Replace ASM_TYPE_DIRECTIVE with .type.
54840 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54841 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54842 * sysdeps/i386/fpu/e_powf.S: Likewise.
54843 * sysdeps/i386/fpu/e_expl.S: Likewise.
54844 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54845 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54846 * sysdeps/i386/fpu/e_pow.S: Likewise.
54847 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54848 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54849 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54850 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54851 * sysdeps/i386/fpu/e_log2.S: Likewise.
54852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54853 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54854 * sysdeps/i386/fpu/e_powl.S: Likewise.
54855 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54856 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54857 * sysdeps/i386/fpu/e_logl.S: Likewise.
54858 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54859 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54860 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54861 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54862 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54863 * sysdeps/i386/fpu/e_log.S: Likewise.
54864 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54865 * sysdeps/i386/fpu/e_logf.S: Likewise.
54866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54868 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54869 * sysdeps/i386/fpu/e_log10.S: Likewise.
54870 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54871 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54872 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54873 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54874 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54875 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54876 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54877 * sysdeps/i386/i686/strtok.S: Likewise.
54878 * sysdeps/i386/i386-mcount.S: Likewise.
54879 * sysdeps/i386/strtok.S: Likewise.
54880 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54881 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54882 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54883 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54884 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54885 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54886 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54887 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54888 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54889 * sysdeps/x86_64/_mcount.S: Likewise.
54890 * sysdeps/x86_64/strtok.S: Likewise.
54891 * sysdeps/sh/_mcount.S: Likewise.
54892
54893 2012-08-01 Roland McGrath <roland@hack.frob.com>
54894
54895 * libio/iofopen.c: Include <fcntl.h>.
54896 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54897 (_IO_fopen64, fopen64): Define as aliases.
54898 * libio/iofopen64.c: Include <fcntl.h>.
54899 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54900 Conditionalize body on this.
54901 * sysdeps/wordsize-64/iofopen.c: File removed.
54902 * sysdeps/wordsize-64/iofopen64.c: File removed.
54903
54904 2012-08-01 Marek Polacek <polacek@redhat.com>
54905
54906 * libc/Makeconfig: Use elf in place of binfmt-subdir.
54907 Use dlfcn directly instead of a variable.
54908 (binfmt-subdir): Do not define.
54909 (dlfcn): Likewise.
54910
54911 2012-08-01 Joseph Myers <joseph@codesourcery.com>
54912
54913 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54914 Remove all definitions.
54915 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54916 <kernel-features.h>.
54917 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54918 (miss_F_GETOWN_EX): Remove all definitions.
54919 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54920 macro definition.
54921 [!__ASSUME_FCNTL64]: Remove conditional code.
54922 [__ASSUME_FCNTL64]: Make code unconditional.
54923 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54924 <kernel-features.h>.
54925 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54926 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54927 (lockf64) [__NR_fcntl64]: Make code unconditional.
54928 (lockf64) [__ASSUME_FCNTL64]: Likewise.
54929
54930 * sysdeps/unix/sysv/linux/kernel-features.h
54931 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54932 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54933 Make code unconditional.
54934 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54935 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54937 [__NR_vfork]: Make code unconditional.
54938 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54939 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54941 [__NR_vfork]: Make code unconditional.
54942 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54943 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54944
54945 2012-08-01 Roland McGrath <roland@hack.frob.com>
54946
54947 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54948 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54949
54950 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54951 Define mkstemp64 as an alias.
54952 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54953 Define mkstemps64 as an alias.
54954 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54955 Define mkostemp64 as an alias.
54956 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54957 Define mkostemps64 as an alias.
54958 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54959 Conditionalize body on this.
54960 * misc/mkostemp64.c: Likewise.
54961 * misc/mkostemps64.c: Likewise.
54962 * misc/mkstemps64.c: Likewise.
54963 * sysdeps/wordsize-64/mkstemp64.c: File removed.
54964 * sysdeps/wordsize-64/mkostemp64.c: File removed.
54965 * sysdeps/wordsize-64/mkostemp.c: File removed.
54966 * sysdeps/wordsize-64/mkstemp.c: File removed.
54967 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54968 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54969 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54970 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54971
54972 [BZ #14138]
54973 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54974 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54975 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54976 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54977
54978 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54979 compat_symbol macros from <shlib-compat.h> rather than the underlying
54980 default_symbol_version and symbol_version macros, so that DEFAULT
54981 lines in shlib-versions are respected.
54982 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54983
54984 2012-08-01 Florian Weimer <fweimer@redhat.com>
54985
54986 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54987 Declare with warn_unused_result.
54988 (setgid, setregid, setegid, setresgid): Likewise.
54989 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54990 Likewise.
54991 * WUR-REPORT: Remove set*id functions.
54992
54993 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
54994
54995 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54996
54997 2012-07-31 Roland McGrath <roland@hack.frob.com>
54998
54999 [BZ #10191]
55000 * include/sys/socket.h (__libc_accept, __libc_accept4):
55001 Add attribute_hidden.
55002 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55003
55004 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55005 use of PTR_MANGLE.
55006 * inet/getnetgrent_r.c (setup): Likewise.
55007
55008 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55009
55010 2012-07-31 David S. Miller <davem@davemloft.net>
55011
55012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55013
55014 2012-07-31 Joseph Myers <joseph@codesourcery.com>
55015
55016 [BZ #13629]
55017 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55018 value between 1.0 and 2.0 and smaller part has absolute value less
55019 than 1.0.
55020 * math/s_clog10.c (__clog10): Likewise.
55021 * math/s_clog10f.c (__clog10f): Likewise.
55022 * math/s_clog10l.c (__clog10l): Likewise.
55023 * math/s_clogf.c (__clogf): Likewise.
55024 * math/s_clogl.c (__clogl): Likewise.
55025 * math/libm-test.inc (clog_test): Add more tests.
55026 (clog10_test): Likewise.
55027 * sysdeps/i386/fpu/libm-test-ulps: Update.
55028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55029
55030 2012-07-31 Florian Weimer <fweimer@redhat.com>
55031
55032 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55033 Exit with zero in case no suitable GID is found, and write a
55034 message to standard error.
55035
55036 2012-07-30 Roland McGrath <roland@hack.frob.com>
55037
55038 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55039 rather than to 1.
55040 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55041 (MAXPATHLEN): Removed.
55042 (NOGROUP, NODEV): New macros.
55043 (setbit, clrbit, isset, isclr): New macros.
55044 (howmany, roundup, powerof2): New macros.
55045 (DEV_BSIZE): New macro.
55046
55047 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55048 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55049
55050 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55051 definition on [!__NO_LONG_DOUBLE_MATH].
55052
55053 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55054 PTR_MANGLE and PTR_DEMANGLE.
55055
55056 * socket/accept4.c (accept4): Rename to __libc_accept4.
55057 Define accept4 as a weak alias.
55058
55059 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55060 on [_DIRENT_HAVE_D_TYPE].
55061 * io/ftw.c (ftw_dir): Likewise.
55062
55063 * io/xmknod.c (__xmknod): Don't check PATH for being null.
55064
55065 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55066
55067 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55068 Use the BSD numbers rather than the arbitrary ones we had.
55069 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55070 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55071 (SIGXCPU, SIGXFSZ): New macros.
55072 (_NSIG): Now 32.
55073
55074 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55075 initializer on [_LIBC_REENTRANT].
55076
55077 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55078 definitions inside [_POSIX_MAPPED_FILES].
55079
55080 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55081
55082 * dirent/opendir.c: Include <fcntl.h>.
55083
55084 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55085 (__libc_getspecific): Likewise.
55086 (__libc_key_create): Likewise.
55087
55088 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55089 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55090 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55091 (tmpfile64): Define as alias.
55092 * sysdeps/wordsize-64/tmpfile.c: File removed.
55093 * sysdeps/wordsize-64/tmpfile64.c: File removed.
55094 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55095 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55096
55097 * stdio-common/vfscanf.c: Include <stdbool.h>.
55098 * nss/makedb.c: Likewise.
55099 * stdio-common/_i18n_number.h: Likewise.
55100 * argp/argp-help.c: Likewise.
55101 * posix/wordexp.c: Likewise.
55102 * sysdeps/posix/spawni.c: Likewise.
55103 * nss/nss_files/files-initgroups.c: Likewise.
55104 * stdio-common/reg-modifier.c: Include <stdlib.h>.
55105 * nss/nss_files/files-initgroups.c: Likewise.
55106 * nss/nss_db/db-netgrp.c: Likewise.
55107 * nss/nss_db/db-initgroups.c: Likewise.
55108 * io/fchmodat.c: Include <sys/stat.h>.
55109
55110 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55111 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55112
55113 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55114 [HAVE_MMAP].
55115
55116 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55117 Add multiple inclusion protection.
55118
55119 2012-07-27 David S. Miller <davem@davemloft.net>
55120
55121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55122
55123 2012-07-27 Gary Benson <gbenson@redhat.com>
55124
55125 [BZ #14298]
55126 * elf/rtld.c: Include <stap-probe.h>.
55127 (dl_main): Added static probes "init_start" and "init_complete".
55128 * elf/dl-load.c: Include <stap-probe.h>.
55129 (lose): Take new parameter "nsid".
55130 Added static probe "map_failed".
55131 (_dl_map_object_from_fd): Pass namespace id to lose.
55132 Added static probe "map_start".
55133 (open_verify): Pass namespace id to lose.
55134 * elf/dl-open.c: Include <stap-probe.h>.
55135 (dl_open_worker) Added static probes "map_complete", "reloc_start"
55136 and "reloc_complete".
55137 * elf/dl-close.c: Include <stap-probe.h>.
55138 (_dl_close_worker): Added static probes "unmap_start" and
55139 "unmap_complete".
55140 * elf/rtld-debugger-interface.txt: New file documenting the above.
55141
55142 2012-07-26 Roland McGrath <roland@hack.frob.com>
55143
55144 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55145 rather than a string variable.
55146 * sunrpc/rpc_main.c (h_output): Likewise.
55147 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55148
55149 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
55150
55151 * inet/check_native.c: New file.
55152
55153 2012-07-26 Joseph Myers <joseph@codesourcery.com>
55154
55155 [BZ #13629]
55156 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55157 if larger part has absolute value 1.0.
55158 * math/s_clog10.c (__clog10): Likewise.
55159 * math/s_clog10f.c (__clog10f): Likewise.
55160 * math/s_clog10l.c (__clog10l): Likewise.
55161 * math/s_clogf.c (__clogf): Likewise.
55162 * math/s_clogl.c (__clogl): Likewise.
55163 * math/libm-test.inc (clog_test): Add more tests.
55164 (clog10_test): Likewise.
55165 * sysdeps/i386/fpu/libm-test-ulps: Update.
55166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55167
55168 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55169 (pltexit): Likewise.
55170 (La_regs): Likewise.
55171 (La_retval): Likewise.
55172 (int_retval): Likewise.
55173 Update #error for removed macros to refer only to definitions in
55174 tst-audit.h.
55175 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55176 macro.
55177 (pltexit): Likewise.
55178 (La_regs): Likewise.
55179 (La_retval): Likewise.
55180 (int_retval): Likewise.
55181 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55182 macro.
55183 (pltexit): Likewise.
55184 (La_regs): Likewise.
55185 (La_retval): Likewise.
55186 (int_retval): Likewise.
55187 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55188 macro.
55189 (pltexit): Likewise.
55190 (La_regs): Likewise.
55191 (La_retval): Likewise.
55192 (int_retval): Likewise.
55193 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55194 macro.
55195 (pltexit): Likewise.
55196 (La_regs): Likewise.
55197 (La_retval): Likewise.
55198 (int_retval): Likewise.
55199 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55200 macro.
55201 (pltexit): Likewise.
55202 (La_regs): Likewise.
55203 (La_retval): Likewise.
55204 (int_retval): Likewise.
55205 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55206 macro.
55207 (pltexit): Likewise.
55208 (La_regs): Likewise.
55209 (La_retval): Likewise.
55210 (int_retval): Likewise.
55211 * sysdeps/generic/tst-audit.h: Update comment to refer only to
55212 macro definitions in tst-audit.h.
55213 * sysdeps/i386/tst-audit.h: New file.
55214 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55215 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55216 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55217 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55218 * sysdeps/sh/tst-audit.h: Likewise.
55219 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55220 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55221 * sysdeps/x86_64/tst-audit.h: Likewise.
55222
55223 2012-07-26 Andreas Jaeger <aj@suse.de>
55224
55225 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55226 ptrace.
55227
55228 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55229 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55230 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55231 PTRACE_O_MASK.
55232 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55233 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55234 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55235
55236 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55237 value.
55238
55239 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55240 _sigsys.
55241 (si_call_addr, si_syscall, si_arch): Define new macro.
55242 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55243 _sigsys.
55244 (si_call_addr, si_syscall, si_arch): Define new marcro.
55245 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55246 _sigsys.
55247 (si_call_addr, si_syscall, si_arch): Define new macro.
55248 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55249 _sigsys.
55250 (si_call_addr, si_syscall, si_arch): Define new macro.
55251
55252 2012-07-25 Joseph Myers <joseph@codesourcery.com>
55253
55254 [BZ #13717]
55255 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55256 Change to 2.4.21 where previously 2.4.1.
55257 * sysdeps/unix/sysv/linux/configure: Regenerated.
55258 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55259 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55260 Linux kernel version.
55261 (__ASSUME_STD_AUXV): Remove.
55262 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55263 kernel version.
55264 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55265 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55266 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55267 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55268 (__ASSUME_NETLINK_SUPPORT): Likewise.
55269 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55270 (__no_netlink_support): Remove conditional definition.
55271 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55272 Remove.
55273 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55274 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55275 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55276 (if_nameindex_ioctl): Remove.
55277 (if_nameindex_netlink): Do not handle __no_netlink_support.
55278 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55279 code.
55280 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55281 Remove conditional code.
55282 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55283 code.
55284 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55285 unconditional.
55286 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55287 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55288 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55289 Remove.
55290 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55291 [!__ASSUME_STD_AUXV]: Remove conditional code.
55292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55293 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55294 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55296 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55297 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55298 code.
55299 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55301 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55302 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55303 conditional code.
55304 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55306 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55307 code.
55308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55309 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55310 conditional code.
55311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55312 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55313 code unconditional.
55314 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55315 conditional code.
55316 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55317 unconditional.
55318 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55319 conditional code.
55320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55321 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55322 unconditional.
55323 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55324 conditional code.
55325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55326 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55327 code unconditional.
55328 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55329 conditional code.
55330 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55331 unconditional.
55332 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55333 conditional code.
55334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55335 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55336 code unconditional.
55337 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55338 conditional code.
55339 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55340 unconditional.
55341 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55342 conditional code.
55343
55344 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
55345
55346 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55347 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55348 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55349 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55350 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55351 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55352 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55353 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55354 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55355 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55356 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55357 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55358 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55359 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55360 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55362 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55363 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55364 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55366 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55367 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55368 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55369
55370 2012-07-25 Florian Weimer <fweimer@redhat.com>
55371
55372 * Versions.def: Add GLIBC_2.17.
55373 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55374 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55375 Introduce __libc_secure_getenv.
55376 * stdlib/Versions (2.17): Add secure_getenv
55377 (GLIBC_PRIVATE): Add __libc_secure_getenv.
55378 * stdlib/secure-getenv.c: Rename __secure_getenv to
55379 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
55380 symbol __secure_getenv for GLIBC_2.0.
55381 * stdlib/tst-secure-getenv.c: New.
55382 * stdlib/Makefile (tests): Add testcase.
55383 * manual/startup.texi (Environment Access): Document
55384 secure_getenv.
55385 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55386 __libc_secure_getenv.
55387 * inet/ruserpass.c (ruserpass): Likewise.
55388 * malloc/mtrace.c (mtrace): Likewise.
55389 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55390 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55391 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55392 * sysdeps/posix/tempname.c: Likewise. Evaluate
55393 HAVE_SECURE_GETENV.
55394 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55395 __secure_getenv to __libc_secure_getenv.
55396 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55398 Likewise.
55399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55400 Likewise.
55401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55408
55409 2012-07-25 Joseph Myers <joseph@codesourcery.com>
55410
55411 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55412 (struct La_i86_retval): Likewise.
55413 (struct La_x86_64_regs): Likewise.
55414 (struct La_x86_64_retval): Likewise.
55415 (struct La_x32_regs): Likewise.
55416 (struct La_x32_retval): Likewise.
55417 (struct La_ppc32_regs): Likewise.
55418 (struct La_ppc32_retval): Likewise.
55419 (struct La_ppc64_regs): Likewise.
55420 (struct La_ppc64_retval): Likewise.
55421 (struct La_sh_regs): Likewise.
55422 (struct La_sh_retval): Likewise.
55423 (struct La_s390_32_regs): Likewise.
55424 (struct La_s390_32_retval): Likewise.
55425 (struct La_s390_64_regs): Likewise.
55426 (struct La_s390_64_retval): Likewise.
55427 (struct La_sparc32_regs): Likewise.
55428 (struct La_sparc32_retval): Likewise.
55429 (struct La_sparc64_regs): Likewise.
55430 (struct La_sparc64_retval): Likewise.
55431 (struct audit_ifaces): Remove architecture-specific pltenter and
55432 pltexit members.
55433 * sysdeps/i386/ldsodefs.h: New file.
55434 * sysdeps/powerpc/ldsodefs.h: Likewise.
55435 * sysdeps/s390/ldsodefs.h: Likewise.
55436 * sysdeps/sh/ldsodefs.h: Likewise.
55437 * sysdeps/sparc/ldsodefs.h: Likewise.
55438 * sysdeps/x86_64/ldsodefs.h: Likewise.
55439
55440 2012-07-25 Marek Polacek <polacek@redhat.com>
55441
55442 [BZ #6808]
55443 * math/libm-test.inc (yn_test): Add another test.
55444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55445 to ERANGE when the result is +-Inf.
55446 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55447 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55448 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55449 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55450
55451 2012-07-24 Joseph Myers <joseph@codesourcery.com>
55452
55453 * conform/data/time.h-data (NULL): Use macro-constant. Require
55454 equal to 0.
55455 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
55456 clock_t.
55457 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
55458
55459 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
55460
55461 * configure.in <sysdeps resolving>: Correct printing
55462 Implies_before.
55463 * configure: Regenerate.
55464
55465 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
55466
55467 * math/w_ilogb.c: Include <limits.h>.
55468 * math/w_ilogbl.c: Likewise.
55469
55470 2012-07-20 Joseph Myers <joseph@codesourcery.com>
55471
55472 * manual/lang.texi (__va_copy): Document primarily as ISO C99
55473 va_copy. Document allowing for unavailable va_copy only as
55474 pre-C99 compatibility.
55475 * manual/string.texi (Copying and Concatenation): Use va_copy
55476 instead of __va_copy in concat example.
55477
55478 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
55479
55480 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55481 (__sendto): Use create_address_port. Initialize APORT and deallocate
55482 it if not null.
55483
55484 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55485 with O_NOLINK passed to __file_name_lookup.
55486
55487 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55488 with O_NOLINK passed to __file_name_lookup.
55489
55490 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55491 negative N or less than NGIDS.
55492
55493 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55494 type to string_t. Set ERANGE as errno and return it if NAME is not big
55495 enough. Use memcpy instead of strncpy.
55496
55497 2012-07-20 Joseph Myers <joseph@codesourcery.com>
55498
55499 * elf/Makefile (check-data): Remove.
55500 (localplt.data): New vpath directive.
55501 ($(objpfx)check-localplt.out): Use localplt.data from vpath
55502 instead of $(check-data).
55503 * scripts/data/localplt-generic.data: Move to ...
55504 * sysdeps/generic/localplt.data: ... here.
55505 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55506 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55507 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55509 ... here.
55510 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55512 ... here.
55513 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55515 ... here.
55516 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55518 ... here.
55519 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55521 ... here.
55522 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55524 ... here.
55525
55526 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55527
55528 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55529 PPC32 and PPC64 files.
55530 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55531 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55532
55533 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55534
55535 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55536 __makecontext_ret to ...
55537 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55538 ... here and call exit if uc_link is NULL. New file.
55539 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55540 __makecontext_ret.S.
55541 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55542 __makecontext_ret to ...
55543 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55544 ... here and call exit if uc_link is NULL. New file.
55545 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55546 __makecontext_ret.S.
55547
55548 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55549
55550 * elf/elf.h (R_390_IRELATIVE): New definition.
55551 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55552 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
55553 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55555 (elf_machine_lazy_rel): Likewise.
55556 * sysdeps/s390/dl-irel.h: New file.
55557 * sysdeps/s390/s390-64/memcpy.S: New asm code.
55558 * sysdeps/s390/s390-64/memset.S: New asm code.
55559 * sysdeps/s390/s390-64/memcmp.S: New asm code.
55560 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55561 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55562 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55563 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55564 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55566 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55567 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55568 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55569 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55570 * sysdeps/s390/s390-32/memcpy.S: New asm code.
55571 * sysdeps/s390/s390-32/memset.S: New asm code.
55572 * sysdeps/s390/s390-32/memcmp.S: New asm code.
55573
55574 2012-07-17 Marek Polacek <polacek@redhat.com>
55575
55576 [BZ #14349]
55577 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55578 * sysdeps/s390/s390-64/configure.in: Likewise.
55579 * sysdeps/sparc/configure.in: Likewise.
55580 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55581 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55582 * sysdeps/i386/configure.in: Likewise.
55583 * sysdeps/x86_64/configure.in: Likewise.
55584 * sysdeps/sh/configure.in: Likewise.
55585 * sysdeps/s390/s390-32/configure: Regenerated.
55586 * sysdeps/s390/s390-64/configure: Likewise.
55587 * sysdeps/x86_64/configure: Likewise.
55588 * sysdeps/sh/configure: Likewise.
55589 * sysdeps/powerpc/powerpc64/configure: Likewise.
55590 * sysdeps/powerpc/powerpc32/configure: Likewise.
55591 * sysdeps/sparc/configure: Likwise.
55592 * sysdeps/i386/configure: Likewise.
55593
55594 * elf/dl-open.c: Comment fixes.
55595
55596 2012-07-17 Joseph Myers <joseph@codesourcery.com>
55597
55598 * Makefile [CXX] (check-data): Remove.
55599 [CXX] (c++-types.data): New vpath directive.
55600 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55601 vpath. Do not allow for C++ type data being missing.
55602 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55603 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55604 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55605 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55606 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55607 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55608 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55610 ... here.
55611 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55613 ... here.
55614 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55616 ... here.
55617 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55619 ... here.
55620 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55622 ... here.
55623 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55625 ... here.
55626 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55628 ... here.
55629 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55631
55632 * elf/tls-macros.h (TLS_LE): Move architecture-specific
55633 definitions to architecture-specific files.
55634 (TLS_IE): Likewise.
55635 (TLS_LD): Likewise.
55636 (TLS_GD): Likewise.
55637 * sysdeps/i386/tls-macros.h: New file.
55638 * sysdeps/powerpc/tls-macros.h: Likewise.
55639 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55640 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55641 * sysdeps/sh/tls-macros.h: Likewise.
55642 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55643 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55644 * sysdeps/x86_64/tls-macros.h: Likewise.
55645
55646 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
55647
55648 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55649 zero value for regular exit case.
55650
55651 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55652 (__start_context): Preserve zero value for regular exit case.
55653
55654 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
55655 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55656
55657 * manual/setjmp.texi (setcontext): Clarify normal process
55658 termination when uc_link is the null pointer.
55659 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55660 exit call.
55661
55662 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
55663
55664 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55665 preprocessor. Test for each exception mask separately.
55666
55667 2012-07-16 Andreas Jaeger <aj@suse.de>
55668
55669 * po/ru.po: Update from translation team.
55670
55671 2012-07-15 Joseph Myers <joseph@codesourcery.com>
55672
55673 * conform/data/string.h-data (NULL): Use macro-constant. Require
55674 equal to 0.
55675 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55676 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55677 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55678 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
55680
55681 2012-07-13 Andreas Jaeger <aj@suse.de>
55682
55683 * po/fr.po: Update from translation team.
55684
55685 2012-07-12 Marek Polacek <polacek@redhat.com>
55686
55687 [BZ #14173]
55688 * math/libm-test.inc (yn_test): Add test for BZ #14173.
55689 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55690 loop condition.
55691
55692 2012-07-12 Joseph Myers <joseph@codesourcery.com>
55693
55694 [BZ #13717]
55695 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55696 Change to 2.4.1 where previously 2.4.0.
55697 * sysdeps/unix/sysv/linux/configure: Regenerated.
55698 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55699 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55700 version.
55701 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55702 (__ASSUME_AT_CLKTCK): Remove.
55703 (__ASSUME_AT_PAGESIZE): Likewise.
55704 (__ASSUME_AT_XID): Likewise.
55705 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55706 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55707 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55708 unconditionally.
55709 (HAVE_AUX_PAGESIZE): Likewise.
55710 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55711 [__ASSUME_AT_CLKTCK]: Make code unconditional.
55712 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55713
55714 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
55715
55716 [BZ #14307]
55717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55718 the temporary buffer used to invoke __gethostbyname2_r,
55719 __gethostbyaddr_r and gethostbyname4_r to make room for struct
55720 host_data / struct gaih_addrtuple.
55721 * resolv/nss_dns/dns-host.c (global scope): Move definition of
55722 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55723 header file nss/nsswitch.h.
55724 * nss/nsswitch.h (global scope): Add definition of implementation
55725 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55726 resolv/nss_dns/dns-host.c).
55727
55728 2012-07-11 Andreas Jaeger <aj@suse.de>
55729
55730 * po/fr.po: Update from translation team.
55731
55732 * po/sv.po: Update from translation team
55733 * po/fr.po: Another update from translation team.
55734
55735 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55736
55737 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55738 for subnormals or multiply small sinh result by itself.
55739 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55741
55742 2012-07-11 David S. Miller <davem@davemloft.net>
55743
55744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55745
55746 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
55747
55748 [BZ #14347]
55749 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55750 (INTERNAL_MARK): Shift it here.
55751
55752 2012-07-10 Marek Polacek <polacek@redhat.com>
55753
55754 [BZ #14151]
55755 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
55756 libc_cv_asm_global_directive with .globl.
55757 * configure: Regenerated.
55758 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55759 with .globl.
55760 * sysdeps/i386/configure: Regenerated.
55761 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55762 with .globl.
55763 * sysdeps/x86_64/configure: Regenerated.
55764 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55765 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55766 * elf/tst-unique2mod2.c: Likewise.
55767 * elf/tst-unique2mod1.c: Likewise.
55768 * elf/tst-unique1mod2.c: Likewise.
55769 * elf/tst-unique1mod1.c: Likewise.
55770 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55771 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55772 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55773 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55774 * sysdeps/mach/sysdep.h: Likewise.
55775 * sysdeps/i386/sysdep.h: Likewise.
55776 * sysdeps/i386/i386-mcount.S: Likewise.
55777 * sysdeps/x86_64/_mcount.S: Likewise.
55778 * sysdeps/x86_64/sysdep.h: Likewise.
55779 * sysdeps/sh/_mcount.S: Likewise.
55780 * sysdeps/sh/sysdep.h: Likewise.
55781 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55782 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55783 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55784 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55785 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55786 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55787 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55788 * locale/localeinfo.h: Likewise.
55789 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55790 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55791
55792 2012-07-09 Roland McGrath <roland@hack.frob.com>
55793
55794 [BZ #14336]
55795 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55796 system".
55797 * manual/message.texi (The Uniforum approach): Likewise.
55798 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55799 (glibc iconv Implementation): Likewise.
55800
55801 2012-07-09 Joseph Myers <joseph@codesourcery.com>
55802
55803 [BZ #14337]
55804 * math/s_clog.c (__clog): Avoid scaling a value down where that
55805 could result in underflow.
55806 * math/s_clog10.c (__clog10): Likewise.
55807 * math/s_clog10f.c (__clog10f): Likewise.
55808 * math/s_clog10l.c (__clog10l): Likewise.
55809 * math/s_clogf.c (__clogf): Likewise.
55810 * math/s_clogl.c (__clogl): Likewise.
55811 * math/libm-test.inc (clog_test): Add more tests.
55812 (clog10_test): Likewise.
55813 * sysdeps/i386/fpu/libm-test-ulps: Update.
55814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55815
55816 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
55817
55818 [BZ #14283]
55819 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55820 by 7 not 8 to examine high bit of fractional part.
55821
55822 [BZ #14042]
55823 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55824 for call to __mcount_internal.
55825 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55826 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55827 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55828
55829 2012-07-06 Joseph Myers <joseph@codesourcery.com>
55830
55831 [BZ #14154]
55832 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55833 approximation for values within 0x1p-13f of an odd multiple of
55834 pi/4.
55835 * math/libm-test.inc (tan_test): Do not allow spurious underflow
55836 exception. Add more tests.
55837 * sysdeps/i386/fpu/libm-test-ulps: Update.
55838
55839 [BZ #6778]
55840 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55841 inputs and return -1 for them. Do not check for +Inf in case not
55842 reachable for +Inf.
55843 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55844 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55845 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55846 and return -1 for them. Do not check for +Inf in case not
55847 reachable for +Inf.
55848 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55849 define.
55850 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55851 and return -1 for them. Do not check for +Inf in case not
55852 reachable for +Inf.
55853 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
55854 spurious underflow.
55855 * sysdeps/i386/fpu/libm-test-ulps: Update.
55856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55857
55858 2012-07-06 Mike Frysinger <vapier@gentoo.org>
55859
55860 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55861
55862 2012-07-05 Joseph Myers <joseph@codesourcery.com>
55863
55864 [BZ #14157]
55865 [BZ #14331]
55866 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55867 could result in spurious underflow. Scale down values above
55868 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55869 * math/s_csqrtf.c (__csqrtf): Likewise.
55870 * math/s_csqrtl.c (__csqrtl): Likewise.
55871 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
55872 spurious underflow.
55873 * sysdeps/i386/fpu/libm-test-ulps: Update.
55874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55875
55876 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
55877
55878 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55879 xopen-msg.sed.
55880 * catgets/xopen-msg.awk: New file.
55881 * catgets/xopen-msg.sed: Removed.
55882
55883 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55884 po2text.sed.
55885 * intl/po2test.awk: New file.
55886 * intl/po2test.sed: Removed.
55887
55888 2012-07-04 Joseph Myers <joseph@codesourcery.com>
55889
55890 [BZ #14328]
55891 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55892 or multiply small sinh result by itself.
55893 * math/s_ctanf.c (__ctanf): Likewise.
55894 * math/s_ctanh.c (__ctanh): Likewise.
55895 * math/s_ctanhf.c (__ctanhf): Likewise.
55896 * math/s_ctanhl.c (__ctanhl): Likewise.
55897 * math/s_ctanl.c (__ctanl): Likewise.
55898 * math/libm-test.inc (ctan_test_tonearest): New function.
55899 (ctan_test_towardzero): Likewise.
55900 (ctan_test_downward): Likewise.
55901 (ctan_test_upward): Likewise.
55902 (ctanh_test_tonearest): Likewise.
55903 (ctanh_test_towardzero): Likewise.
55904 (ctanh_test_downward): Likewise.
55905 (ctanh_test_upward): Likewise.
55906 (main): Call these new functions.
55907 * sysdeps/i386/fpu/libm-test-ulps: Update.
55908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55909
55910 2012-07-03 Mike Frysinger <vapier@gentoo.org>
55911
55912 * .gitignore: Delete /ports entry.
55913
55914 2012-07-03 Andreas Jaeger <aj@suse.de>
55915
55916 * po/bg.po: Update from translation team.
55917 * po/cs.po: Likewise.
55918 * po/de.po: Likewise.
55919 * po/hr.po: Likewise.
55920 * po/nl.pl: Likewise.
55921 * po/pl.po: Likewise.
55922 * po/vi.po: Likewise.
55923
55924 2012-07-03 Joseph Myers <joseph@codesourcery.com>
55925
55926 * Makeconfig [!+link] (+link-before-libc): New variable.
55927 [!+link] (+link-after-libc): Likewise.
55928 [!+link] (+link-tests): Likewise.
55929 [!+link] (+link): Define in terms of $(+link-before-libc) and
55930 $(+link-after-libc).
55931 [!+link-static] (+link-static-before-libc): New variable.
55932 [!+link-static] (+link-static-after-libc): Likewise.
55933 [!+link-static] (+link-static-tests): Likewise.
55934 [!+link-static] (+link-static): Define in terms of
55935 $(+link-static-before-libc) and $(+link-static-after-libc).
55936 [build-shared] (link-libc-before-gnulib): New variable.
55937 [build-shared] (link-libc-tests): Likewise.
55938 [build-shared] (link-libc): Define in terms of
55939 $(link-libc-before-gnulib).
55940 [!build-shared] (link-libc-tests): New variable.
55941 (link-libc-static-tests): New variable.
55942 [!gnulib] (gnulib-arch): New variable.
55943 [!gnulib] (gnulib-tests): Likewise.
55944 [!gnulib] (static-gnulib-arch): Likewise.
55945 [!gnulib] (static-gnulib-tests): Likewise.
55946 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
55947 Define with "=" instead of ":=".
55948 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
55949 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
55950 * Rules (binaries-all-notests): New variable.
55951 (binaries-all-tests): Likewise.
55952 (binaries-static-notests): Likewise.
55953 (binaries-static-tests): Likewise.
55954 (binaries-all): Define using $(binaries-all-notests) and
55955 $(binaries-all-tests).
55956 (binaries-static): Define using $(binaries-static-notests) and
55957 $(binaries-static-tests).
55958 (binaries-shared-tests): New variable.
55959 (binaries-shared-notests): Likewise.
55960 (binaries-shared): Remove variable.
55961 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55962 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55963 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55964 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55965 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55966 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55967 * elf/Makefile (sln-modules): New variable.
55968 (extra-objs): Add $(sln-modules:=.o).
55969 (ldconfig-modules): Add static-stubs.
55970 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55971 * elf/static-stubs.c: New file.
55972
55973 [BZ #14283]
55974 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55975 by 7 not 8 to examine high bit of fractional part. Use volatile
55976 variables when splitting into final array of floats if
55977 __FLT_EVAL_METHOD__ != 0.
55978 * math/libm-test.inc (cos_test): Add another test.
55979 (sin_test): Likewise.
55980 * sysdeps/i386/fpu/libm-test-ulps: Update.
55981
55982 [BZ #14273]
55983 * math/libm-test.inc (cosh_test): Add more tests.
55984
55985 * version.h (RELEASE): Set to "development".
55986 (VERSION): Set to "2.16.90".
55987
55988 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
55989
55990 * NEWS: Update copyright. Remove last-updated date.
55991 Mention math library bug fixes and timezone data changes.
55992 * README: Mention GNU/Hurd, x32, and HPPA support status.
55993
55994 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
55995
55996 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55997
55998 2012-06-27 Andreas Jaeger <aj@suse.de>
55999
56000 * manual/contrib.texi (Contributors): Add Samuel Thibault.
56001
56002 2012-06-25 Andreas Jaeger <aj@suse.de>
56003
56004 * sysdeps/s390/fpu/libm-test-ulps: Update.
56005
56006 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
56007 Thomas Schwinge <thomas@codesourcery.com>
56008
56009 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56010 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56012 fanotify_mark.
56013
56014 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
56015
56016 * sysdeps/mach/start.c: Remove file.
56017 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56018 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56019 * sysdeps/sh/init-first.c: Likewise.
56020
56021 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56022 registers for frame unwinding purposes, add CFI directives.
56023 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56024 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56025 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56026 Likewise.
56027
56028 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56029 __fortify_fail returning.
56030 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56031
56032 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56033 sysdeps/sh/____longjmp_chk.S.
56034 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56035 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56036 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56037 (gen-as-const-headers): Append sigaltstack-offsets.sym.
56038
56039 * sysdeps/sh/abort-instr.h: New file.
56040 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56041 process in case exit returns.
56042
56043 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56044 initialize the GOT register before use.
56045
56046 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56047 calculation of ARGC > 4.
56048
56049 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56050 meaningful names to some local labels.
56051
56052 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56053 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56054
56055 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56056 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56057 (__arch_compare_and_exchange_val_16_acq): Likewise.
56058 (__arch_compare_and_exchange_val_32_acq): Likewise.
56059 (atomic_exchange_and_add): Fix gUSA sequence.
56060 (atomic_add): Likewise.
56061 (atomic_add_negative): Likewise.
56062 (atomic_add_zero): Likewise.
56063 (atomic_bit_test_set): Likewise.
56064
56065 2012-06-22 Andreas Schwab <schwab@redhat.com>
56066
56067 [BZ #13579]
56068 * include/link.h (struct link_map): Add l_free_initfini.
56069 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56070 l_initfini.
56071 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56072 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56073 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56074 set.
56075
56076 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
56077
56078 * configure.in: Use AC_LANG_SOURCE.
56079 * configure: Regenerate.
56080
56081 2012-06-22 Roland McGrath <roland@hack.frob.com>
56082
56083 * configure.in (libc_cv_localstatedir): New substituted variable.
56084 * configure: Regenerated.
56085 * config.make.in (localstatedir): New variable, substituted from
56086 libc_cv_localstatedir.
56087 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56088 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56089 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56090 * sysdeps/gnu/configure: Regenerated.
56091
56092 2012-06-21 Jeff Law <law@redhat.com>
56093
56094 [BZ #14277]
56095 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56096 free. Simplify list management for _LIBC case.
56097
56098 2012-06-21 Joseph Myers <joseph@codesourcery.com>
56099
56100 [BZ #14273]
56101 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56102 Clear sign bit of 64-bit integer value before comparing against
56103 overflow value.
56104
56105 * sysdeps/mach/configure: Regenerated.
56106
56107 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
56108
56109 [BZ #14278]
56110 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56111
56112 2012-06-21 Jeff Law <law@redhat.com>
56113
56114 [BZ #13882]
56115 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
56116 uint16_t for elements in the "seen" array to avoid char overflows.
56117 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56118 * elf/dl-open.c (dl_open_worker): Likewise.
56119
56120 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
56121
56122 * scripts/list-sources.sh: Scan PORTS for translations.
56123 * po/libc.pot: Regenerated.
56124
56125 2012-06-21 Andreas Jaeger <aj@suse.de>
56126
56127 [BZ #12194]
56128 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56129 warning.
56130 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56131 * bits/byteswap-16.h (__bswap_16): Likewise.
56132 * bits/byteswap.h (__bswap_constant_16): Likewise.
56133
56134 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
56135
56136 [BZ #14117]
56137 * sysdeps/i386/fpu_control.h: Removed.
56138 * sysdeps/x86_64/fpu_control.h: Moved to ...
56139 * sysdeps/x86/fpu_control.h: Here.
56140
56141 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56142 (_FPU_SETCW): Likewise.
56143
56144 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
56145
56146 [BZ #14117]
56147 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56148 * sysdeps/x86/fpu/bits/mathinline.h: This.
56149 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56150
56151 [BZ #14050]
56152 [BZ #14117]
56153 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56154 functions if __x86_64__ is defined.
56155
56156 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
56157
56158 * string/endian.h: Add !__ASSEMBLER__ condition for including
56159 conversion interfaces.
56160
56161 2012-06-15 Joseph Myers <joseph@codesourcery.com>
56162
56163 [BZ #14241]
56164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56165 of ABS(x) in calculating zero to negative powers other than odd
56166 integers.
56167 * math/libm-test.inc (pow_test): Add more tests.
56168
56169 2012-06-15 Andreas Jaeger <aj@suse.de>
56170
56171 * manual/contrib.texi (Contributors): Update entry of Liubov
56172 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56173 Machado Filho.
56174
56175 2012-06-15 Cyril Hrubis <metan@ucw.cz>
56176
56177 * string/string.h: Add __wur to GNU version of strerror_r.
56178
56179 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
56180
56181 [BZ #14229]
56182 * string/Makefile (tests): Add tst-strtok_r.
56183 * string/tst-strtok_r.c: New file.
56184 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56185 RAX_LP/RDX_LP on SAVE_PTR.
56186
56187 2012-06-14 Roland McGrath <roland@hack.frob.com>
56188
56189 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56190
56191 2012-06-14 Joseph Myers <joseph@codesourcery.com>
56192
56193 * libm_test.inc (csqrt_test): Allow more spurious underflow
56194 exceptions.
56195 (j0_test): Likewise.
56196 (j1_test): Likewise.
56197 (y0_test): Likewise.
56198 (y1_test): Likewise.
56199
56200 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
56201
56202 * po/Makefile (libc.pot): Use UTF-8 charset.
56203
56204 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
56205
56206 [BZ #14210]
56207 Suppress sign-conversion warning from FD_SET.
56208 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56209 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56210 not unsigned long int.
56211 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56212
56213 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
56214
56215 [BZ #14050]
56216 [BZ #14117]
56217 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56218 __extern_always_inline instead of __extern_inline.
56219 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56220 (__signbit): Likewise.
56221 (__signbitl): Support C++ namespace.
56222 (lrintf): New inline function.
56223 (lrint): Likewise.
56224 (llrintf): Likewise.
56225 (llrint): Likewise.
56226 (fmaxf): Likewise.
56227 (fmax): Likewise.
56228 (fminf): Likewise.
56229 (fmin): Likewise.
56230 (rint): Likewise.
56231 (rintf): Likewise.
56232 (ceil): Likewise.
56233 (ceilf): Likewise.
56234 (floor): Likewise.
56235 (floorf): Likewise.
56236 (nearbyint): Likewise.
56237 (nearbyintf): Likewise.
56238
56239 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
56240
56241 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56242 non-default versions.
56243
56244 2012-06-11 Roland McGrath <roland@hack.frob.com>
56245
56246 [BZ #14218]
56247 * manual/argp.texi (Argp): Reword argp_parse description slightly.
56248
56249 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
56250
56251 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56252 (FE_UPWARD, FE_DOWNWARD): Don't define.
56253 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56254 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56255
56256 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56257 reading it.
56258 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56259 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56260
56261 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56262
56263 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56265 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56266 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56267
56268 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
56269
56270 [BZ #14117]
56271 * sysdeps/i386/fpu/bits/fenv.h: Removed.
56272 * sysdeps/i386/fpu/Implies: New file.
56273 * sysdeps/x86_64/fpu/Implies: Likewise.
56274 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56275 * sysdeps/x86/fpu/bits/fenv.h: This.
56276
56277 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56278 __SSE_MATH__.
56279
56280 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
56281
56282 [BZ #14134]
56283 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56284 character 0xffff that matches the last element of the
56285 conversion table.
56286
56287 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56288
56289 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56290 fmodl commit.
56291
56292 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56293
56294 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56295 values higher than 25.6283.
56296
56297 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56298
56299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56300 subnormal exponent extraction and add some __builtin_expect.
56301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56302 Fix for subnormal mantissa calculation.
56303
56304 2012-06-04 Mike Frysinger <vapier@gentoo.org>
56305
56306 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56307 cpu2 is -1 and errno is not ENOSYS.
56308
56309 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
56310
56311 [BZ #14117]
56312 * sysdeps/i386/i486/bits/string.h: Renamed to ...
56313 * sysdeps/x86/bits/string.h: This.
56314 * sysdeps/x86_64/bits/string.h: Removed.
56315
56316 * sysdeps/i386/i486/bits/string.h: Define inline functions only
56317 if not compiling for x86-64, but compiling for >= i486.
56318
56319 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56320 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56321
56322 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56323 New macro from Linux kernel 3.4.0.
56324 (FP_XSTATE_MAGIC2): Likewise.
56325 (FP_XSTATE_MAGIC2_SIZE): Likewise.
56326 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56327 (struct _fpx_sw_bytes): New struct.
56328 (struct _xsave_hdr): Likewise.
56329 (struct _ymmh_state): Likewise.
56330 (struct _xstate): Likewise.
56331
56332 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56333 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56334 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56335 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56336 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56337 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56338
56339 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56340 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56341 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56342 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56343 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56344 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56345
56346 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56347
56348 [BZ #13743]
56349 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56350 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56351 (sysdep_headers): Include sys/platform/ppc.h.
56352 * sysdeps/powerpc/test-gettimebase.c: Test for
56353 __ppc_get_timebase() to catch future ISA opcode/insn changes.
56354 * manual/Makefile (appendices): Include platform.texi.
56355 * manual/contrib.texi (Contributors): Update @node pointers.
56356 * manual/maint.texi (Maintenance): Likewise.
56357 (Platform): New node.
56358 * manual/platform.texi: New file. Document the new features.
56359
56360 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56361 Jakub Jelinek <jakub@redhat.com>
56362
56363 [BZ #14188]
56364 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56365 where __builtin_expect is unavailable.
56366
56367 2012-06-03 David S. Miller <davem@davemloft.net>
56368
56369 * stdlib/longlong.h: Updated from GCC.
56370
56371 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
56372
56373 [BZ #14042]
56374 * sysdeps/powerpc/powerpc32/mcount.c: New file.
56375 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56376 __mcount_internal.
56377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56378 (GLIBC_2.16): Likewise.
56379
56380 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
56381
56382 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56383
56384 2012-06-01 Joseph Myers <joseph@codesourcery.com>
56385
56386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56387 (default-abi): New variable.
56388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56389 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56390 variable.
56391 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56392 Likewise.
56393 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56394 Likewise.
56395 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56396 Likewise.
56397
56398 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56399 definition. Document in comment.
56400
56401 2012-06-01 David S. Miller <davem@davemloft.net>
56402
56403 * stdlib/longlong.h: Updated from GCC.
56404
56405 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
56406
56407 [BZ #14117]
56408 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56409 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56410 sys/debugreg.h sys/io.h here.
56411 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56412 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56413 sys/io.h.
56414 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56415 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56416 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56417 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56418 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56419 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56420
56421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56422 Define only if __x86_64__ is defined.
56423
56424 2012-06-01 Joseph Myers <joseph@codesourcery.com>
56425
56426 [BZ #14048]
56427 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56428 Use int64_t for variable i.
56429 * math/libm-test.inc (fmod_test): Add more tests.
56430
56431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56432 z computation is not scheduled after fetestexcept.
56433 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56434 Use math_force_eval instead of asm to ensure calculation scheduled
56435 before exception test.
56436 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56437 Ensure a1 + u.d computation is not scheduled after fetestexcept.
56438
56439 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
56440
56441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56442 computation is not scheduled after fetestexcept.
56443
56444 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
56445
56446 [BZ #14117]
56447 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56448 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56449
56450 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56451
56452 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56453 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56454
56455 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
56456
56457 [BZ #14117]
56458 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56459 <bits/wordsize.h>.
56460 (__WCHAR_MIN): Support __WORDSIZE == 64.
56461 (__WCHAR_MAX): Likewise.
56462
56463 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56464 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56465
56466 [BZ #14183]
56467 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56468 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56469
56470 [BZ #14117]
56471 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56472 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56473
56474 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56475 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56476
56477 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56478 Defined to 1 if __x86_64__ isn't defined.
56479 (_STAT_VER_LINUX_OLD): New.
56480 (st_atime): Remove duplicate.
56481 (st_mtime): Likewise.
56482 (st_ctime): Likewise.
56483
56484 2012-05-31 David S. Miller <davem@davemloft.net>
56485
56486 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56487 entries.
56488
56489 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
56490
56491 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56492 gen-libm-test.pl.
56493
56494 [BZ #14132]
56495 * elf/dl-reloc.c: Include <_itoa.h>.
56496 (_dl_reloc_bad_type): Remove use of INTUSE.
56497 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56498 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56499 * stdio-common/psiginfo.c (psiginfo): Likewise.
56500 * stdio-common/psignal.c (psignal): Likewise.
56501 * string/strsignal.c (strsignal): Likewise.
56502 * include/signal.h (_sys_siglist): Declare hidden proto.
56503 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
56504 INTVARDEF with libc_hidden_data_def.
56505 * stdio-common/itoa-udigits.c: Likewise.
56506 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56507 (_itoa_lower_digits_internal): Remove declaration.
56508 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56509 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56510 (_sys_sigabbrev_internal): Remove aliases.
56511 (_sys_siglist): Define hidden alias.
56512
56513 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
56514
56515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56516 bits/sysctl.h.
56517
56518 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
56519
56520 [BZ #14117]
56521 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56522 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56523
56524 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56525 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56526 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56527 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56529 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56530
56531 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56532 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56533 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56534
56535 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56536 with __addr.
56537 (insw): Likewise.
56538 (insl): Likewise.
56539 (outsb): Likewise.
56540 (outsw): Likewise.
56541 (outsl): Likewise.
56542
56543 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56544 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56545 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56546
56547 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56548 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56550 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56551 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56552 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56553
56554 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56555 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56556
56557 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56558 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56559
56560 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56561 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56563
56564 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56565 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56566 to ...
56567 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56568
56569 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56570 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56571 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56572
56573 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56574 for x86-64.
56575 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56576
56577 2012-05-31 Joseph Myers <joseph@codesourcery.com>
56578
56579 * math/math.h (M_El): Use two more decimal places.
56580 (M_LOG2El): Likewise.
56581 (M_LOG10El): Likewise.
56582 (M_LN2l): Likewise.
56583 (M_LN10l): Likewise.
56584 (M_PIl): Likewise.
56585 (M_PI_2l): Likewise.
56586 (M_PI_4l): Likewise.
56587 (M_1_PIl): Likewise.
56588 (M_2_PIl): Likewise.
56589 (M_2_SQRTPIl): Likewise.
56590 (M_SQRT2l): Likewise.
56591 (M_SQRT1_2l): Likewise.
56592
56593 2012-05-31 David S. Miller <davem@davemloft.net>
56594
56595 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56596 values between float registers.
56597 * sysdeps/sparc/sparc64/memset.S: Likewise.
56598 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56599
56600 2012-05-31 Mike Frysinger <vapier@gentoo.org>
56601
56602 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56603 -D_FORTIFY_SOURCE=1.
56604 (CPPFLAGS-tst-longjmp_chk.c): Define.
56605 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56606 (CPPFLAGS-tst-longjmp_chk2.c): Define.
56607 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56608 CFLAGS-tst-wchar-h.c.
56609
56610 2012-05-31 Marek Polacek <polacek@redhat.com>
56611
56612 [BZ #14132]
56613 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56614 __endmntent_internal): Remove declaration.
56615 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56616 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56617 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56618
56619 2012-05-30 David S. Miller <davem@davemloft.net>
56620
56621 * sysdeps/sparc/sparc32/soft-fp/q_util.c
56622 (___Q_simulate_exceptions): Use real FP ops rather than writing
56623 into the %fsr.
56624 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56625 Likewise.
56626
56627 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56628
56629 [BZ #14117]
56630 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56631 * sysdeps/x86/bits/xtitypes.h: This.
56632
56633 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56634 * sysdeps/x86/bits/wordsize.h: This.
56635
56636 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56637 * sysdeps/x86/bits/huge_vall.h: This.
56638
56639 * sysdeps/i386/bits/select.h: Removed.
56640 * sysdeps/x86_64/bits/select.h: Renamed to ...
56641 * sysdeps/x86/bits/select.h: This.
56642
56643 * sysdeps/i386/bits/setjmp.h: Removed.
56644 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56645 * sysdeps/x86/bits/setjmp.h: This.
56646
56647 * sysdeps/i386/bits/mathdef.h: Removed.
56648 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56649 * sysdeps/x86/bits/mathdef.h: This.
56650
56651 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
56652
56653 [BZ #14132]
56654 * include/sys/socket.h (__connect_internal)
56655 (__libc_sa_len_internal): Remove declaration.
56656 (__connect, __libc_sa_len): Declare hidden_proto.
56657 (SA_LEN): Remove use of INTUSE.
56658 * socket/connect.c: Add libc_hidden_def.
56659 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56660 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56661 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56662 alias.
56663 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56664 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56665 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56666 of adding _internal alias.
56667
56668 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56669
56670 [BZ #14117]
56671 * sysdeps/i386/bits/link.h: Removed.
56672 * sysdeps/i386/bits/linkmap.h: Likewise.
56673 * sysdeps/x86_64/bits/link.h: Renamed to ...
56674 * sysdeps/x86/bits/link.h: This.
56675 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56676 * sysdeps/x86/bits/linkmap.h: This.
56677
56678 * sysdeps/i386/bits/endian.h: Removed.
56679 * sysdeps/x86_64/bits/endian.h: Renamed to ...
56680 * sysdeps/x86/bits/endian.h: This.
56681
56682 * sysdeps/i386/bits/byteswap.h: Removed.
56683 * sysdeps/i386/bits/byteswap-16.h: Likewise.
56684 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56685 * sysdeps/x86/bits/byteswap.h: This.
56686 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56687 * sysdeps/x86/bits/byteswap-16.h: This.
56688 * sysdeps/i386/Implies: Add x86.
56689 * sysdeps/x86_64/Implies: Likewise.
56690
56691 2012-05-30 David S. Miller <davem@davemloft.net>
56692
56693 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56694 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56695 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56696 (FP_TRAPPING_EXCEPTIONS): Define.
56697 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56698 (FP_TRAPPING_EXCEPTIONS): Define.
56699 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56700 subnormals only when inexact has been signalled or underflow
56701 exceptions are enabled.
56702 (_FP_PACK_CANONICAL): Likewise.
56703
56704 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56705
56706 [BZ #14183]
56707 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56708 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56709
56710 2012-05-30 Richard Henderson <rth@twiddle.net>
56711
56712 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56713 with #ifndef NOT_IN_libc.
56714
56715 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
56716 marked to avoid plt entry.
56717
56718 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56719
56720 [BZ #14112]
56721 * Makeconfig (default-abi): New macro.
56722 (abi-includes): Likewise.
56723 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
56724 $(abi-$(default-abi)-lib-soname) for soname if defined.
56725 ($(common-objpfx)gnu/lib-names.stmp): Generate from
56726 abi-variants.
56727 * Makefile (installed-stubs): Likewise.
56728 * include/stubs-biarch.h: Removed.
56729 * scripts/lib-names.awk: Only handle one library at a time.
56730 * scripts/soversions.awk: Remove WORDSIZE support.
56731 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56732 entries.
56733 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56734 Removed.
56735 (syscall-list-default-condition): Likewise.
56736 (syscall-list-default-condition): Likewise.
56737 (syscall-list-includes): Likewise.
56738 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56739 syscall-list-* with abi-*. Handle undefined abi-variants.
56740 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56741 * sysdeps/unix/sysv/linux/i386/Implies: New file.
56742 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56743 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56744 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56745 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56746 Removed.
56747 (syscall-list-32-options): Likewise.
56748 (syscall-list-32-condition): Likewise.
56749 (syscall-list-64-options): Likewise.
56750 (syscall-list-64-condition): Likewise.
56751 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56752 macro.
56753 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56754 Renamed to ...
56755 (abi-*): This.
56756 (abi-64-ld-soname): New macro.
56757 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56758 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56759 Renamed to ...
56760 (abi-*): This.
56761 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56762 * sysdeps/x86_64/x32/shlib-versions: Likewise.
56763
56764 2012-05-30 Joseph Myers <joseph@codesourcery.com>
56765
56766 * sysdeps/unix/sysv/linux/kernel-features.h
56767 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56768 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56769 include <kernel-features.h>.
56770 [!__NR_ftruncate64]: Remove conditional code.
56771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56772 [__NR_ftruncate64]: Make code unconditional.
56773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56774 * sysdeps/unix/sysv/linux/truncate64.c: Do not
56775 include <kernel-features.h>.
56776 [!__NR_ftruncate64]: Remove conditional code.
56777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56778 [__NR_ftruncate64]: Make code unconditional.
56779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56781 include <kernel-features.h>.
56782 [!__NR_ftruncate64]: Remove conditional code.
56783 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56784 [__NR_ftruncate64]: Make code unconditional.
56785 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56787 include <kernel-features.h>.
56788 [!__NR_ftruncate64]: Remove conditional code.
56789 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56790 [__NR_ftruncate64]: Make code unconditional.
56791 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56792
56793 * configure.in (libc_cv_fpie): Weaken to a compile test using
56794 LIBC_TRY_CC_OPTION.
56795 * configure: Regenerated.
56796
56797 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56798
56799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56803 Refreshed.
56804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56810 Refreshed.
56811
56812 2012-05-27 David S. Miller <davem@davemloft.net>
56813
56814 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56815 (___Q_zero): New.
56816 (__Q_simulate_exceptions): Return void. Change to simulate
56817 exceptions by writing into the %fsr.
56818 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56819 (__Qp_handle_exceptions): Likewise.
56820 (numbers): Delete.
56821 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56822 __Qp_handle_exceptions.
56823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56824 __Qp_handle_exceptions.
56825 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56826 as unused and give dummy FP_RND_NEAREST initializer.
56827 (FP_INHIBIT_RESULTS): Define.
56828 (___Q_simulate_exceptions): Update declaration.
56829 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56830 formatting.
56831 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56832 as unused and give dummy FP_RND_NEAREST initializer.
56833 (__Qp_handle_exceptions): Update declaration.
56834 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56835 formatting.
56836
56837 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
56838
56839 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56840 the temporary FPU control word.
56841 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56842 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56843 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56844 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56845 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56846 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56847 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56848 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56849 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56850 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56851 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56852
56853 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56854
56855 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56856 fields.
56857
56858 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
56859
56860 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56861 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56862 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56863 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56864 Likewise.
56865 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56866 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56867 Likewise.
56868
56869 2012-05-27 Ulrich Drepper <drepper@gmail.com>
56870
56871 * po/h.po: Update from translation team.
56872
56873 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
56874
56875 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56876
56877 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56878 handling of denormals.
56879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56880 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56881 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56882 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56883 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56886 Likewise.
56887
56888 2012-05-26 Marek Polacek <polacek@redhat.com>
56889
56890 [BZ #14152]
56891 * math/libm-test.inc (fma_test): Don't always expect underflow
56892 exception.
56893
56894 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56895
56896 [BZ #12416]
56897 * elf/tst-execstack.c: Include stackinfo.h.
56898 (do_test): Adjust test case to ensure that pthread_getattr_np
56899 behaviour remains the same after marking stack executable.
56900
56901 2012-05-25 Joseph Myers <joseph@codesourcery.com>
56902
56903 * sysdeps/unix/sysv/linux/kernel-features.h
56904 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56905 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56906 kernel-features.h.
56907 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56908 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56909 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56910 kernel-features.h.
56911 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56912 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56913
56914 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
56915
56916 * configure.in: Define the default includes to being none.
56917 * configure: Regenerated.
56918
56919 2012-05-25 Roland McGrath <roland@hack.frob.com>
56920
56921 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56922 * sysdeps/x86_64/setjmp.S: Likewise.
56923 * sysdeps/i386/bsd-setjmp.S: Likewise.
56924 * sysdeps/i386/bsd-_setjmp.S: Likewise.
56925 * sysdeps/i386/setjmp.S: Likewise.
56926 * sysdeps/i386/__longjmp.S: Likewise.
56927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56928 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56929
56930 * include/stap-probe.h: New file.
56931 * configure.in: Handle --enable-systemtap.
56932 * configure: Regenerated.
56933 * config.h.in (USE_STAP_PROBE): New #undef.
56934 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56935 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56936 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56937
56938 2012-05-25 Joseph Myers <joseph@codesourcery.com>
56939
56940 [BZ #13717]
56941 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56942 to 2.4.0 where earlier.
56943 * sysdeps/unix/sysv/linux/configure: Regenerated.
56944 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56945 <kernel-features.h>.
56946 [__ASSUME_32BITUIDS]: Make code unconditional.
56947 [!__ASSUME_32BITUIDS]: Remove conditional code.
56948 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56949 <kernel-features.h>.
56950 [__ASSUME_32BITUIDS]: Make code unconditional.
56951 [!__ASSUME_32BITUIDS]: Remove conditional code.
56952 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56953 [__ASSUME_32BITUIDS]: Make code unconditional.
56954 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56955 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56956 <kernel-features.h>.
56957 [__ASSUME_32BITUIDS]: Make code unconditional.
56958 [!__ASSUME_32BITUIDS]: Remove conditional code.
56959 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56960 <kernel-features.h>.
56961 [__ASSUME_32BITUIDS]: Make code unconditional.
56962 [!__ASSUME_32BITUIDS]: Remove conditional code.
56963 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56964 <kernel-features.h>.
56965 [__ASSUME_32BITUIDS]: Make code unconditional.
56966 [!__ASSUME_32BITUIDS]: Remove conditional code.
56967 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56968 <kernel-features.h>.
56969 [__ASSUME_32BITUIDS]: Make code unconditional.
56970 [!__ASSUME_32BITUIDS]: Remove conditional code.
56971 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56972 <kernel-features.h>.
56973 [__ASSUME_32BITUIDS]: Make code unconditional.
56974 [!__ASSUME_32BITUIDS]: Remove conditional code.
56975 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56976 <kernel-features.h>.
56977 [__ASSUME_32BITUIDS]: Make code unconditional.
56978 [!__ASSUME_32BITUIDS]: Remove conditional code.
56979 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56980 <kernel-features.h>.
56981 [__ASSUME_32BITUIDS]: Make code unconditional.
56982 [!__ASSUME_32BITUIDS]: Remove conditional code.
56983 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56984 <kernel-features.h>.
56985 [__ASSUME_32BITUIDS]: Make code unconditional.
56986 [!__ASSUME_32BITUIDS]: Remove conditional code.
56987 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56988 <kernel-features.h>.
56989 [__ASSUME_32BITUIDS]: Make code unconditional.
56990 [!__ASSUME_32BITUIDS]: Remove conditional code.
56991 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56992 <kernel-features.h>.
56993 [__ASSUME_32BITUIDS]: Make code unconditional.
56994 [!__ASSUME_32BITUIDS]: Remove conditional code.
56995 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56996 <kernel-features.h>.
56997 [__NR_setresgid] (__setresgid): Do not declare.
56998 [__ASSUME_32BITUIDS]: Make code unconditional.
56999 [!__ASSUME_32BITUIDS]: Remove conditional code.
57000 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57001 <kernel-features.h>.
57002 [__NR_setresuid] (__setresuid): Do not declare.
57003 [__ASSUME_32BITUIDS]: Make code unconditional.
57004 [!__ASSUME_32BITUIDS]: Remove conditional code.
57005 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57006 <kernel-features.h>.
57007 [__ASSUME_32BITUIDS]: Make code unconditional.
57008 [!__ASSUME_32BITUIDS]: Remove conditional code.
57009 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57010 <kernel-features.h>.
57011 [__ASSUME_32BITUIDS]: Make code unconditional.
57012 [!__ASSUME_32BITUIDS]: Remove conditional code.
57013 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57014 <kernel-features.h>.
57015 [__ASSUME_32BITUIDS]: Make code unconditional.
57016 [!__ASSUME_32BITUIDS]: Remove conditional code.
57017 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57018 <kernel-features.h>.
57019 [__ASSUME_32BITUIDS]: Make code unconditional.
57020 [!__ASSUME_32BITUIDS]: Remove conditional code.
57021 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57022 <kernel-features.h>.
57023 [__ASSUME_32BITUIDS]: Make code unconditional.
57024 [!__ASSUME_32BITUIDS]: Remove conditional code.
57025 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57026 <kernel-features.h>.
57027 [__ASSUME_32BITUIDS]: Make code unconditional.
57028 [!__ASSUME_32BITUIDS]: Remove conditional code.
57029 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57030 <kernel-features.h>.
57031 [__ASSUME_32BITUIDS]: Make code unconditional.
57032 [!__ASSUME_32BITUIDS]: Remove conditional code.
57033 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57034 <kernel-features.h>.
57035 [__ASSUME_32BITUIDS]: Make code unconditional.
57036 [!__ASSUME_32BITUIDS]: Remove conditional code.
57037 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57038 <kernel-features.h>.
57039 [__ASSUME_32BITUIDS]: Make code unconditional.
57040 [!__ASSUME_32BITUIDS]: Remove conditional code.
57041 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57042 <kernel-features.h>.
57043 [__ASSUME_32BITUIDS]: Make code unconditional.
57044 [!__ASSUME_32BITUIDS]: Remove conditional code.
57045 * sysdeps/unix/sysv/linux/kernel-features.h
57046 (__ASSUME_SETRESUID_SYSCALL): Remove.
57047 (__ASSUME_SETRESGID_SYSCALL): Likewise.
57048 (__ASSUME_32BITUIDS): Likewise.
57049 (__ASSUME_LDT_WORKS): Likewise.
57050 (__ASSUME_O_DIRECTORY): Likewise.
57051 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57052 architecture but not kernel version.
57053 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57054 (__ASSUME_MMAP2_SYSCALL): Likewise.
57055 (__ASSUME_STAT64_SYSCALL): Likewise.
57056 (__ASSUME_IPC64): Likewise.
57057 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57058 <kernel-features.h>.
57059 [__ASSUME_32BITUIDS]: Make code unconditional.
57060 [!__ASSUME_32BITUIDS]: Remove conditional code.
57061 * sysdeps/unix/sysv/linux/opendir.c: Do not include
57062 <kernel-features.h>.
57063 [__ASSUME_O_DIRECTORY]: Make code unconditional.
57064 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57065 132096]: Remove conditional code.
57066 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57068 <kernel-features.h>.
57069 [__ASSUME_32BITUIDS]: Make code unconditional.
57070 [!__ASSUME_32BITUIDS]: Remove conditional code.
57071 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57072 <kernel-features.h>.
57073 [__ASSUME_32BITUIDS]: Make code unconditional.
57074 [!__ASSUME_32BITUIDS]: Remove conditional code.
57075 * sysdeps/unix/sysv/linux/setegid.c: Do not include
57076 <kernel-features.h>.
57077 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57078 unconditional.
57079 (__setresgid): Do not declare.
57080 [__ASSUME_32BITUIDS]: Make code unconditional.
57081 [!__ASSUME_32BITUIDS]: Remove conditional code.
57082 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57083 <kernel-features.h>.
57084 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57085 unconditional.
57086 (__setresuid): Do not declare.
57087 [__ASSUME_32BITUIDS]: Make code unconditional.
57088 [!__ASSUME_32BITUIDS]: Remove conditional code.
57089 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57090 <kernel-features.h>.
57091 [__ASSUME_32BITUIDS]: Make code unconditional.
57092 [!__ASSUME_32BITUIDS]: Remove conditional code.
57093 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57094 <kernel-features.h>.
57095 [__ASSUME_32BITUIDS]: Make code unconditional.
57096 [!__ASSUME_32BITUIDS]: Remove conditional code.
57097
57098 2012-05-25 Richard Henderson <rth@twiddle.net>
57099
57100 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57101 dl_hwcap to ifunc resolver.
57102 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57103 elf_ifunc_invoke.
57104 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57105 dl_hwcap to ifunc resolver.
57106 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57107
57108 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57109
57110 [BZ #14153]
57111 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57112 for |x| <= 2**-26, not 2**-57.
57113 * math/libm-test.inc (acos_test): Do not allow spurious underflow
57114 exception.
57115
57116 2012-05-24 Jeff Law <law@redhat.com>
57117
57118 * stdio-common/Makefile (tests): Add bug25.
57119 * stdio-common/bug25.c: New test.
57120
57121 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
57122
57123 [BZ #13576]
57124 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57125 multiple of MALLOC_ALIGNMENT in size.
57126 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57127
57128 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57129
57130 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57131 Require >= 256.
57132 (FILENAME_MAX): Use macro-int-constant.
57133 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
57134 (_IOFBF): Use macro-int-constant.
57135 (_IOLBF): Likewise.
57136 (_IONBF): Likewise.
57137 (SEEK_CUR): Likewise.
57138 (SEEK_END): Likewise.
57139 (SEEK_SET): Likewise.
57140 (TMP_MAX): Likewise.
57141 (EOF): Use macro-int-constant. Require < 0.
57142 (NULL): Use macro-constant. Require == 0.
57143 (stdin): Require type to be FILE *.
57144 (stdout): Likewise.
57145 (stderr): Likewise.
57146 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57147 macro-int-constant.
57148 (EXIT_SUCCESS): Likewise.
57149 (NULL): Use macro-constant. Require == 0.
57150 (RAND_MAX): Use macro-int-constant.
57151 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57152 [C99-based standards] (strtof): Require function.
57153 [C99-based standards] (strtold): Likewise.
57154 [C99-based standards] (strtoll): Likewise.
57155 [C99-based standards] (strtoull): Likewise.
57156 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57157 [ISO || ISO99 || ISO11] (limits.h): Likewise.
57158 [ISO || ISO99 || ISO11] (math.h): Likewise.
57159 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57160 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57161 [ISO || ISO99 || ISO11] (*_t): Do not allow.
57162
57163 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
57164
57165 [BZ #14132]
57166 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57167 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57168 * intl/dgettext.c (DCGETTEXT): Likewise.
57169 * intl/gettext.c (DCGETTEXT): Likewise.
57170 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57171 * posix/regex_internal.h (gettext): Likewise.
57172 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57173 Remove declaration.
57174 * include/argz.h (__argz_count_internal)
57175 (__argz_stringify_internal): Remove declaration.
57176 (__argz_count, __argz_stringify): Declare hidden proto.
57177 * intl/dcgettext.c: Remove use of INTDEF.
57178 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57179 * string/argz-stringify.c: Likewise.
57180 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57181 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57182 Declare hidden proto.
57183 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57184 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57185 Declare hidden proto.
57186 * include/stdio.h (__asprintf_internal): Don't declare.
57187 (__asprintf): Don't define as macro. Declare hidden proto.
57188 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57189 (__fsetlocking): Declare hidden proto.
57190 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57191 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57192 hidden proto.
57193 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57194 (_IO_setlinebuf): Remove use of INTUSE.
57195 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57196 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57197 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57198 Remove declaration.
57199 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57200 (_IO_do_flush): Remove use of INTUSE.
57201 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57202 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57203 (_IO_adjust_column, _IO_least_wmarker)
57204 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57205 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57206 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57207 (_IO_default_doallocate, _IO_wdefault_doallocate)
57208 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57209 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57210 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57211 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57212 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57213 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57214 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57215 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57216 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57217 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57218 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57219 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57220 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57221 proto.
57222 (_IO_flush_all_internal, _IO_adjust_column_internal)
57223 (_IO_default_uflow_internal, _IO_default_finish_internal)
57224 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57225 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57226 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57227 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57228 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57229 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57230 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57231 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57232 (_IO_file_close_internal, _IO_file_close_it_internal)
57233 (_IO_file_underflow_internal, _IO_file_overflow_internal)
57234 (_IO_file_init_internal, _IO_file_attach_internal)
57235 (_IO_file_fopen_internal, _IO_file_read_internal)
57236 (_IO_file_sync_internal, _IO_file_seek_internal)
57237 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57238 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57239 (_IO_str_underflow_internal, _IO_str_overflow_internal)
57240 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57241 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57242 (_IO_list_all_internal, _IO_link_in_internal)
57243 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57244 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57245 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57246 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57247 (_IO_do_write_internal, _IO_padn_internal)
57248 (_IO_getline_info_internal, _IO_getline_internal)
57249 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57250 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57251 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57252 (_IO_vfscanf_internal, _IO_vfprintf_internal)
57253 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57254 (_IO_init_internal, _IO_un_link_internal): Don't declare.
57255 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57256 with libc_hidden_ver, remove use of INTUSE.
57257 * libio/genops.c: Likewise.
57258 * libio/freopen.c: Likewise.
57259 * libio/freopen64.c: Likewise.
57260 * libio/iofclose.c: Likewise.
57261 * libio/iofdopen.c: Likewise.
57262 * libio/iofflush.c: Likewise.
57263 * libio/iofflush_u.c: Likewise.
57264 * libio/iofgets.c: Likewise.
57265 * libio/iofgets_u.c: Likewise.
57266 * libio/iofopen.c: Likewise.
57267 * libio/iofopncook.c: Likewise.
57268 * libio/iofread.c: Likewise.
57269 * libio/iofread_u.c: Likewise.
57270 * libio/ioftell.c: Likewise.
57271 * libio/iofwrite.c: Likewise.
57272 * libio/iogetline.c: Likewise.
57273 * libio/iogets.c: Likewise.
57274 * libio/iogetwline.c: Likewise.
57275 * libio/iopadn.c: Likewise.
57276 * libio/iopopen.c: Likewise.
57277 * libio/ioseekoff.c: Likewise.
57278 * libio/ioseekpos.c: Likewise.
57279 * libio/iosetbuffer.c: Likewise.
57280 * libio/iosetvbuf.c: Likewise.
57281 * libio/ioungetc.c: Likewise.
57282 * libio/ioungetwc.c: Likewise.
57283 * libio/iovdprintf.c: Likewise.
57284 * libio/iovsprintf.c: Likewise.
57285 * libio/iovsscanf.c: Likewise.
57286 * libio/memstream.c: Likewise.
57287 * libio/obprintf.c: Likewise.
57288 * libio/oldfileops.c: Likewise.
57289 * libio/oldiofclose.c: Likewise.
57290 * libio/oldiofdopen.c: Likewise.
57291 * libio/oldiofopen.c: Likewise.
57292 * libio/oldiopopen.c: Likewise.
57293 * libio/oldstdfiles.c: Likewise.
57294 * libio/putc.c: Likewise.
57295 * libio/setbuf.c: Likewise.
57296 * libio/setlinebuf.c: Likewise.
57297 * libio/stdfiles.c: Likewise.
57298 * libio/strops.c: Likewise.
57299 * libio/vasprintf.c: Likewise.
57300 * libio/vscanf.c: Likewise.
57301 * libio/vsnprintf.c: Likewise.
57302 * libio/vswprintf.c: Likewise.
57303 * libio/wfiledoalloc.c: Likewise.
57304 * libio/wfileops.c: Likewise.
57305 * libio/wgenops.c: Likewise.
57306 * libio/wmemstream.c: Likewise.
57307 * libio/wstrops.c: Likewise.
57308 * libio/__fpurge.c: Likewise.
57309 * libio/__fsetlocking.c: Likewise.
57310 * assert/assert.c: Likewise.
57311 * debug/fgets_chk.c: Likewise.
57312 * debug/fgets_u_chk.c: Likewise.
57313 * debug/fread_chk.c: Likewise.
57314 * debug/fread_u_chk.c: Likewise.
57315 * debug/gets_chk.c: Likewise.
57316 * debug/obprintf_chk.c: Likewise.
57317 * debug/vasprintf_chk.c: Likewise.
57318 * debug/vdprintf_chk.c: Likewise.
57319 * debug/vsnprintf_chk.c: Likewise.
57320 * debug/vsprintf_chk.c: Likewise.
57321 * malloc/mtrace.c: Likewise.
57322 * misc/error.c: Likewise.
57323 * misc/syslog.c: Likewise.
57324 * stdio-common/asprintf.c: Likewise.
57325 * stdio-common/fxprintf.c: Likewise.
57326 * stdio-common/getw.c: Likewise.
57327 * stdio-common/isoc99_fscanf.c: Likewise.
57328 * stdio-common/isoc99_scanf.c: Likewise.
57329 * stdio-common/isoc99_vfscanf.c: Likewise.
57330 * stdio-common/isoc99_vscanf.c: Likewise.
57331 * stdio-common/isoc99_vsscanf.c: Likewise.
57332 * stdio-common/printf-prs.c: Likewise.
57333 * stdio-common/printf_fp.c: Likewise.
57334 * stdio-common/printf_fphex.c: Likewise.
57335 * stdio-common/printf_size.c: Likewise.
57336 * stdio-common/putw.c: Likewise.
57337 * stdio-common/scanf.c: Likewise.
57338 * stdio-common/sprintf.c: Likewise.
57339 * stdio-common/tmpfile.c: Likewise.
57340 * stdio-common/vfprintf.c: Likewise.
57341 * stdio-common/vfscanf.c: Likewise.
57342 * stdlib/strfmon_l.c: Likewise.
57343 * sunrpc/openchild.c: Likewise.
57344 * sunrpc/xdr_stdio.c: Likewise.
57345 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57346 * sysdeps/mach/hurd/tmpfile.c: Likewise.
57347
57348 2012-05-24 Roland McGrath <roland@hack.frob.com>
57349
57350 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57351
57352 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57353 in the third column, to generate for the shared library an IFUNC
57354 that uses _dl_vdso_vsym.
57355 * Makerules (COMPILE.c, compile-stdin.c): New variables.
57356 * Makeconfig (object-suffixes-noshared): New variable.
57357
57358 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57359 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57360 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57361 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57362
57363 [BZ #14132]
57364 * include/sys/time.h (__gettimeofday): Remove macro.
57365 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57366 * time/gettimeofday.c (__gettimeofday): Remove #undef.
57367 Remove INTDEF.
57368 (__gettimeofday): Add libc_hidden_def.
57369 (gettimeofday): Add libc_hidden_weak.
57370 * sysdeps/mach/gettimeofday.c: Likewise.
57371 * sysdeps/posix/gettimeofday.c: Likewise.
57372 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57373 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57374 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57375 (__gettimeofday_internal): Remove strong_alias.
57376 (__gettimeofday): Add libc_hidden_def.
57377 (gettimeofday): Add libc_hidden_weak.
57378 * sysdeps/unix/syscalls.list (gettimeofday):
57379 Remove __gettimeofday_internal alias.
57380
57381 2012-05-24 Daniel Jacobowitz <drow@false.org>
57382 H.J. Lu <hongjiu.lu@intel.com>
57383
57384 [BZ #12495]
57385 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57386 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57387 (largebin_index_32_big): New.
57388 (largebin_index): Use it for 16-byte alignment.
57389 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
57390 correction with front_misalign.
57391
57392 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
57393
57394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57396 Likewise.
57397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57398 Likewise.
57399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57400 Likewise.
57401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57402 Likewise.
57403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57404 Likewise.
57405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57406 Likewise.
57407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57408 Likewise.
57409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57410 Likewise.
57411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57412 Likewise.
57413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57414 Likewise.
57415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57416 Likewise.
57417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57418 Likewise.
57419
57420 * scripts/data/c++-types-x32-linux-gnu.data: New file.
57421 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57422
57423 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57424
57425 [BZ #10846]
57426 [BZ #14036]
57427 * math/libm-test.inc (exp_test): Add test from bug 14036.
57428 (pow_test): Add test from bug 10846.
57429
57430 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57431 and other flags.
57432 (special_function): Do not include flags in test name.
57433 (parse_args): Likewise.
57434 * sysdeps/i386/fpu/libm-test-ulps: Update.
57435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57436 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57437 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57439
57440 * math/gen-libm-test.pl (%beautify): Add entries for underflow
57441 exceptions.
57442 * math/libm-test.inc ("Philosophy"): Update comment about
57443 exception testing.
57444 (UNDERFLOW_EXCEPTION): New macro.
57445 (UNDERFLOW_EXCEPTION_OK): Likewise.
57446 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57447 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57448 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57449 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57450 (INVALID_EXCEPTION_OK): Update value.
57451 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57452 (OVERFLOW_EXCEPTION_OK): Likewise.
57453 (IGNORE_ZERO_INF_SIGN): Likewise.
57454 (test_exceptions): Handle underflow exceptions.
57455 (acos_test): Update for underflow exception expectations.
57456 (cexp_test): Likewise.
57457 (clog_test): Likewise.
57458 (clog10_test): Likewise.
57459 (csqrt_test): Likewise.
57460 (ctan_test): Likewise.
57461 (ctanh_test): Likewise.
57462 (exp_test): Likewise.
57463 (exp10_test): Likewise.
57464 (exp2_test): Likewise.
57465 (expm1_test): Likewise.
57466 (fma_test): Likewise.
57467 (j0_test): Likewise.
57468 (jn_test): Likewise.
57469 (nexttoward_test): Likewise.
57470 (pow_test): Likewise.
57471 (scalbn_test): Likewise.
57472 (scalbln_test): Likewise.
57473 (tan_test): Likewise.
57474 (y1_test): Likewise.
57475 * sysdeps/i386/fpu/libm-test-ulps: Update.
57476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57477
57478 2012-05-23 David S. Miller <davem@davemloft.net>
57479
57480 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57481 (__libc_sigaction): Remove unused local variables.
57482
57483 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
57484
57485 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57486
57487 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
57488
57489 mktime: avoid signed integer overflow
57490 * time/mktime.c (__mktime_internal): Do not mishandle the case
57491 where diff == INT_MIN.
57492
57493 mktime: simplify computation of average
57494 * time/mktime.c (ranged_convert): Use new time_t_avg function
57495 instead of rolling our own (probably-slower) code.
57496
57497 mktime: do not assume signed right shift propagates sign bit
57498 * time/mktime.c (isdst_differ): New static function.
57499 (__mktime_internal): No need to normalize tm_isdst now.
57500 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57501 tm_isdst values.
57502
57503 mktime: merge another wrapv change from gnulib
57504 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57505 from some compilers.
57506
57507 mktime: remove incorrect attempt at unusual arithmetics
57508 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57509 The code didn't really work on such machines anyway.
57510 (TYPE_MINIMUM): Assume two's complement.
57511 (twos_complement_arithmetic): Verify that long_int and time_t
57512 are two's complement (or unsigned, in the latter case).
57513
57514 mktime: check signed shifts on long_int and time_t, too
57515 * time/mktime.c (SHR): Check that shifts work as desired
57516 on the types long_int and time_t too, as SHR is used on
57517 such types.
57518
57519 mktime: do not assume 'long' is wide enough
57520 * time/mktime.c (verify): Move decl up.
57521 (long_int): New type.
57522 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57523 to remove assumption in the code that 'long' is wide enough to
57524 store year values. This assumption is not true on x32 and on
57525 some non-glibc platforms.
57526
57527 mktime: merge wrapv change from gnulib
57528 * time/mktime.c (WRAPV): New macro.
57529 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57530 (guess_time_tm, __mktime_internal): Do not assume that signed
57531 integer overflow wraps around; modern compilers generate code
57532 where this assumption is no longer valid.
57533
57534 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
57535
57536 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57537 Replace "jmp L(pseudo_end)" with "ret".
57538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57539 Likewise.
57540
57541 2012-05-23 Andreas Jaeger <aj@suse.de>
57542
57543 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57544 * sysdeps/unix/sysv/linux/poll.c: Remove file.
57545
57546 2012-05-23 Andreas Jaeger <aj@suse.de>
57547 Maximilian Attems <max@stro.at>
57548
57549 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57550 New macros.
57551
57552 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
57553
57554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57555 code so that pseudo_end is just ret and the stack pointer is
57556 correct also for static library in error case.
57557
57558 2012-05-23 Joseph Myers <joseph@codesourcery.com>
57559
57560 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57561 move to syscalls.list.
57562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57566
57567 * manual/install.texi (Running make install): Do not mention Linux
57568 kernel version for which pt_chown is not needed.
57569 (Linux): Do not mention problems with nscd with 2.0 kernels.
57570 * INSTALL: Regenerated.
57571
57572 2012-05-23 Andreas Jaeger <aj@suse.de>
57573
57574 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57575 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57576 macro.
57577 * sysdeps/unix/sysv/linux/s390/bits/mman.h
57578 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57579 * sysdeps/unix/sysv/linux/sh/bits/mman.h
57580 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57581 * sysdeps/unix/sysv/linux/i386/bits/mman.h
57582 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57584 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57585 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57586 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57587 * sysdeps/unix/sysv/linux/bits/in.h
57588 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57589
57590 2012-05-22 Roland McGrath <roland@hack.frob.com>
57591
57592 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57593 (PREPARE_VERSION): Just use assert instead, it will be elided
57594 under [NDEBUG] anyway.
57595
57596 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57597
57598 * sysdeps/unix/sysv/linux/Makefile: Include
57599 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57600 (sysdep_routines): Remove sysctl.
57601 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57602 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57603 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57604 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57605 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57606
57607 2012-05-22 Andreas Jaeger <aj@suse.de>
57608
57609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57610 that pseudo_end is just ret and the stack pointer is correct also
57611 for static library in error case.
57612
57613 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
57614
57615 [BZ #14122]
57616 * nss/nsswitch.c (defconfig_entries): New variable.
57617 (__nss_database_lookup): Don't leak defconfig entries.
57618 (nss_parse_service_list): Don't leak on error paths.
57619 (free_database_entries): New function.
57620 (free_defconfig): New function.
57621 (free_mem): Move common code to free_database_entries.
57622
57623 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57624
57625 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57626 Add arch_prctl.
57627 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57628
57629 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57630 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57632 New macro.
57633 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57634 (INTERNAL_SYSCALL_TYPES): Likewise.
57635 (LOAD_ARGS_TYPES_[1-6]): Likewise.
57636 (LOAD_REGS_TYPES_[1-6]): Likewise.
57637 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57638 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57639
57640 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57641
57642 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57643 copysignl for GLIBC_2_0.
57644 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57645 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57647 logbl for GLIBC_2_0.
57648 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57649 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57650
57651 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57652
57653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57654 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
57655
57656 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57657 Use "neg %eax".
57658
57659 * time/mktime.c: Update copyright years.
57660
57661 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
57662
57663 mktime: merge comment-quoting-style change from gnulib
57664 * time/mktime.c: Quote 'like this' in comments.
57665 The GNU coding standards suggest that we no longer quote `like this',
57666 as "`" and "'" are typically rendered asymmetrically nowadays.
57667 The typical gnulib style is to quote 'like this' when quoting
57668 code, and "like this" when quoting English.
57669
57670 * time/mktime.c (compile-command): Add "-I.".
57671
57672 mktime: merge mktime-internal.h change from gnulib
57673 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57674
57675 mktime: merge time_r change from gnulib
57676 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57677
57678 mktime: merge DEBUG change from gnulib
57679 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57680 case system <time.h> has a #define.
57681
57682 mktime: merge <sys/types.h> change from gnulib
57683 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57684 since <time.t> is now guaranteed to define time_t.
57685
57686 mktime: merge HAVE_CONFIG_H change from gnulib
57687 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57688
57689 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57690
57691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57692 Use "neg %eax".
57693
57694 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57695 __rlim_t cast.
57696 (struct rusage): Use anonymous union to pad each field to
57697 __syscall_slong_t.
57698
57699 2012-05-21 David S. Miller <davem@davemloft.net>
57700
57701 * Makefules (o-iterator): Remove .s cases.
57702 (compile-command.s): Delete.
57703 (COMPILE.s): Delete.
57704 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57705
57706 2012-05-21 Joseph Myers <joseph@codesourcery.com>
57707
57708 * configure.in (libc_cv_predef_stack_protector): Only consider
57709 "foobar" and "__stack_chk_fail" lines in libc_undefs.
57710 * configure: Regenerated.
57711
57712 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57713
57714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57715 New macro. Use R*LP on int and pointer.
57716 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57717 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57718 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57719 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57720
57721 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57722 [__WORDSIZE_TIME64_COMPAT32] instead of
57723 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57724 (struct utmp): Likewise.
57725 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57726 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57727 Renamed to ...
57728 (__WORDSIZE_TIME64_COMPAT32): This.
57729 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57730 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57731 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57732 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57733 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57734 (__WORDSIZE_TIME64_COMPAT32): New macro.
57735
57736 2012-05-21 Andreas Jaeger <aj@suse.de>
57737
57738 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57739 only if [SHARED]. Add prototype for __wcschr_ia32.
57740
57741 2012-05-21 Roland McGrath <roland@hack.frob.com>
57742
57743 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57744 of %rbp unmolested in the jmp_buf while mangling the low bits.
57745 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57746 unmolested high bits of %rbp while demangling the low bits.
57747 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57748
57749 2012-05-21 Andreas Jaeger <aj@suse.de>
57750
57751 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57752 * sunrpc/svc_simple.c: Use it for registerrpc.
57753 * sunrpc/xcrypt.c: Use it for passwd2des.
57754
57755 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57756
57757 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57758
57759 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57760 Don't define if [__SYSCALL_WORDSIZE != 32].
57761 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57762 New macro.
57763
57764 2012-05-21 Bruno Haible <bruno@clisp.org>
57765 Andreas Jaeger <aj@suse.de>
57766
57767 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57768 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57769 inptr and inend for must_buffer_ch.
57770 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57771 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57772 * stdio-common/Makefile (tests): Remove bug15.
57773 (bug15-ENV): Remove macro.
57774 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57775 anymore.
57776
57777 2012-05-19 Andreas Jaeger <aj@suse.de>
57778 Roland McGrath <roland@hack.frob.com>
57779
57780 * manual/contrib.texi: Completely rewritten. It contains now an
57781 alphabetical list of contributors and their contributions.
57782
57783 2012-05-21 Richard Henderson <rth@twiddle.net>
57784
57785 * misc/getauxval.c (__getauxval): Use unsigned long int.
57786 * misc/sys/auxv.h: Include <sys/cdefs.h>.
57787 (getauxval): Use unsigned long int.
57788
57789 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57790
57791 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57792
57793 2012-05-21 Roland McGrath <roland@hack.frob.com>
57794
57795 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57796 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57797 __alignof__ (long double).
57798
57799 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57800
57801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57802
57803 2012-05-20 Richard Henderson <rth@twiddle.net>
57804
57805 * misc/getauxval.c: New file.
57806 * misc/sys/auxv.h: New file.
57807 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57808 (routines): Add getauxval.
57809 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57810 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57811 * elf/dl-sysdep.c (_dl_auxv): Remove.
57812 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57813 * elf/dl-support.c (_dl_auxv): New variable.
57814 (_dl_aux_init): Initialize it.
57815 * manual/startup.texi (Auxiliary Vector): New node.
57816 * sysdeps/generic/bits/hwcap.h: New file.
57817 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57818 * sysdeps/powerpc/sysdep.h: ... here. Include it.
57819 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57820 * sysdeps/sparc/sysdep.h: ... here. Include it.
57821 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57824 Update.
57825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57833
57834 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57835
57836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57837
57838 2012-05-19 David S. Miller <davem@davemloft.net>
57839
57840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57841
57842 2012-05-19 Joseph Myers <joseph@codesourcery.com>
57843
57844 [BZ #14123]
57845 * math/s_ccosh.c: Include <float.h>
57846 (__ccosh): Avoid internal overflow calculating sinh and cosh
57847 values before multiplying by sin and cos values.
57848 * math/s_ccoshf.c: Likewise.
57849 * math/s_ccoshl.c: Likewise.
57850 * math/s_csin.c: Likewise.
57851 * math/s_csinf.c: Likewise.
57852 * math/s_csinl.c: Likewise.
57853 * math/s_csinh.c: Likewise.
57854 * math/s_csinhf.c: Likewise.
57855 * math/s_csinhl.c: Likewise.
57856 * math/libm-test.inc (ccos_test): Add more tests.
57857 (ccosh_test): Likewise.
57858 (csin_test): Likewise.
57859 (csinh_test): Likewise.
57860 * sysdeps/i386/fpu/libm-test-ulps: Update.
57861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57862
57863 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
57864
57865 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57866 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57867
57868 * sysdeps/x86_64/x32/_itoa.h: Add comment.
57869
57870 2012-05-19 Joseph Myers <joseph@codesourcery.com>
57871
57872 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57873 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57874 * sysdeps/powerpc/soft-fp/Versions: Likewise.
57875 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57876 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57877 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57878 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57879 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57880 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57881 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57882 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57883 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57884 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57885 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57886 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57887 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57888 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57889 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57890 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57891 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57892 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57893 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57894 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57895 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57896 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57897 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57898 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57899 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57900 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57901 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57902 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57903
57904 2012-05-18 Andreas Jaeger <aj@suse.de>
57905
57906 * csu/.gitignore: Delete.
57907
57908 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57909
57910 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57911 (timex): Use __syscall_slong_t.
57912
57913 2012-05-18 Andreas Jaeger <aj@suse.de>
57914 Carlos O'Donell <carlos_odonell@mentor.com>
57915
57916 * manual/install.texi (Configuring and compiling): Update
57917 description about files modified in the source directory.
57918 * INSTALL: Regenerated.
57919
57920 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57921
57922 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57923 value. Use "or" to set return value to -1.
57924 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57925 negate return value.
57926
57927 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57928
57929 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57930 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57931 failure if the compiler has Graphite support disabled.
57932 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57933 Likewise.
57934 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57935 (CFLAGS-memmove.c): Likewise.
57936 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57937 Likewise.
57938
57939 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57940
57941 * sysdeps/x86_64/x32/_itoa.h: New file.
57942
57943 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57944 getdents system call only if kernel and user dirents have the
57945 same d_ino and d_off.
57946
57947 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57948 LLONG_MAX != LONG_MAX.
57949 (_itoa_word): Use _ITOA_WORD_TYPE on value.
57950 (_fitoa_word): Likewise.
57951
57952 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57953 years.
57954 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57955 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57956 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57957
57958 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57959 include <bits/wordsize.h>. Check __x86_64__ instead of
57960 __WORDSIZE.
57961 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57962 if __x86_64__ is defined. Use anonymous union on fpstate.
57963
57964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57965 anonymous union.
57966
57967 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
57968
57969 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57970 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57972 Refer to _rtld_local_ro instead of _rtld_global_ro.
57973 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57974 Likewise.
57975 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57976 Likewise.
57977 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57978 Likewise.
57979 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57980 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57981 of _rtld_global, and rtld_progname instead of _dl_argv[0].
57982
57983 [BZ #10882]
57984 * sysdeps/powerpc/powerpc32/dl-machine.c
57985 (__elf_machine_runtime_setup) [PROF]: Don't reference
57986 _dl_prof_resolve.
57987
57988 2012-05-18 Andreas Jaeger <aj@suse.de>
57989
57990 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57991 function only available for GCCs before 3.4 since GCC 3.4
57992 introduced a builtin.
57993 (lrint): Likewise.
57994 (llrintf): Likewise.
57995 (llrint): Likewise.
57996 (fmaxf): Likewise.
57997 (fmax): Likewise.
57998 (fminf): Likewise.
57999 (fmin): Likewise.
58000 (rint): Likewise.
58001 (rintf): Likewise.
58002 (nearbyint): Likewise.
58003 (nearbyintf): Likewise.
58004 (ceil): Likewise.
58005 (ceilf): Likewise.
58006 (floor): Likewise.
58007 (floorf): Likewise.
58008
58009 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58010
58011 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58012 on both fields and cast pointer to __syscall_ulong_t.
58013
58014 * bits/types.h (__fsword_t): New type.
58015 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58016 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58018 (__FSWORD_T_TYPE): Likewise.
58019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58020 (__FSWORD_T_TYPE): Likewise.
58021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58022 (__FSWORD_T_TYPE): Likewise.
58023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58024 (__FSWORD_T_TYPE): Likewise.
58025 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58026 __SWORD_TYPE with __fsword_t.
58027 (statfs64): Likewise.
58028
58029 2012-05-17 David S. Miller <davem@davemloft.net>
58030
58031 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58032
58033 2012-05-17 Andreas Jaeger <aj@suse.de>
58034
58035 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58036 warning.
58037
58038 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58039
58040 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58041
58042 2012-05-17 Andreas Jaeger <aj@suse.de>
58043
58044 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58045 when it is used.
58046
58047 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58048
58049 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58050
58051 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58052
58053 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58054 * sysdeps/x86_64/tst-mallocalign1.c: New file.
58055
58056 2012-05-17 Andreas Jaeger <aj@suse.de>
58057 Carlos O'Donell <carlos_odonell@mentor.com>
58058
58059 [BZ #14059]
58060 * sysdeps/x86_64/multiarch/init-arch.h
58061 (bit_YMM_Usable): Rename to...
58062 (bit_AVX_Usable): ... this.
58063 (bit_FMA4_Usable): New macro.
58064 (bit_XMM_state): New macro.
58065 (bit_YMM_state): New macro.
58066 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58067 [__ASSEMBLER__] (index_AVX_Usable): ... this.
58068 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58069 (CPUID_OSXSAVE): New macro.
58070 (CPUID_AVX): New macro.
58071 (CPUID_FMA4): New macro.
58072 (index_YMM_Usable): Rename to...
58073 (index_AVX_Usable): ... this.
58074 (HAS_AVX): Use HAS_ARCH_FEATURE.
58075 (HAS_FMA4): Likewise.
58076 (HAS_YMM_USABLE): Remove.
58077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58078 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58079 are present.
58080 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58081 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58082 * sysdeps/x86_64/multiarch/Makefile: Likewise.
58083 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58084 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58085
58086 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58087
58088 * math/libm-test.c: Support platforms without multiple rounding modes.
58089 * math/bug-nextafter.c: Support platforms without FP exceptions.
58090 * math/bug-nexttoward.c: Likewise.
58091 * math/test-fenv.c: Likewise.
58092 * math/test-misc.c: Likewise.
58093 * stdlib/bug-getcontext.c: Likewise.
58094
58095 2012-05-17 Andreas Jaeger <aj@suse.de>
58096
58097 * manual/examples/search.c (critter_cmp): Change signature to
58098 avoid warnings.
58099 * manual/string.texi (Collation Functions): Likewise.
58100
58101 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58102
58103 * bits/types.h: Fold copyright years.
58104 * bits/typesizes.h: Likewise.
58105 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58109 * time/time.h: Likewise.
58110
58111 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
58112
58113 [BZ #208]
58114 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58115 in instead of returning them. Return void.
58116 (__libc_mallinfo): Accumulate over all arenas.
58117 (__malloc_stats): Adjust for change in int_mallinfo interface.
58118
58119 2012-05-16 Roland McGrath <roland@hack.frob.com>
58120
58121 [BZ #10375]
58122 * configure.in (NM): Add AC_CHECK_TOOL for it.
58123 (libc_extra_cflags): New substituted variable.
58124 Check for -fstack-protector being used implicitly.
58125 * configure: Regenerated.
58126 * config.make.in (config-extra-cflags): New variable,
58127 gets @libc_extra_cflags@.
58128 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58129
58130 [BZ #10375]
58131 * configure.in: Check for _FORTIFY_SOURCE being predefined.
58132 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58133 * configure: Regenerated.
58134 * config.make.in (CPPUNDEFS): New substituted variable.
58135 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58136 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58137 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58138
58139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58140
58141 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58142 (mq_attr): Use __syscall_slong_t.
58143
58144 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58145
58146 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58147 Check __x86_64__ instead of __WORDSIZE.
58148 (_STAT_VER_LINUX): Likewise.
58149 (stat): Check __x86_64__ instead of __WORDSIZE. Use
58150 __syscall_ulong_t and __syscall_slong_t.
58151 (stat64): Likewise.
58152
58153 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58154
58155 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58156
58157 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58158
58159 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58160
58161 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58162
58163 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58164 __syscall_ulong_t.
58165
58166 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58167 include <bits/wordsize.h>. Check __x86_64__ instead of
58168 __WORDSIZE.
58169 (greg_t): Use "__extension__ long long int" if __x86_64__ is
58170 defined.
58171 (mcontext_t): Replace "unsigned long" with "unsigned long long".
58172
58173 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58174 include <bits/wordsize.h>. Check __x86_64__ instead of
58175 __WORDSIZE.
58176 (user_regs_struct): Use "__extension__ unsigned long long"
58177 instead of "unsigned long" if __x86_64__ is defined.
58178 (user): Likewise. Pad after pointer field if __ILP32__ is
58179 defined.
58180
58181 2012-05-16 Joseph Myers <joseph@codesourcery.com>
58182
58183 * configure.in (makeinfo): Require version 4.5 or later. Allow
58184 versions 5 to 9.
58185 * configure: Regenerated.
58186 * manual/install.texi (texinfo): Increase version requirement to
58187 4.5 or later.
58188 * INSTALL: Regenerated.
58189
58190 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58191
58192 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58193
58194 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58195
58196 * sysdeps/x86_64/x32/ffs.c: New file.
58197
58198 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58199 __syscall_ulong_t.
58200 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58201 defined. Use __syscall_ulong_t.
58202 (shminfo): Use __syscall_ulong_t.
58203 (shm_info): Likewise.
58204
58205 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58206 __syscall_ulong_t.
58207
58208 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58209 <bits/wordsize.h>.
58210 (msgqnum_t): Use __syscall_ulong_t.
58211 (msglen_t): Likewise.
58212 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
58213 __syscall_ulong_t.
58214
58215 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58216 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58217
58218 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58219
58220 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58221 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58222
58223 * sysvipc/sys/msg.h (msgbuf): Replace long int with
58224 __syscall_slong_t.
58225
58226 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58227 include <bits/wordsize.h>. Check __x86_64__ instead of
58228 __WORDSIZE.
58229
58230 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58231 "unsigned long long int" if __x86_64__ is defined.
58232 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58233
58234 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58235 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58236 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58237
58238 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58239 <stdint.h>.
58240 (GET_PC): Cast to uintptr_t first.
58241 (GET_FRAME): Likewise.
58242 (GET_STACK): Likewise.
58243
58244 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58245 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58246 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58247 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58248 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58249 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58250 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58251 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58252 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58253 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58255 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58256 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58259 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58260 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58261 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58262 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58263 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58264 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58265 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58266 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58267 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58268 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58269 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58270 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58271 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58272 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58273
58274 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
58275
58276 * Makerules (+depfiles): Also collect depfiles from .oS in
58277 $(extra-objs).
58278 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58279 .oS, $(libnldbl-routines)).
58280
58281 * Makerules (native-compile-mkdep-flags): Define.
58282 * sunrpc/Makefile (extra-objs): Add $(addprefix
58283 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58284 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58285 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
58286 calling $(make-target-directory).
58287
58288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58289
58290 * bits/types.h (__snseconds_t): Removed.
58291 * time/time.h (struct timespec): Replace __snseconds_t with
58292 __syscall_slong_t.
58293 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58294 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58295 Likewise.
58296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58297 (__SNSECONDS_T_TYPE): Likewise.
58298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58299 (__SNSECONDS_T_TYPE): Likewise.
58300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58301 (__SNSECONDS_T_TYPE): Likewise.
58302
58303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58304
58305 * sysdeps/mach/hurd/bits/typesizes.h
58306 (__SYSCALL_SLONG_TYPE): New macro.
58307 (__SYSCALL_ULONG_TYPE): Likewise.
58308
58309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58310
58311 * bits/types.h (__syscall_slong_t): New type.
58312 (__syscall_ulong_t): Likewise.
58313
58314 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58315 (__SYSCALL_ULONG_TYPE): Likewise.
58316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58317 (__SYSCALL_SLONG_TYPE): Likewise.
58318 (__SYSCALL_ULONG_TYPE): Likewise.
58319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58320 (__SYSCALL_SLONG_TYPE): Likewise.
58321 (__SYSCALL_ULONG_TYPE): Likewise.
58322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58323 (__SYSCALL_SLONG_TYPE): Likewise.
58324 (__SYSCALL_ULONG_TYPE): Likewise.
58325
58326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58327
58328 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58329 Add sigaltstack-offsets.sym.
58330 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58331 <sigaltstack-offsets.h>.
58332 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
58333 longjmp_msg pointer.
58334 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
58335 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58336 signal stack.
58337 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58338
58339 2012-05-15 Joseph Myers <joseph@codesourcery.com>
58340
58341 * elf/stackguard-macros.h: Remove file.
58342 * sysdeps/generic/stackguard-macros.h: New file.
58343 * sysdeps/i386/stackguard-macros.h: Likewise.
58344 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58345 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58346 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58347 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58348 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58349 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58350 * sysdeps/x86_64/stackguard-macros.h: Likewise.
58351 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58352 <elf/stackguard-macros.h>.
58353
58354 [BZ #14109]
58355 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58356 __aligned__ in attribute.
58357 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58358 (gregset_t): Likewise.
58359
58360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58361
58362 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58363 * sysdeps/x86_64/64/Implies-after: Here. New file.
58364 * sysdeps/x86_64/x32/Implies-after: New file.
58365
58366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58367
58368 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58369 and access return value for _dl_profile_fixup. Use R10_LP to
58370 load frame size.
58371
58372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58373
58374 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58375
58376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58377
58378 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58379 * sysdeps/x86_64/x32/sysdep.h: New file.
58380
58381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58382
58383 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58384 * sysdeps/x86_64/setjmp.S: Likewise.
58385
58386 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58387
58388 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58389 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58390 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58391 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58392 remove unused global constant.
58393
58394 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
58395
58396 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58397 include of <not-cancel.h>.
58398
58399 2012-05-15 Roland McGrath <roland@hack.frob.com>
58400
58401 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58402
58403 2012-05-15 Jeff Law <law@redhat.com>
58404 Andreas Jaeger <aj@suse.de>
58405
58406 [BZ #13594]
58407 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58408 out from...
58409 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58410 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58411 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58412 code changing __hst_map_handle.map.
58413
58414 2012-05-15 Roland McGrath <roland@hack.frob.com>
58415
58416 * configure.in (sysnames): Look for Implies-before and Implies-after
58417 files.
58418 * configure: Regenerated.
58419
58420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58421
58422 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58423 8-byte data alignment with LP_SIZE alignment.
58424
58425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58426
58427 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58428 into R10_LP.
58429
58430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58431
58432 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58433
58434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58435
58436 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58437 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58438 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58439 Likewise.
58440 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58441
58442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58443
58444 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58445 (stackinfo_sub_sp): Likewise.
58446
58447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58448
58449 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58450 RAX_LP.
58451
58452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58453
58454 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58455 into R*_LP.
58456
58457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58458
58459 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58460 sizes into R*_LP.
58461
58462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58463
58464 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58465
58466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58467
58468 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58469 into R11_LP and load __x86_64_shared_cache_size_half into
58470 R8_LP.
58471
58472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58473
58474 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58475 R8_LP.
58476
58477 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58478
58479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58480 logb for POWER7.
58481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58482 logbf for POWER7.
58483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58484 logbl for POWER7.
58485 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58486 powerpc32/power7/fpu/s_logb.c via #include.
58487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58488 powerpc32/power7/fpu/s_logbf.c via #include.
58489 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58490 powerpc32/power7/fpu/s_logbl.c via #include.
58491
58492 2012-05-15 Joseph Myers <joseph@codesourcery.com>
58493
58494 * README.libm: Remove file.
58495
58496 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58497
58498 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58499 count for x32. Use R*_LP and omit operand-size suffix.
58500
58501 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58502
58503 * shlib-versions: Move x86_64-.*-linux.* entries to ...
58504 * sysdeps/x86_64/64/shlib-versions: Here. New file.
58505 * sysdeps/x86_64/x32/shlib-versions: New file.
58506
58507 2012-05-14 Roland McGrath <roland@hack.frob.com>
58508
58509 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58510 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58511 Use _dl_fatal_printf instead.
58512
58513 2012-05-14 Joseph Myers <joseph@codesourcery.com>
58514
58515 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58516 set if not set by the user. Do not allow for being unset.
58517 * sysdeps/unix/sysv/linux/configure: Regenerated.
58518
58519 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58520
58521 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58522 the `q' suffix from lea and replace .quad with ASM_ADDR.
58523
58524 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58525
58526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58527 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
58528 instead of $17.
58529 (PTR_DEMANGLE): Likewise.
58530
58531 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58532
58533 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58534 (LP_OP): Likewise.
58535 (ASM_ADDR): Likewise.
58536 (RAX_LP): Likewise.
58537 (RBP_LP): Likewise.
58538 (RBX_LP): Likewise.
58539 (RCX_LP): Likewise.
58540 (RDI_LP): Likewise.
58541 (RSI_LP): Likewise.
58542 (RSP_LP): Likewise.
58543 (R8_LP): Likewise.
58544 (R9_LP): Likewise.
58545 (R10_LP): Likewise.
58546 (R10_LP): Likewise.
58547 (R11_LP): Likewise.
58548 (R12_LP): Likewise.
58549 (R13_LP): Likewise.
58550 (R14_LP): Likewise.
58551 (R15_LP): Likewise.
58552
58553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58554
58555 * sysdeps/x86_64/x32/dl-machine.h: New file.
58556
58557 2012-05-14 Andreas Jaeger <aj@suse.de>
58558
58559 * manual/Makefile (subdir): Remove export of subdir.
58560 (all): Remove target.
58561 (.PHONY): Remove all from list.
58562 (mkinstalldirs): Remove.
58563 (.PHONY): Remove installdirs from list.
58564 ($(inst_infodir)/libc.info): Use make-target-directory.
58565 (installdirs): Remove.
58566 (subdir_%): Remove.
58567 (glibc-targets): Remove.
58568 (lib): Remove.
58569 (stubs): Remove.
58570 ($(objpfx)stubs ../po/manual.pot): Remove.
58571 ($(objpfx)stamp%): Remove.
58572 (make-target-directory): Remove.
58573 (subdir_install): Remove.
58574 (routines): Remove.
58575 (aux): Remove.
58576 (sources): Remove.
58577 (objects): Remove.
58578 (headers): Remove.
58579
58580 [BZ #13750]
58581 * manual/.gitignore: Remove, it's not needed anymore.
58582 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58583 all files in it.
58584 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58585 directory.
58586 (texis): Renamed to $(objpfx)texis.
58587 (texis-path): New, contains path to generated files.
58588 (chapters.%): Use texis-path for complete path, add extra argument
58589 libc-texinfo.sh.
58590 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58591 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58592 (summary,texi, stamp-summary): Use complete path of
58593 files. Generate files in build dir.
58594 (dir-add.texi): Build in build dir.
58595 (libm-err.texi,stamp-libm-err): Likewise.
58596 (version.texi, stamp-version): Likewise.
58597 (.%c.texi): Likewise.
58598 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58599 (mostlyclean): Remove target.
58600 (realclean): Remove target.
58601 (generated): Add new variable with contents from mostlyclean and
58602 realclean, remove entries duplicated in common-mostlyclean, add
58603 stamp-libm-err and stamp-version.
58604 (generated-dirs): Add libc directory.
58605 ($(inst_infodir)/libc.info): Install files from build dir.
58606
58607 * manual/install.texi (Configuring and compiling): Adjust since
58608 the info files are not part of the tar ball anymore.
58609
58610 2012-05-14 Andreas Jaeger <aj@suse.de>
58611
58612 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58613 variable.
58614
58615 2012-05-14 Joseph Myers <joseph@codesourcery.com>
58616
58617 [BZ #13717]
58618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58619 to 2.2.0 where earlier.
58620 * sysdeps/unix/sysv/linux/configure: Regenerated.
58621 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58622 Remove conditional code.
58623 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58624 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58625 Remove conditional code.
58626 [!__NR_lchown]: Likewise.
58627 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58628 [__NR_lchown]: Likewise.
58629 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58630 comment referencing __ASSUME_LCHOWN_SYSCALL.
58631 * sysdeps/unix/sysv/linux/i386/sigaction.c
58632 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58633 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58634 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58635 Remove conditional code.
58636 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58637 (__protocol_available): Remove #if 0 code.
58638 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58639 conditional code.
58640 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58641 * sysdeps/unix/sysv/linux/kernel-features.h
58642 (__ASSUME_GETCWD_SYSCALL): Don't define.
58643 (__ASSUME_REALTIME_SIGNALS): Likewise.
58644 (__ASSUME_PREAD_SYSCALL): Likewise.
58645 (__ASSUME_PWRITE_SYSCALL): Likewise.
58646 (__ASSUME_POLL_SYSCALL): Likewise.
58647 (__ASSUME_LCHOWN_SYSCALL): Likewise.
58648 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58649 non-SPARC.
58650 (__ASSUME_SIOCGIFNAME): Don't define.
58651 (__ASSUME_MSG_NOSIGNAL): Likewise.
58652 (__ASSUME_SENDFILE): Define unconditionally.
58653 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58654 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58655 conditional code.
58656 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58657 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58658 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58659 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58660 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58661 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58662 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58664 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58667 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58670 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58679 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58685 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58687 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58688 Remove conditional code.
58689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58690 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58691 Remove conditional code.
58692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58693 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58694 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58695 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58696 Remove conditional code.
58697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58698 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58699 Remove conditional code.
58700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58701 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58702 Remove conditional code.
58703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58704 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58705 Remove conditional code.
58706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58707 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58708 Remove conditional code.
58709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58710 * sysdeps/unix/sysv/linux/sh/pwrite64.c
58711 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58713 * sysdeps/unix/sysv/linux/sigaction.c
58714 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58715 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58716 * sysdeps/unix/sysv/linux/sigpending.c
58717 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58718 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58719 * sysdeps/unix/sysv/linux/sigprocmask.c
58720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58722 * sysdeps/unix/sysv/linux/sigsuspend.c
58723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58725 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58726 (__libc_missing_rt_sigs): Remove.
58727 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58728 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58729 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58730 Remove conditional code.
58731 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58732 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58733 return 1.
58734 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58735 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58736 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58737 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58738
58739 2012-05-14 Andreas Jaeger <aj@suse.de>
58740
58741 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58742 it's not used in glibc.
58743 (__coshm1): Likewise.
58744 (__acosh1p): Likewise.
58745 (__sgn): Likewise.
58746
58747 * manual/string.texi (Copying and Concatenation): Add missing
58748 variable in concat example.
58749 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58750
58751 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58752
58753 [BZ #14103]
58754 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58755 __builtin_clzl with __builtin_clzll.
58756
58757 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58758
58759 [BZ #14104]
58760 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58761 libc_freeres_ptr.
58762
58763 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58764
58765 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58766 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58767 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58768 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58769
58770 2012-05-14 Mike Frysinger <vapier@gentoo.org>
58771
58772 * NEWS: Update ia64 info.
58773
58774 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
58775
58776 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58777 used as bcopy.
58778
58779 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
58780
58781 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58782 * sysdeps/unix/syscalls.list (dup3): Likewise.
58783 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58784 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58785
58786 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
58787
58788 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58789 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58790
58791 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
58792
58793 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58794 thread pointer.
58795 (TLS_IE): Use mov/add instead of movq/addq to load thread
58796 pointer.
58797 (TLS_GD_PREFIX): New.
58798 (TLS_GD): Use it.
58799
58800 2012-05-11 David S. Miller <davem@davemloft.net>
58801
58802 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58803 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58804 (_FPU_SETCW): Likewise.
58805
58806 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58807
58808 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58809 is 32-byte aligned.
58810
58811 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
58812
58813 [BZ #11837]
58814 * iconvdata/gb18030.c: Update tables.
58815 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
58816 characters specially.
58817 (BODY for TO_LOOP): Add encoding of missing ranges.
58818
58819 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
58820
58821 [BZ #13673]
58822 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58823 * sysdeps/mach/hurd/dup3.c: Likewise.
58824 * sysdeps/mach/hurd/readlinkat.c: Likewise.
58825 * sysdeps/powerpc/memmove.c:: Likewise.
58826
58827 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58828
58829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58830 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58831
58832 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58833
58834 * elf/elf.h (R_X86_64_RELATIVE64): New.
58835 (R_X86_64_NUM): Updated.
58836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58837 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
58838 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58839 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58840 tst-quad1pie tst-quad2pie
58841 (modules-names): Add tst-quadmod1 tst-quadmod2.
58842 ($(objpfx)tst-quad1): New dependency.
58843 ($(objpfx)tst-quad2): Likewise.
58844 ($(objpfx)tst-quad1pie): Likewise.
58845 ($(objpfx)tst-quad2pie): Likewise.
58846 * sysdeps/x86_64/tst-quad1.c: New file.
58847 * sysdeps/x86_64/tst-quad1pie.c: New file.
58848 * sysdeps/x86_64/tst-quad2.c: Likewise.
58849 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58850 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58851 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58852 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58853 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58854
58855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58856
58857 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58858 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58859 * streams/stropts.h (t_scalar_t): Define type.
58860
58861 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58862 (_PATH_PRESERVE): Set to "/var/lib".
58863 (_PATH_RWHODIR): Set to "/var/spool/rwho".
58864
58865 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58866 instead of int.
58867
58868 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58869 if __dir_mkfile succeeded.
58870
58871 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58872 checking for _hurd_dtablesize. Unlock it right after having
58873 finished _hurd_dtable allocation.
58874
58875 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58876
58877 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58878 * sysdeps/mach/hurd/configure: Regenerated.
58879 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58880 special-casing to...
58881 * sysdeps/gnu/configure.in: ... this new file.
58882 * sysdeps/unix/sysv/linux/configure: Regenerated.
58883 * sysdeps/gnu/configure: New generated file.
58884
58885 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58886 for Linux: use nsec instead of usec, as well as:
58887 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58888 members of type struct timespec.
58889 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58890 New macros.
58891 (struct stat64): Likewise.
58892 (_STATBUF_ST_NSEC): New macro.
58893 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58894
58895 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58896 __strtoul_internal rather than strtoul.
58897
58898 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58899
58900 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58901 and reject them.
58902
58903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58904
58905 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58906 which preserves existing values.
58907 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58908
58909 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58910
58911 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58912 TIMEOUT values. Return EINVAL for NFDS values either negative or
58913 greater than FD_SETSIZE.
58914
58915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58916
58917 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58918 allocated, call __vm_protect to finish enabling the existing space, and
58919 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58920 allocate the remainder.
58921
58922 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58923
58924 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58925 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
58926
58927 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58928
58929 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58930 sysdeps/mach/hurd/readlink.c.
58931
58932 * posix/tst-sysconf.c (posix_options): Only use
58933 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58934 _POSIX_SYNCHRONIZED_IO when they are defined
58935 * sysdeps/mach/hurd/bits/posix_opt.h:
58936 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58937 (_XOPEN_REALTIME): Undefine macro.
58938 (_XOPEN_REALTIME_THREADS): Undefine macro.
58939 (_XOPEN_SHM): Undefine macro.
58940 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58941 macro to -1.
58942 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58943 macro to -1.
58944 (_POSIX_ASYNC_IO): Undefine macro.
58945 (_POSIX_PRIORITIZED_IO): Undefine macro.
58946 (_POSIX_SPIN_LOCKS): Define macro to -1.
58947
58948 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58949 SA_NODEFER, SA_RESETHAND.
58950 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58951 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58952 F_DUPFD_CLOEXEC.
58953
58954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58955
58956 * elf/Makefile (pldd-modules): Define unconditionally.
58957
58958 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58959
58960 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58961
58962 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58963
58964 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58965 Return ENOENT when name is empty.
58966 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58967
58968 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58969
58970 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58971
58972 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58973
58974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58975
58976 Fix mlock in all cases except non-readable pages.
58977 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58978 instead of VM_PROT_ALL as parameter to __vm_wire function.
58979
58980 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58981 (__mkdir): When path is `/', just fail with EEXIST.
58982 * sysdeps/mach/hurd/mkdirat.c: Likewise.
58983
58984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58985
58986 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58987 <sys/uio.h> (for writev).
58988 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58989 and <sys/param.h> (for MIN).
58990
58991 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58992
58993 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58994 REQUESTED_TIME. Properly set the remaining time and return EINTR
58995 if interrupted.
58996
58997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58998
58999 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59000 Depend on against $(link-rpcuserlibs).
59001
59002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59003
59004 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59005 (__libc_stack_end): Do not use attribute_relro.
59006 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59007 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59008 to libthread-provided value.
59009 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59010 attribute_relro.
59011
59012 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59013
59014 [BZ #3748]
59015 * bits/libc-lock.h (__libc_once_get): New macro.
59016 * sysdeps/mach/bits/libc-lock.h: Likewise.
59017 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59018 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59019 instead of using implementation details.
59020
59021 * libio/fileops.c: Unconditionally include <kernel-features.h>.
59022 * libio/freopen.c: Likewise.
59023 * libio/freopen64.c: Likewise.
59024 * misc/syslog.c: Likewise.
59025 * nscd/connections.c: Likewise.
59026 * nscd/netgroupcache.c: Likewise.
59027 * sysdeps/posix/getcwd.c: Likewise.
59028
59029 2012-05-10 Roland McGrath <roland@hack.frob.com>
59030
59031 * math/w_ilogbf.c: Add #include <limits.h>.
59032
59033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59034
59035 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59036 path instead of returning without unlocking.
59037
59038 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59039 immediate-write ioctls.
59040 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59041
59042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59043
59044 * sysdeps/mach/hurd/i386/init-first.c (init): Use
59045 __builtin_frame_address instead of making assumptions about the
59046 location of the return address relative to DATA. Force early load of
59047 the return address.
59048 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59049 __builtin_frame_address.
59050
59051 dup3 for GNU Hurd.
59052 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59053 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
59054 implement dup3 and do some further code clean-ups.
59055 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59056 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59057
59058 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59059
59060 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59061
59062 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59063 HURD_CRITICAL_END around holding _hurd_dtable_lock.
59064 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59065 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59066 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59067 d->port.lock.
59068
59069 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59070 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
59071 when handler == SIG_ERR, not when handler != SIG_ERR.
59072
59073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59074
59075 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59076 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59077 definitions.
59078
59079 accept4 for GNU Hurd.
59080 * include/sys/socket.h (__libc_accept4): New prototype.
59081 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
59082 to implement __libc_accept4.
59083 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59084 __libc_accept4.
59085 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59086
59087 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59088 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59089 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59090 signal-defines.sym.
59091
59092 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59093
59094 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59095
59096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59097
59098 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59099 assertion on O_CLOEXEC flag.
59100 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59101 * hurd/intern-fd.c: Likewise.
59102 * hurd/port2fd.c: Likewise.
59103
59104 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59105
59106 [BZ #3906]
59107 * bits/in.h (IPV6_PKTINFO): Define new macro.
59108 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59109
59110 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59111
59112 [BZ #13954]
59113 [BZ #13955]
59114 [BZ #13956]
59115 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59117 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59118 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59119 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59120 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59121 * math/libm-test.inc (logb_test) : Additional logb tests.
59122
59123 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
59124 Andreas Jaeger <aj@suse.de>
59125
59126 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59127 * configure: Regenerated.
59128 * config.h.in (LINK_OBSOLETE_RPC): New macro.
59129 * config.make.in (link-obsolete-rpc): New substituted variable.
59130 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59131 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59132 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59133 (shared-only-routines): Don't set it under [link-obsolete-rpc],
59134 so that libc.a contains the symbols.
59135 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59136 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59137 * sunrpc/auth_none.c: Likewise.
59138 * sunrpc/auth_unix.c: Likewise.
59139 * sunrpc/authdes_prot.c: Likewise.
59140 * sunrpc/authuxprot.c: Likewise.
59141 * sunrpc/clnt_gen.c: Likewise.
59142 * sunrpc/clnt_perr.c: Likewise.
59143 * sunrpc/clnt_raw.c: Likewise.
59144 * sunrpc/clnt_simp.c: Likewise.
59145 * sunrpc/clnt_tcp.c: Likewise.
59146 * sunrpc/clnt_udp.c: Likewise.
59147 * sunrpc/clnt_unix.c: Likewise.
59148 * sunrpc/des_crypt.c: Likewise.
59149 * sunrpc/des_soft.c: Likewise.
59150 * sunrpc/get_myaddr.c: Likewise.
59151 * sunrpc/key_call.c: Likewise.
59152 * sunrpc/key_prot.c: Likewise.
59153 * sunrpc/netname.c: Likewise.
59154 * sunrpc/pm_getmaps.c: Likewise.
59155 * sunrpc/pm_getport.c: Likewise.
59156 * sunrpc/pmap_clnt.c: Likewise.
59157 * sunrpc/pmap_prot.c: Likewise.
59158 * sunrpc/pmap_prot2.c: Likewise.
59159 * sunrpc/pmap_rmt.c: Likewise.
59160 * sunrpc/publickey.c: Likewise.
59161 * sunrpc/rpc_cmsg.c: Likewise.
59162 * sunrpc/rpc_common.c: Likewise.
59163 * sunrpc/rpc_dtable.c: Likewise.
59164 * sunrpc/rpc_prot.c: Likewise.
59165 * sunrpc/rpc_thread.c: Likewise.
59166 * sunrpc/rtime.c: Likewise.
59167 * sunrpc/svc.c: Likewise.
59168 * sunrpc/svc_auth.c: Likewise.
59169 * sunrpc/svc_raw.c: Likewise.
59170 * sunrpc/svc_run.c: Likewise.
59171 * sunrpc/svc_tcp.c: Likewise.
59172 * sunrpc/svc_udp.c: Likewise.
59173 * sunrpc/svc_unix.c: Likewise.
59174 * sunrpc/svcauth_des.c: Likewise.
59175 * sunrpc/xcrypt.c: Likewise.
59176 * sunrpc/xdr.c: Likewise.
59177 * sunrpc/xdr_array.c: Likewise.
59178 * sunrpc/xdr_float.c: Likewise.
59179 * sunrpc/xdr_intXX_t.c: Likewise.
59180 * sunrpc/xdr_mem.c: Likewise.
59181 * sunrpc/xdr_rec.c: Likewise.
59182 * sunrpc/xdr_ref.c: Likewise.
59183 * sunrpc/xdr_sizeof.c: Likewise.
59184 * sunrpc/xdr_stdio.c: Likewise.
59185
59186 2012-05-10 Roland McGrath <roland@hack.frob.com>
59187
59188 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59189 change. Update copyright years.
59190
59191 2012-05-10 Joseph Myers <joseph@codesourcery.com>
59192
59193 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59194
59195 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
59196 Joseph Myers <joseph@codesourcery.com>
59197 Paul Pluzhnikov <ppluzhnikov@google.com>
59198
59199 [BZ #14012]
59200 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59201 requiring rpcgen.
59202 [cross-compiling] (extra-libs): Likewise.
59203 [cross-compiling] (extra-libs-others): Likewise.
59204 [cross-compiling] (librpcsvc-routines): Likewise.
59205 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59206 [cross-compiling] (omit-deps): Likewise.
59207 (sunrpc-CPPFLAGS): New variable.
59208 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59209 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59210 (cross-rpcgen-objs): New variable.
59211 (extra-objs): Append $(cross-rpcgen-objs).
59212 ($(cross-rpcgen-objs)): New rule.
59213 ($(objpfx)cross-rpcgen): Likewise.
59214 (rpcgen-cmd): Define to use $(built-program-file). Expand
59215 comment.
59216 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59217 ($(objpfx)x%.stmp): Likewise.
59218 * sunrpc/proto.h [IS_IN_build] (_): Define.
59219 [IS_IN_build] (_libc_intl_domainname): Likewise.
59220
59221 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59222
59223 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59224 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59225 and R_X86_64_TPOFF64.
59226
59227 2012-05-10 Joseph Myers <joseph@codesourcery.com>
59228
59229 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59230 sysdeps/unix/sysv/syscalls.list.
59231 (stime): Likewise.
59232 (utime): Likewise.
59233 * sysdeps/unix/sysv/syscalls.list: Remove file.
59234
59235 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
59236
59237 [BZ #3440]
59238 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59239 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59240 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59241 (__LC_IDENTIFICATION): Make these macros useful in #if
59242 expressions, as required by C99.
59243
59244 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
59245
59246 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59247 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
59248 after this.
59249
59250 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
59251
59252 * stdlib/longlong.h: Updated from GCC.
59253
59254 2012-05-09 Andreas Jaeger <aj@suse.de>
59255
59256 * nscd/nscd.c (run_modes): Make named enum, reorder so that
59257 default is first entry.
59258 (run_mode): Set type.
59259 (main): Remove informal message about syslog.
59260 (options): Fix typo.
59261
59262 [BZ #14053]
59263 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59264 to asm.
59265 (lrint): Likewise.
59266 (llrintf): Likewise.
59267 (llrint): Likewise.
59268 (rint): Likewise.
59269 (rintf): Likewise.
59270 (nearbyint): Likewise.
59271 (nearbyintf): Likewise.
59272
59273 2012-05-09 Andreas Jaeger <aj@suse.de>
59274 Pedro Alves <palves@redhat.com>
59275
59276 * nscd/nscd.c (run_mode): Use enum.
59277 (main): Cleanup coding style issue.
59278
59279 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
59280 Andreas Jaeger <aj@suse.de>
59281
59282 * nscd/nscd.c (go_background): Replaced with...
59283 (run_mode): ... this.
59284 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59285 (options): Add -F --foreground.
59286 (main): Implement it.
59287 (parse_opt): Parse it.
59288
59289 2012-05-09 Andreas Jaeger <aj@suse.de>
59290
59291 [BZ #14083]
59292 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59293 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59294 -Wconversion warning.
59295 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59296 Likewise.
59297
59298 2012-05-09 Joseph Myers <joseph@codesourcery.com>
59299
59300 * conform/data/locale.h-data (NULL): Use macro-constant. Require
59301 == 0.
59302 (LC_ALL): Use macro-int-constant.
59303 (LC_COLLATE): Likewise.
59304 (LC_CTYPE): Likewise.
59305 (LC_MESSAGES): Likewise.
59306 (LC_MONETARY): Likewise.
59307 (LC_NUMERIC): Likewise.
59308 (LC_TIME): Likewise.
59309 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59310 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59312 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59313 Specify type.
59314 [C99-based standards] (float_t): Expect type.
59315 [C99-based standards] (double_t): Expect type.
59316 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
59317 type.
59318 [C99-based standards] (HUGE_VALL): Likewise.
59319 [C99-based standards] (INFINITY): Likewise.
59320 [C99-based standards] (NAN): Likewise.
59321 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59322 [C99-based standards] (FP_NAN): Likewise.
59323 [C99-based standards] (FP_NORMAL): Likewise.
59324 [C99-based standards] (FP_SUBNORMAL): Likewise.
59325 [C99-based standards] (FP_ZERO): Likewise.
59326 [C99-based standards] (FP_FAST_FMA): Use
59327 optional-macro-int-constant. Specify type. Require == 1.
59328 [C99-based standards] (FP_FAST_FMAF): Likewise.
59329 [C99-based standards] (FP_FAST_FMAL): Likewise.
59330 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59331 [C99-based standards] (FP_ILOGBNAN): Likewise.
59332 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59333 Specify type.
59334 [C99-based standards] (MATH_ERREXCEPT): Likewise.
59335 [C99-based standards] (math_errhandling): Specify type.
59336 [ISO99 || ISO11] (signgam): Do not allow.
59337 [non-C99-based standards] (copysignf): Do not allow.
59338 [non-C99-based standards] (exp2f): Likewise.
59339 [non-C99-based standards] (log2f): Likewise.
59340 [non-C99-based standards] (modff): Allow.
59341 [non-C99-based standards] (erff): Do not allow.
59342 [non-C99-based standards] (erfcf): Likewise.
59343 [non-C99-based standards] (gammaf): Likewise.
59344 [non-C99-based standards] (hypotf): Likewise.
59345 [non-C99-based standards] (j0f): Likewise.
59346 [non-C99-based standards] (j1f): Likewise.
59347 [non-C99-based standards] (jnf): Likewise.
59348 [non-C99-based standards] (lgammaf): Likewise.
59349 [non-C99-based standards] (tgammaf): Likewise.
59350 [non-C99-based standards] (y0f): Likewise.
59351 [non-C99-based standards] (y1f): Likewise.
59352 [non-C99-based standards] (ynf): Likewise.
59353 [non-C99-based standards] (isnanf): Likewise.
59354 [non-C99-based standards] (acoshf): Likewise.
59355 [non-C99-based standards] (asinhf): Likewise.
59356 [non-C99-based standards] (atanhf): Likewise.
59357 [non-C99-based standards] (cbrtf): Likewise.
59358 [non-C99-based standards] (expm1f): Likewise.
59359 [non-C99-based standards] (ilogbf): Likewise.
59360 [non-C99-based standards] (log1pf): Likewise.
59361 [non-C99-based standards] (logbf): Likewise.
59362 [non-C99-based standards] (nextafterf): Likewise.
59363 [non-C99-based standards] (remainderf): Likewise.
59364 [non-C99-based standards] (rintf): Likewise.
59365 [non-C99-based standards] (scalbf): Likewise.
59366 [non-C99-based standards] (copysignl): Likewise.
59367 [non-C99-based standards] (exp2l): Likewise.
59368 [non-C99-based standards] (log2l): Likewise.
59369 [non-C99-based standards] (modfl): Allow.
59370 [non-C99-based standards] (erfl): Do not allow.
59371 [non-C99-based standards] (erfcl): Likewise.
59372 [non-C99-based standards] (gammal): Likewise.
59373 [non-C99-based standards] (hypotl): Likewise.
59374 [non-C99-based standards] (j0l): Likewise.
59375 [non-C99-based standards] (j1l): Likewise.
59376 [non-C99-based standards] (jnl): Likewise.
59377 [non-C99-based standards] (lgammal): Likewise.
59378 [non-C99-based standards] (tgammal): Likewise.
59379 [non-C99-based standards] (y0l): Likewise.
59380 [non-C99-based standards] (y1l): Likewise.
59381 [non-C99-based standards] (ynl): Likewise.
59382 [non-C99-based standards] (isnanl): Likewise.
59383 [non-C99-based standards] (acoshl): Likewise.
59384 [non-C99-based standards] (asinhl): Likewise.
59385 [non-C99-based standards] (atanhl): Likewise.
59386 [non-C99-based standards] (cbrtl): Likewise.
59387 [non-C99-based standards] (expm1l): Likewise.
59388 [non-C99-based standards] (ilogbl): Likewise.
59389 [non-C99-based standards] (log1pl): Likewise.
59390 [non-C99-based standards] (logbl): Likewise.
59391 [non-C99-based standards] (nextafterl): Likewise.
59392 [non-C99-based standards] (remainderl): Likewise.
59393 [non-C99-based standards] (rintl): Likewise.
59394 [non-C99-based standards] (scalbl): Likewise.
59395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59396 [non-C99-based standards] (FP_*): Do not allow.
59397 [C99-based standards] (FP_*): Change to
59398 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59399 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59400 allow.
59401 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59402 (SIG_ERR): Likewise.
59403 [X/Open-based standards] (SIG_HOLD): Likewise.
59404 (SIG_IGN): Likewise.
59405 (SIGABRT): Use macro-int-constant. Specify type. Require
59406 positive value.
59407 (SIGFPE): Likewise.
59408 (SIGILL): Likewise.
59409 (SIGINT): Likewise.
59410 (SIGSEGV): Likewise.
59411 (SIGTER): Likewise.
59412 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59413 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59414 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59415 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59416 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59417 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59418 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59419 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59420 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59421 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59422 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59423 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59424 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59425 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59426 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59427 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59428 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59429 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59430 [X/Open-based standards] (SIGTRAP): Likewise.
59431 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59432 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59433 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59434 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59435 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59436 allow.
59437
59438 2012-05-08 Ian Wienand <ianw@vmware.com>
59439
59440 [BZ #14080]
59441 * time/tzset.c (__tzset_parse_tz): Update default rules for
59442 daylight time changes in the Energy Policy Act of 2005.
59443
59444 2012-05-09 Andreas Jaeger <aj@suse.de>
59445
59446 [BZ #13983]
59447 * elf/ldconfig.c (parse_conf): Change string to make clear that
59448 ldconfig only issued a warning if ld.so.conf does not exist.
59449
59450 2012-05-08 David S. Miller <davem@davemloft.net>
59451
59452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59453 movxtod instead of popping the value on the stack.
59454
59455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59456
59457 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
59458
59459 * config.h.in: Add HAVE_ARM_PCS_VFP.
59460
59461 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
59462
59463 [BZ #13979]
59464 * include/features.h: Warn if user requests __FORTIFY_SOURCE
59465 checking but the checks are disabled for any reason.
59466
59467 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
59468
59469 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59470 and ELF64_R_TYPE with ELFW(R_TYPE).
59471
59472 2012-05-08 Joseph Myers <joseph@codesourcery.com>
59473
59474 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59475 (ulimit): Likewise.
59476
59477 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59478 (settimeofday): Likewise.
59479
59480 2012-05-08 Mike Frysinger <vapier@gentoo.org>
59481
59482 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
59483 a struct th_u2 inside the union, and move tu_block/tu_code into
59484 a new th_u3 union of tu_block/tu_code inside of that. Move
59485 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
59486 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
59487 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59488 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59489 (th_stuff): Change to th_u1.tu_stuff.
59490 (th_data): Define.
59491 (th_msg): Change to th_u1.th_u2.tu_data.
59492
59493 2012-05-07 David S. Miller <davem@davemloft.net>
59494
59495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59496
59497 [BZ #14074]
59498 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59499 (SETUP_PIC_REG): Use it.
59500 (SETUP_PIC_REG_LEAF): Use it.
59501
59502 2012-05-07 Joseph Myers <joseph@codesourcery.com>
59503
59504 [BZ #13885]
59505 [BZ #13923]
59506 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59507 USE_AS_EXPM1L.
59508 (EXPL_FINITE): Likewise.
59509 (FLDLOG): Likewise.
59510 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59511 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59512 e_expl.S.
59513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59514 USE_AS_EXPM1L.
59515 (EXPL_FINITE): Likewise.
59516 (FLDLOG): Likewise.
59517 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59518 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59519 e_expl.S.
59520 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
59521 test of -max_value argument for long double.
59522 * sysdeps/i386/fpu/libm-test-ulps: Update.
59523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59524
59525 2012-05-06 David S. Miller <davem@davemloft.net>
59526
59527 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59528 quad soft-float symbols whose references which are compiler
59529 generated.
59530 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59531
59532 2012-05-06 Joseph Myers <joseph@codesourcery.com>
59533
59534 [BZ #13884]
59535 [BZ #13914]
59536 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59537 USE_AS_EXP10L.
59538 (EXPL_FINITE): Likewise.
59539 (FLDLOG): Likewise.
59540 (c0): Likewise.
59541 (c1): Likewise.
59542 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
59543 Adjust comments for base varying.
59544 (__expl_finite): Change alias to EXPL_FINITE.
59545 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59546 e_expl.S.
59547 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59548 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59549 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59550 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59551 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59552 USE_AS_EXP10L.
59553 (EXPL_FINITE): Likewise.
59554 (FLDLOG): Likewise.
59555 (c0): Likewise.
59556 (c1): Likewise.
59557 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
59558 Adjust comments for base varying.
59559 (__expl_finite): Change alias to EXPL_FINITE.
59560 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
59561 tests for bugs.
59562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59563
59564 [BZ #14064]
59565 * math/libm-test.inc (check_float_internal): Correct ulp
59566 calculation for subnormal expected results.
59567
59568 2012-05-06 Andreas Jaeger <aj@suse.de>
59569
59570 * Makeconfig (+math-flags): New, set to -frounding-math.
59571 (+cflags): Add +math-flags so that all of glibc gets compiled with
59572 it.
59573
59574 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59575
59576 2012-05-05 Joseph Myers <joseph@codesourcery.com>
59577
59578 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59579 Disable one test.
59580
59581 [BZ #13787]
59582 [BZ #13922]
59583 [BZ #14036]
59584 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59585 (__ieee754_expl): Allow for and saturate large arguments.
59586 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59587 (u_threshold): Likewise.
59588 (__exp): Call __ieee754_exp before checking for overflow and
59589 underflow.
59590 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59591 (u_threshold): Likewise.
59592 (__expf): Call __ieee754_expf before checking for overflow and
59593 underflow.
59594 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59595 (u_threshold): Likewise.
59596 (__expl): Call __ieee754_expl before checking for overflow and
59597 underflow.
59598 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59599 (__ieee754_expl): Allow for and saturate large arguments.
59600 * math/libm-test.inc (exp_test): Add another test. Do not allow
59601 missing overflow exception on overflow.
59602 (expm1_test): Do not allow missing overflow exception on overflow.
59603
59604 * sysdeps/i386/fpu/e_expl.c: Move to ...
59605 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
59606 rather than using inline asm.
59607 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59608 * sysdeps/x86_64/fpu/e_expl.S: Copy from
59609 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59610
59611 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59612 (nice): Likewise.
59613 (poll): Likewise.
59614 (signal): Likewise.
59615 (time): Likewise.
59616 (times): Likewise.
59617
59618 2012-05-04 Joseph Myers <joseph@codesourcery.com>
59619
59620 * sysdeps/unix/syscalls.list (adjtime): Add entry from
59621 sysdeps/unix/common/syscalls.list.
59622 (fchmod): Likewise.
59623 (fchown): Likewise.
59624 (ftruncate): Likewise.
59625 (getrusage): Likewise.
59626 (gettimeofday): Likewise.
59627 (setpgid): Likewise.
59628 (setregid): Likewise.
59629 (setreuid): Likewise.
59630 (sigaction): Likewise.
59631 (truncate): Likewise.
59632 (vhangup): Likewise.
59633 * sysdeps/unix/common/syscalls.list: Remove file.
59634 * sysdeps/unix/bsd/Implies: Don't include unix/common.
59635 * sysdeps/unix/sysv/linux/Implies: Likewise.
59636
59637 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
59638
59639 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59641 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59642 Moved to ...
59643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59644 Here.
59645 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59646 to ...
59647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59648 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59649 to ...
59650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59651 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59652 to ...
59653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59654 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59655 to ...
59656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59657 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59658 to ...
59659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59660 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59661 to ...
59662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59663 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59664 to ...
59665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59666 Here.
59667 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59668 to ...
59669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59670 Here.
59671 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59672 to ...
59673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59674 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59675 Moved to ...
59676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59677 Here.
59678 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59679 to ...
59680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59681
59682 2012-05-04 Joseph Myers <joseph@codesourcery.com>
59683
59684 * sysdeps/unix/common/bits/dirent.h: Remove file.
59685 * sysdeps/unix/common/bits/fcntl.h: Likewise.
59686
59687 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59688 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59689 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59690 * sysdeps/unix/bsd/isatty.c: Likewise.
59691 * sysdeps/unix/bsd/tcdrain.c: Likewise.
59692 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59693 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59694
59695 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59696
59697 [BZ #13563]
59698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59699 long double comparison inaccuracies.
59700 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59702
59703 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
59704
59705 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59707
59708 2012-05-04 Joseph Myers <joseph@codesourcery.com>
59709
59710 [BZ #14049]
59711 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59712 nonzero digits before rounding a hex value.
59713 * stdlib/tst-strtod.c (tests): Add another test.
59714
59715 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59716
59717 * sysdeps/s390/fpu/libm-test-ulps: Update.
59718
59719 2012-05-03 Andreas Jaeger <aj@suse.de>
59720
59721 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59722 does not get optimized out.
59723 (malloc_opt_barrier): New.
59724
59725 2012-05-03 Andreas Jaeger <aj@suse.de>
59726 Roland McGrath <roland@hack.frob.com>
59727
59728 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59729 intermediate file deletion.
59730 (generated): Add .symlist files.
59731
59732 2012-05-03 Joseph Myers <joseph@codesourcery.com>
59733
59734 [BZ #13775]
59735 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59736 Redirect under this condition.
59737 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59738 [__USE_GNU] (__dprintf_chk): Not under this condition.
59739 [__USE_GNU] (__vdprintf_chk): Likewise.
59740 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59741 under this condition.
59742 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59743 [__USE_XOPEN2K8] (dprintf): Define under this condition.
59744 [__USE_XOPEN2K8] (vdprintf): Likewise.
59745 [__USE_GNU] (__dprintf_chk): Not under this condition.
59746 [__USE_GNU] (__vdprintf_chk): Likewise.
59747 [__USE_GNU] (dprintf): Likewise.
59748 [__USE_GNU] (vdprintf): Likewise.
59749
59750 2012-05-03 Roland McGrath <roland@hack.frob.com>
59751
59752 * elf/Makefile (common-generated): Set this instead of generated for
59753 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
59754 $(all-built-dso)-derived lists.
59755
59756 2012-05-03 Andreas Jaeger <aj@suse.de>
59757
59758 * sysdeps/i386/fpu/libm-test-ulps: Update.
59759
59760 * FAQ: Removed.
59761 * FAQ.in: Likewise.
59762 * scripts/gen-FAQ.pl: Likewise.
59763 * manual/install.texi (Installation): Point to online location of
59764 FAQ.
59765 * Makefile (files-for-dist): Remove FAQ.
59766 (FAQ): Remove.
59767
59768 2012-05-02 Allan McRae <allan@archlinux.org>
59769
59770 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59771 (LDFLAGS-reldepmod5.so): Likewise.
59772 (LDFLAGS-reldep6mod1.so): Likewise.
59773 (LDFLAGS-reldep6mod4.so): Likewise.
59774 (LDFLAGS-reldep8mod3.so): Likewise.
59775 (LDFLAGS-unload4mod1.so): Likewise.
59776 (LDFLAGS-unload4mod2.so): Likewise.
59777 (LDFLAGS-tst-initorder): Likewise.
59778 (LDFLAGS-tst-initordera2.so): Likewise.
59779 (LDFLAGS-tst-initordera3.so): Likewise.
59780 (LDFLAGS-tst-initordera4.so): Likewise.
59781 (LDFLAGS-tst-initorderb2.so): Likewise.
59782 (LDFLAGS-noload): Likewise.
59783 (LDFLAGS-next): Likewise.
59784 (LDFLAGS-order2mod1.so): Likewise.
59785 (LDFLAGS-order2mod2.so): Likewise.
59786 (LDFLAGS-tst-initorder2): Likewise.
59787 (LDFLAGS-tst-initorder2a.so): Likewise.
59788 (LDFLAGS-tst-initorder2b.so): Likewise.
59789 (LDFLAGS-tst-initorder2c.so): Likewise.
59790 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59791
59792 2012-05-02 David S. Miller <davem@davemloft.net>
59793
59794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59795
59796 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
59797
59798 [BZ #14055]
59799 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59800
59801 2012-05-02 Andreas Jaeger <aj@suse.de>
59802
59803 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59804 since we manipulate rounding mode.
59805 (CPPFLAGS-test-idouble.c): Likewise.
59806 (CPPFLAGS-test-ifloat.c): Likewise.
59807 (CFLAGS-test-ldouble.c): Likewise.
59808 (CFLAGS-test-double.c): Likewise.
59809 (CFLAGS-test-float.c): Likewise.
59810 (CFLAGS-test-misc.c): Likewise.
59811 (CFLAGS-test-test-fenv.c): Likewise.
59812
59813 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59814
59815 [BZ #2550]
59816 [BZ #2570]
59817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59818 comparisons to determine direction to adjust input.
59819
59820 2012-05-01 Roland McGrath <roland@hack.frob.com>
59821
59822 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59823 output to the target.
59824
59825 * scripts/localplt.awk: New file.
59826 * elf/Makefile ($(objpfx)check-localplt): Target removed.
59827 (check-localplt-CFLAGS): Variable removed.
59828 ($(all-built-dso:=.jmprel)): New static pattern rule.
59829 (generated): Add those targets.
59830 (localplt-built-dso): New variable.
59831 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59832
59833 * elf/check-localplt.c: File removed.
59834
59835 * scripts/check-execstack.awk: New file.
59836 * elf/Makefile ($(objpfx)check-execstack): Target removed.
59837 (check-execstack-CFLAGS): Variable removed.
59838 ($(objpfx)check-execstack.h): Target removed.
59839 ($(objpfx)execstack-default): New target.
59840 (generated): Add that instead of check-execstack.h.
59841 ($(all-built-dso:=.phdr)): New static pattern rule.
59842 (generated): Add those targets.
59843 * elf/check-execstack.c: File removed.
59844
59845 * scripts/check-textrel.awk: New file.
59846 * elf/Makefile ($(objpfx)check-textrel): Target removed.
59847 (check-textrel-CFLAGS): Variable removed.
59848 (all-built-dso): Use := to define.o
59849 ($(all-built-dso:=.dyn)): New static pattern rule.
59850 (generated): Add those targets.
59851 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59852 * config.make.in (READELF): New substituted variable.
59853 * elf/check-textrel.c: File removed.
59854
59855 2012-05-01 Joseph Myers <joseph@codesourcery.com>
59856
59857 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59858 allow.
59859 * conform/data/ctype.h-data [C99-based standards] (isblank):
59860 Expect function.
59861 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59862 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59864 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59865 Specify type. Require positive value.
59866 (EILSEQ): Likewise.
59867 (ERANGE): Likewise.
59868 [ISO || POSIX] (EILSEQ): Do not expect.
59869 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59870 Specify type. Require positive value.
59871 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59872 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59873 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59874 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59875 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59876 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59877 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59878 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59879 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59880 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59881 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59882 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59883 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59884 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59885 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59886 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59887 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59888 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59889 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59890 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59891 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59892 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59893 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59894 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59895 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59896 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59897 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59898 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59899 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59900 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59901 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59902 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59903 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59904 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59905 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59906 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59907 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59908 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59909 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59910 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59911 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59912 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59913 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59914 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59915 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59916 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59917 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59918 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59919 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59920 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59921 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59922 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59923 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59924 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59925 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59926 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59927 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59928 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59929 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59930 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59931 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59932 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59933 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59934 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59935 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59936 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59937 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59938 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59939 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59940 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59941 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59942 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59943 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59944 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59945 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59946 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59947 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59948 Require >= 2.
59949 (FLT_ROUNDS): Expect as macro, not constant.
59950 (FLT_MANT_DIG): Use macro-int-constant.
59951 (DBL_MANT_DIG): Likewise.
59952 (LDBL_MANT_DIG): Likewise.
59953 (FLT_DIG): Likewise.
59954 (DBL_DIG): Likewise.
59955 (LDBL_DIG): Likewise.
59956 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
59957 (DBL_MIN_EXP): Likewise.
59958 (LDBL_MIN_EXP): Likewise.
59959 (FLT_MAX_EXP): Use macro-int-constant.
59960 (DBL_MAX_EXP): Likewise.
59961 (LDBL_MAX_EXP): Likewise.
59962 (FLT_MAX_10_EXP): Likewise.
59963 (DBL_MAX_10_EXP): Likewise.
59964 (LDBL_MAX_10_EXP): Likewise.
59965 (FLT_MAX): Use macro-constant.
59966 (DBL_MAX): Likewise.
59967 (LDBL_MAX): Likewise.
59968 (FLT_EPSILON): Use macro-constant. Give upper bound.
59969 (DBL_EPSILON): Likewise.
59970 (LDBL_EPSILON): Likewise.
59971 (FLT_MIN): Likewise.
59972 (DBL_MIN): Likewise.
59973 (LDBL_MIN): Likewise.
59974 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59975 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59976 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59977 [ISO11] (FLT_HAS_SUBNORM): Likewise.
59978 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59979 [ISO11] (DBL_DECIMAL_DIG): Likewise.
59980 [ISO11] (FLT_DECIMAL_DIG): Likewise.
59981 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59982 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59983 [ISO11] (FLT_TRUE_MIN): Likewise.
59984 [ISO11] (LDBL_TRUE_MIN): Likewise.
59985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59986 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59987 (SCHAR_MIN): Use macro-int-constant. Specify type.
59988 (SCHAR_MAX): Likewise.
59989 (UCHAR_MAX): Likewise.
59990 (CHAR_MIN): Likewise.
59991 (CHAR_MAX): Likewise.
59992 (MB_LEN_MAX): Use macro-int-constant.
59993 (SHRT_MIN): Use macro-int-constant. Specify type.
59994 (SHRT_MAX): Likewise.
59995 (USHRT_MAX): Likewise.
59996 (INT_MAX): Likewise.
59997 (INT_MIN): Use macro-int-constant. Specify type. Make upper
59998 bound negative.
59999 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
60000 bound with "U".
60001 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
60002 bound with "L".
60003 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
60004 bound negative. Suffix upper bound with "L".
60005 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
60006 bound with "UL".
60007 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60008 Specify type.
60009 [C99-based standards] (LLONG_MAX): Likewise.
60010 [C99-based standards] (ULLONG_MAX): Likewise.
60011 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
60012 == 0.
60013 [ISO11] (max_align_t): Require type.
60014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60015
60016 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60017 from $CFLAGS, without defining away __attribute__ calls.
60018 (checknamespace): Use $CFLAGS_namespace.
60019
60020 * conform/conformtest.pl (@keywords): Only include C99 keywords
60021 for standards based on C99 or C11.
60022
60023 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60024 Disable tests.
60025 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60026 UNIX98]: Likewise.
60027
60028 * conform/conformtest.pl: Handle "macro-int-constant" and test for
60029 usability of symbols in #if.
60030
60031 * conform/conformtest.pl: If macro or constant types start
60032 "promoted:", expect the symbol to be of the following type
60033 promoted by the integer promotions.
60034
60035 * conform/conformtest.pl: Parse all "constant" and "macro" lines
60036 in one place. Also handle "macro-constant".
60037
60038 * conform/conformtest.pl: Only accept expected macro values with
60039 "==". Parse all "macro" lines in one place.
60040 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60041
60042 * conform/conformtest.pl: Handle braced types on "constant" lines
60043 instead of handling "typed-constant".
60044 * conform/data/signal.h-data: Use "constant" instead of
60045 "typed-constant".
60046
60047 * conform/conformtest.pl: Handle "optional-" at start of lines in
60048 one place rather than duplicating several cases. Handle each
60049 format of "macro" line with initial "optional-".
60050
60051 * conform/conformtest.pl: Only accept expected constant or
60052 optional-constant values with "==". Parse all "constant" lines in
60053 one place. Parse all "optional-constant" lines in one place.
60054 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60055 * conform/data/fmtmsg.h-data: Likewise.
60056 * conform/data/netinet/in.h-data: Likewise.
60057 * conform/data/tar.h-data: Likewise.
60058 * conform/data/limits.h-data: Use "==" form on "constant" and
60059 "optional-constant" lines.
60060
60061 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60062 Use -std=c99 for XOPEN2K.
60063 (@knownproblems): Remove.
60064 (newtoken): Don't check %isknown.
60065
60066 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60067 Do not expect macro.
60068 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60069 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60070 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60071 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60072 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60073 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60074 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60075 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60076 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60077 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60078 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60079 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60080 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60081 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60082 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60083 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60084 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60085 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60086 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60087 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60088 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60089 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60090 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60091 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60092 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60093 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60094 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60095 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60096 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60097 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60098 [XPG3] (acosh): Likewise.
60099 [XPG3] (asinh): Likewise.
60100 [XPG3] (atanh): Likewise.
60101 [XPG3] (cbrt): Likewise.
60102 [XPG3] (expm1): Likewise.
60103 [XPG3] (ilogb): Likewise.
60104 [XPG3] (log1p): Likewise.
60105 [XPG3] (logb): Likewise.
60106 [XPG3] (nextafter): Likewise.
60107 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60108 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60109 [XPG3] (remainder): Likewise.
60110 [XPG3] (rint): Likewise.
60111 [XPG3 || XPG4 || UNIX98] (round): Likewise.
60112 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60113 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60114 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60115 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60116 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60117 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60118 [UNIX98 || XOPEN2K] (scalb): Expect.
60119 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60120 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60121 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60122 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60123 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60124 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60125 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60126 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60127 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60128 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60129 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60130 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60131 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60132 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60133 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60134 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60135 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60136 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60137 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60138 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60139 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60140 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60141 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60142 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60143 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60144 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60145 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60146 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60147 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60148 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60149 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60150 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60151 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60152 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60153 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60154 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60155 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60156 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60157 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60158 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60159 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60160 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60161 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60162 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60163 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60164 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60165 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60166 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60167 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60168 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60169 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60170 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60171 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60172 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60173 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60174 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60175 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60176 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60177 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60178 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60179 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60180 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60181 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60182 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60183 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60184 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60185 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60186 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60187 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60188 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60189 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60190 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60191 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60192 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60193 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60194 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60195 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60196 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60197 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60198 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60199 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60200 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60201 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60202 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60203 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60204 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60205 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60206 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60207 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60208 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60209 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60210 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60211 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60212 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60213 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60214 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60215 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60216 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60217 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60218 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60219 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60220 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60221 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60222 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60223 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60224 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60225 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60226 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60227 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60228 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60229 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60230 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60231 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60232 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60233 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60234 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60235 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60236 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60237 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60238 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60239 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60240 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60241 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60242 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60243 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60244 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60245 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60246 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60247 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60248 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60249 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60250 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60251 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60252 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60253 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60254 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60255 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60256
60257 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60258 _XOPEN_SOURCE_EXTENDED for XPG4.
60259
60260 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60261
60262 * Makeconfig (localtime): Remove variable.
60263 (inst_localtime-file): Likewise.
60264
60265 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
60266
60267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60268 Update.
60269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60270 Update.
60271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60272 Update.
60273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60274 Update.
60275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60276 Update.
60277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60278 Update.
60279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60280 Update.
60281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60282 Update.
60283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60284 Update.
60285
60286 2012-05-01 Joseph Myers <joseph@codesourcery.com>
60287
60288 [BZ #2550]
60289 [BZ #2570]
60290 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60291 comparisons to determine direction to adjust input.
60292 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60293 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60294 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60295 Likewise.
60296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60297 Likewise.
60298 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60299 Likewise.
60300 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60301 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60302 Likewise.
60303 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60304 Likewise.
60305 * math/libm-test.inc (nexttoward_test): Add more tests.
60306
60307 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
60308
60309 [BZ #14040]
60310 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60311 in version GLIBC_2.1, not GLIBC_2.0.
60312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60313 Likewise.
60314
60315 2012-04-30 Joseph Myers <joseph@codesourcery.com>
60316
60317 [BZ #13942]
60318 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60319 (1 - x) * (1 + x).
60320 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60321 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60322 * math/libm-test.inc (acos_test): Add more tests.
60323 (asin_test): Likewise.
60324 * sysdeps/i386/fpu/libm-test-ulps: Update.
60325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60326
60327 [BZ #14034]
60328 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60329 of square root.
60330 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60331 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60332 * math/libm-test.inc (acos_test_tonearest): New function.
60333 (acos_test_towardzero): Likewise.
60334 (acos_test_downward): Likewise.
60335 (acos_test_upward): Likewise.
60336 (asin_test_tonearest): Likewise.
60337 (asin_test_towardzero): Likewise.
60338 (asin_test_downward): Likewise.
60339 (asin_test_upward): Likewise.
60340 (main): Call the new functions.
60341 * sysdeps/i386/fpu/libm-test-ulps: Update.
60342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60343
60344 [BZ #13884]
60345 [BZ #13924]
60346 * math/e_exp10.c: Include <float.h>.
60347 (__ieee754_exp10): Handle underflow here rather than multiplying
60348 large negative argument by M_LN10.
60349 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60350 of __ieee754_expf.
60351 * math/e_exp10l.c: Include <float.h>.
60352 (__ieee754_exp10l): Handle underflow here rather than multiplying
60353 large negative argument by M_LN10l.
60354 * math/libm-test.inc (exp10_test): Add another test. Do not allow
60355 spurious overflow exception on underflow.
60356
60357 2012-04-29 Marek Polacek <polacek@redhat.com>
60358
60359 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60360 (__fortify_function): New macro.
60361 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60362 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60363 __extern_always_inline.
60364 * libio/bits/stdio2.h: Likewise.
60365 * libio/bits/stdio.h: Likewise.
60366 * string/string.h: Likewise.
60367 * string/bits/string3.h: Likewise.
60368 * include/stdio.h: Likewise.
60369 * stdlib/bits/stdlib.h: Likewise.
60370 * stdlib/stdlib.h: Likewise.
60371 * rt/bits/mqueue2.h: Likewise.
60372 * rt/mqueue.h: Likewise.
60373 * posix/bits/unistd.h: Likewise.
60374 * posix/unistd.h: Likewise.
60375 * io/bits/poll2.h: Likewise.
60376 * io/bits/fcntl2.h: Likewise.
60377 * io/fcntl.h: Likewise.
60378 * io/sys/poll.h: Likewise.
60379 * misc/bits/syslog.h: Likewise.
60380 * misc/bits/syslog-ldbl.h: Likewise.
60381 * misc/sys/syslog.h: Likewise.
60382 * socket/bits/socket2.h: Likewise.
60383 * socket/sys/socket.h: Likewise.
60384 * debug/tst-chk1.c: Likewise.
60385 * wcsmbs/bits/wchar2.h: Likewise.
60386 * wcsmbs/bits/wchar-ldbl.h: Likewise.
60387 * wcsmbs/wchar.h: Likewise.
60388
60389 2012-04-29 Andreas Jaeger <aj@suse.de>
60390
60391 * Makerules (tests): Remove enable-check-abi protection.
60392 (check-abi-warn): Remove.
60393 (check-abi-%): Remove check-abi-warn usage.
60394
60395 * configure.in: Remove check-abi configure option.
60396 * configure: Regenerated.
60397 * config.make.in (enable-check-abi): Remove.
60398
60399 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
60400
60401 [BZ #14033]
60402 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60403 double functions to double *_finite functions.
60404
60405 [BZ #13941]
60406 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60407 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60408 LDBL_MIN_EXP.
60409 * stdio-common/Makefile (tests): Add tst-sprintf3.
60410 * stdio-common/tst-sprintf3.c: New file.
60411
60412 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60413 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60414
60415 2012-04-28 Joseph Myers <joseph@codesourcery.com>
60416
60417 * conform/conformtest.pl: Remove duplicate typed-constant
60418 handling.
60419
60420 2012-04-28 David S. Miller <davem@davemloft.net>
60421
60422 * Makerules (%.abilist): Add vpath on sysdep_dirs.
60423 (check-abi-%): Remove AWK script prerequisite and explicit
60424 abilist directory.
60425 (check-abi): Rewrite to just diff the symlist with the abilist.
60426 (config-tls, config-abi-config): Delete, no longer used.
60427 (update-abi-%): Remove AWK script and explicit abilist directory.
60428 (update-abi): Rewrite to simply compare and conditionally copy the
60429 symlist and the sysdep abilist file. Remove update-abi-config
60430 checks.
60431 * abilist/ld.abilist: Remove.
60432 * abilist/libBrokenLocale.abilist: Remove.
60433 * abilist/libanl.abilist: Remove.
60434 * abilist/libcrypt.abilist: Remove.
60435 * abilist/libdl.abilist: Remove.
60436 * abilist/librt.abilist: Remove.
60437 * abilist/libthread_db.abilist: Remove.
60438 * abilist/libutil.abilist: Remove.
60439 * scripts/extract-abilist.awk: Remove.
60440 * scripts/merge-abilist.awk: Remove.
60441 * sysdeps/generic/libcidn.abilist: New file.
60442 * sysdeps/generic/libnss_compat.abilist: New file.
60443 * sysdeps/generic/libnss_db.abilist: New file.
60444 * sysdeps/generic/libnss_dns.abilist: New file.
60445 * sysdeps/generic/libnss_files.abilist: New file.
60446 * sysdeps/generic/libnss_hesiod.abilist: New file.
60447 * sysdeps/generic/libnss_nis.abilist: New file.
60448 * sysdeps/generic/libnss_nisplus.abilist: New file.
60449 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60450 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60451 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60452 file.
60453 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60454 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60455 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60456 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60457 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60458 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60459 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60460 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60461 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60462 file.
60463 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60464 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60465 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60466 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60467 file.
60468 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60469 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60470 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60471 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60472 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60473 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60474 file.
60475 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60476 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60477 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60478 file.
60479 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60481 New file.
60482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60483 New file.
60484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60485 New file.
60486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60487 New file.
60488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60489 New file.
60490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60491 New file.
60492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60493 New file.
60494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60495 New file.
60496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60497 New file.
60498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60499 New file.
60500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60501 New file.
60502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60503 New file.
60504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60505 New file.
60506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60507 file.
60508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60509 New file.
60510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60511 New file.
60512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60513 file.
60514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60515 New file.
60516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60517 New file.
60518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60519 file.
60520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60521 New file.
60522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60523 New file.
60524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60525 New file.
60526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60527 New file.
60528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60529 New file.
60530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60531 New file.
60532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60534 file.
60535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60536 New file.
60537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60538 file.
60539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60540 file.
60541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60542 file.
60543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60544 file.
60545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60546 file.
60547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60548 New file.
60549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60550 file.
60551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60552 file.
60553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60554 New file.
60555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60556 file.
60557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60559 file.
60560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60561 New file.
60562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60563 file.
60564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60565 file.
60566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60567 file.
60568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60569 file.
60570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60571 file.
60572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60573 New file.
60574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60575 file.
60576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60577 file.
60578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60579 New file.
60580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60581 file.
60582 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60583 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60584 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60585 file.
60586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60587 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60588 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60589 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60590 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60591 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60592 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60593 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60594 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60595 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60598 file.
60599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60600 New file.
60601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60602 file.
60603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60604 file.
60605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60606 file.
60607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60608 file.
60609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60610 file.
60611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60612 New file.
60613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60614 New file.
60615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60616 file.
60617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60618 New file.
60619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60620 file.
60621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60623 file.
60624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60625 New file.
60626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60627 file.
60628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60629 file.
60630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60631 file.
60632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60633 file.
60634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60635 file.
60636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60637 New file.
60638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60639 New file.
60640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60641 file.
60642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60643 New file.
60644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60645 file.
60646
60647 2012-04-28 Joseph Myers <joseph@codesourcery.com>
60648
60649 * conform/conformtest.pl: Fix typo in handling typed-constant from
60650 allow-header.
60651
60652 2012-04-27 Joseph Myers <joseph@codesourcery.com>
60653
60654 * README: Cut down references to pre-2.6 Linux kernels and
60655 Linuxthreads. Update lists of configurations in libc and ports
60656 and sort alphabetically. Say "or newer" with Linux kernel version
60657 requirements.
60658
60659 * config.h.in [IS_IN_build]: Allow compiling without optimization.
60660
60661 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60662
60663 [BZ #887]
60664 * math/libm-test.inc (logb_test_downward): New test to expose
60665 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60666 rounding mode.
60667
60668 2012-04-27 Joseph Myers <joseph@codesourcery.com>
60669
60670 [BZ #14027]
60671 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60672 to be done.
60673 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60674 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60675
60676 2012-04-26 Joseph Myers <joseph@codesourcery.com>
60677
60678 * sysdeps/unix/i386/brk.S: Remove file.
60679 * sysdeps/unix/i386/dl-brk.S: Likewise.
60680 * sysdeps/unix/i386/pipe.S: Likewise.
60681 * sysdeps/unix/i386/sigreturn.S: Likewise.
60682 * sysdeps/unix/i386/syscall.S: Likewise.
60683 * sysdeps/unix/i386/vfork.S: Likewise.
60684 * sysdeps/unix/i386/wait.S: Likewise.
60685
60686 * sysdeps/unix/common/tcsendbrk.c: Move to ...
60687 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60688
60689 * configure.in (arm*-none*): Do not allow without
60690 --enable-hacker-mode.
60691 (netbsd*): Remove case setting base_os.
60692 (386bsd*): Likewise.
60693 (freebsd*): Likewise.
60694 (bsdi*): Likewise.
60695 (osf*): Likewise.
60696 (sunos*): Likewise.
60697 (ultrix*): Likewise.
60698 (newsos*): Likewise.
60699 (dynix*): Likewise.
60700 (*bsd*): Likewise.
60701 (sysv*): Likewise.
60702 (isc*): Likewise.
60703 (esix*): Likewise.
60704 (sco*): Likewise.
60705 (minix*): Likewise.
60706 (irix4*): Likewise.
60707 (irix6*): Likewise.
60708 (solaris[2-9]*): Likewise.
60709 (none): Likewise.
60710 * configure: Regenerated.
60711
60712 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60713
60714 [BZ #11521]
60715 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60716 overflow or cancellation in calculating denominator.
60717 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60718 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60719 down expression to avoid unexpected rounding in newer GCCs.
60720 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60721
60722 2012-04-26 David S. Miller <davem@davemloft.net>
60723
60724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60725 long-double compat symbols.
60726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60739
60740 2012-04-25 David S. Miller <davem@davemloft.net>
60741
60742 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60743 HWCAP_* values only after the memory barriers have been defined.
60744 (atomic_full_barrier): Define.
60745 (atomic_read_barrier): Define.
60746 (atomic_write_barrier): Define.
60747
60748 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60749
60750 * shlib-versions: Add libgcc_s version information.
60751 * sysdeps/generic/libgcc_s.h: Remove.
60752 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60753 libgcc_s.h.
60754 * sysdeps/gnu/unwind-resume.c: Likewise.
60755 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60756
60757 2012-04-25 David S. Miller <davem@davemloft.net>
60758
60759 * sysdeps/unix/sparc/brk.S: Delete.
60760 * sysdeps/unix/sparc/dl-brk.S: Delete.
60761 * sysdeps/unix/sparc/pipe.S: Delete.
60762 * sysdeps/unix/sparc/sysdep.S: Delete.
60763 * sysdeps/unix/sparc/sysdep.h: Delete.
60764 * sysdeps/unix/sparc/vfork.S: Delete.
60765 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60766 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60767 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60768 (ret_ERRVAL, r0, r1, MOVE): Define.
60769 (JUMPTARGET): Remove.
60770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60771 sysdeps/unix/sparc/sysdep.h
60772 (ENTRY, END): Remove.
60773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60774
60775 2012-04-25 Joseph Myers <joseph@codesourcery.com>
60776
60777 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60778 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60779 -DIS_IN_build.
60780
60781 * timezone/README: Update upstream location and email address for
60782 tzcode and tzdata.
60783 * timezone/zdump.c: Update from tzcode 2012b.
60784 * timezone/zic.c: Likewise.
60785
60786 * configure.in (libc_cv_as_needed): Remove test.
60787 * configure: Regenerated.
60788 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60789 conditional definition.
60790 [$(have-as-needed) != yes] (no-as-needed): Likewise.
60791 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60792 * config.make.in (have-as-needed): Remove variable.
60793
60794 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60795 Paul Pluzhnikov <ppluzhnikov@google.com>
60796
60797 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60798 strings correctly.
60799
60800 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
60801
60802 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60803 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60804 * sysdeps/sh/strlen.S: Likewise.
60805
60806 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60807
60808 * sysdeps/unix/fork.S: Remove file.
60809 * sysdeps/unix/i386/fork.S: Likewise.
60810 * sysdeps/unix/sparc/fork.S: Likewise.
60811
60812 * sysdeps/unix/system.c: Remove file.
60813 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60814
60815 * sysdeps/unix/getegid.S: Remove file.
60816 * sysdeps/unix/geteuid.S: Likewise.
60817
60818 2012-04-24 Roland McGrath <roland@hack.frob.com>
60819
60820 * scripts/check-localplt.awk: New file.
60821 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60822 of diff.
60823 * scripts/data/localplt-generic.data: Add a comment.
60824
60825 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60826 NODE when __dir_mkfile failed.
60827 * sysdeps/mach/hurd/symlinkat.c: Likewise.
60828 Reported by Ludovic Courtès <ludo@gnu.org>.
60829
60830 2012-04-24 Andreas Jaeger <aj@suse.de>
60831
60832 * Makerules (common-clean): Also remove gen-as-const-headers
60833 files.
60834
60835 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60836
60837 * Makerules (native-compile): Do not change working directory for
60838 build. Use $(OUTPUT_OPTION) in command.
60839 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60840
60841 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60842
60843 [BZ #13886]
60844 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60845 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60846 * math/libm-test.inc (floor_test): Add more tests.
60847 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60848
60849 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60850
60851 * sysdeps/unix/getdents.c: Remove file.
60852 * sysdeps/unix/sysv/getdents.c: Likewise.
60853 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60854
60855 * sysdeps/unix/syscalls.list (madvise): Add syscall from
60856 sysdeps/unix/mman/syscalls.list.
60857 (mmap): Likewise.
60858 (mprotect): Likewise.
60859 (msync): Likewise.
60860 (munmap): Likewise.
60861 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60862 * sysdeps/unix/mman/syscalls.list: Remove.
60863 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60864
60865 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60866 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60867 * configure: Regenerated.
60868 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60869 $(libgcc_s_suffix).
60870 * config.make.in (libgcc_s_suffix): Remove variable.
60871
60872 2012-04-23 Joseph Myers <joseph@codesourcery.com>
60873
60874 * sysdeps/unix/sysv/gethostname.c: Move to ...
60875 * sysdeps/posix/gethostname.c: ... here.
60876
60877 * sysdeps/unix/execve.S: Remove file.
60878
60879 * sysdeps/unix/_exit.S: Remove file.
60880
60881 2012-04-23 Andreas Jaeger <aj@suse.de>
60882
60883 [BZ #13739]
60884 * manual/Makefile: Remove make dist support, there's no
60885 need for a stand-alone documentation tar ball.
60886 (TEXI2DVI): Define always, it's not in Makeconfig.
60887 (dist): Removed.
60888 (tar-it): Removed.
60889 (edition): Removed.
60890 (glibc-doc-$(edition).tar): Removed
60891 (%.Z): Removed.
60892 (%.gz): Removed.
60893 (%.uu): Removed.
60894 (ETAGS): Remove, it's in Makeconfig.
60895 (move-if-change): Remove, it's in Makeconfig.
60896
60897 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
60898
60899 [BZ #13970]
60900 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60901 (strtod, strtof, strtold, strtol, strtoul, strtoq)
60902 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60903 (strtod_l, strtof_l, strtold_l): Remove __wur.
60904 It is not necessarily an error to ignore strtol's return value.
60905 One can reliably look at the stored endptr to decide whether
60906 the number had valid syntax.
60907
60908 2012-04-21 Andreas Jaeger <aj@suse.de>
60909
60910 [BZ #13739]
60911 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60912
60913 2012-04-21 Joseph Myers <joseph@codesourcery.com>
60914
60915 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60916 * sysdeps/unix/sysv/Versions: Remove file.
60917
60918 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
60919
60920 [BZ #13927]
60921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60922
60923 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
60924
60925 [BZ #7064]
60926 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60927 version from __vm86.
60928
60929 2012-04-20 Joseph Myers <joseph@codesourcery.com>
60930
60931 * sysdeps/unix/common/lxstat.c: Remove file.
60932 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60933
60934 * sysdeps/unix/sysv/Makefile: Remove file.
60935
60936 * sysdeps/unix/sysv/direct.h: Remove file.
60937
60938 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60939 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60940 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60941 * sysdeps/unix/sysv/bits/signum.h: Likewise.
60942 * sysdeps/unix/sysv/bits/stat.h: Likewise.
60943 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60944 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60945
60946 * sysdeps/unix/sysv/setrlimit.c: Remove file.
60947
60948 * sysdeps/unix/xmknod.c: Remove file.
60949 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60950
60951 * sysdeps/unix/sysv/settimeofday.c: Remove file.
60952
60953 * sysdeps/unix/sysv/i386/time.S: Remove file.
60954
60955 * sysdeps/unix/fxstat.c: Remove file.
60956 * sysdeps/unix/xstat.c: Likewise.
60957 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60958
60959 * sysdeps/unix/sysv/sigaction.c: Remove file.
60960
60961 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60962 (sysdep_headers): Remove variable.
60963 [termio.h not in sysdep_headers] (generated): Likewise.
60964 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60965 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60966 * sysdeps/unix/sysv/tcdrain.c: Likewise.
60967 * sysdeps/unix/sysv/tcflow.c: Likewise.
60968 * sysdeps/unix/sysv/tcflush.c: Likewise.
60969 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60970 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60971 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60972 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60973 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60974
60975 * sysdeps/unix/siglist.c: Remove file.
60976
60977 * sysdeps/unix/getppid.S: Remove file.
60978
60979 * sysdeps/unix/mkdir.c: Remove file.
60980 * sysdeps/unix/rmdir.c: Likewise.
60981
60982 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
60983
60984 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60985 ERR_MAX value.
60986 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60987 errlist-compat value.
60988
60989 2012-04-18 David S. Miller <davem@davemloft.net>
60990
60991 * sysdeps/generic/memcopy.h (reg_char): Delete.
60992 * debug/strcat_chk.c: Use char, not reg_char.
60993 * debug/strcpy_chk.c: Likewise.
60994 * debug/strncat_chk.c: Likewise.
60995 * debug/strncpy_chk.c: Likewise.
60996 * string/memchr.c: Likewise.
60997 * string/memrchr.c: Likewise.
60998 * string/rawmemchr.c: Likewise.
60999 * string/strcat.c: Likewise.
61000 * string/strchr.c: Likewise.
61001 * string/strchrnul.c: Likewise.
61002 * string/strcmp.c: Likewise.
61003 * string/strcpy.c: Likewise.
61004 * string/strncat.c: Likewise.
61005 * string/strncmp.c: Likewise.
61006 * string/strncpy.c: Likewise.
61007
61008 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61009
61010 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61011 __builtin_memcopy is called when src and dest ranges are known to not
61012 overlap.
61013
61014 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61015
61016 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61017 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61018 fwd_align_merge macro call.
61019 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61020 bwd_align_merge macro call.
61021 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61022
61023 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61024
61025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61026 bwd_align_merge macros.
61027 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61028 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61029 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61030
61031 2012-04-18 David S. Miller <davem@davemloft.net>
61032
61033 * sysdeps/sparc/sparc64/memcopy.h: Delete.
61034
61035 2012-04-18 Andreas Jaeger <aj@suse.de>
61036
61037 [BZ# 6794]
61038 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61039 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61040 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61041
61042 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61043 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61044 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61045
61046 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61047 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61048 Adjust for changed ldbl-128 files.
61049
61050 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61051 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61052 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61053
61054 2012-04-17 David S. Miller <davem@davemloft.net>
61055
61056 * sysdeps/sparc/sparc32/memcopy.h: Delete.
61057
61058 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
61059
61060 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61061 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61062 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61063 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61064 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61065 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61066
61067 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61068
61069 [BZ #6794]
61070 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61071 * math/libm-test.inc: Add ilogb errno and exception tests.
61072 * math/w_ilogb.c: New file: ilogb wrapper.
61073 * math/w_ilogbf.c: New file: ilogbf wrapper.
61074 * math/w_ilogbl.c: New file: ilogbl wrapper.
61075 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61076 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61077 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61078 exception being thrown with 0.0 as argument.
61079 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61080 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61081 exception being thrown with 0.0 as argument.
61082 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61083 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61084 exception being thrown with 0.0 as argument.
61085 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61086 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61087 exception being thrown with 0.0 as argument.
61088 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61089 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61090 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61091 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61092 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61093 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61094 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61095 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61096 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61097
61098 2012-04-17 Petr Baudis <pasky@ucw.cz>
61099
61100 * include/sys/uio.h: Change __vector to __iovec to avoid clash
61101 with altivec.
61102
61103 2012-04-16 Marek Polacek <polacek@redhat.com>
61104
61105 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61106
61107 2012-04-16 Marek Polacek <polacek@redhat.com>
61108
61109 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61110 operands of fdivp instruction.
61111
61112 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61113
61114 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61115 * elf/tst-auditmod3b.c: Likewise.
61116 * elf/tst-auditmod4b.c: Likewise.
61117 * elf/tst-auditmod5b.c: Likewise.
61118 * elf/tst-auditmod6b.c: Likewise.
61119 * elf/tst-auditmod6c.c: Likewise.
61120 * elf/tst-auditmod7b.c: Likewise.
61121 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61122 * sysdeps/x86_64/preconfigure.in: Likewise.
61123 * sysdeps/x86_64/preconfigure: Regenerated.
61124
61125 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61126
61127 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61128 __ILP32__.
61129
61130 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
61131
61132 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61133 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61134
61135 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
61136
61137 [BZ #13973]
61138 * locale/iso-639.def: Fix gl language name. Spotted by
61139 Yaron Shahrabani.
61140
61141 2012-04-12 Roland McGrath <roland@hack.frob.com>
61142
61143 [BZ #2074]
61144 * libio/libio.h (__io_write_fn): Update comment.
61145
61146 2012-04-12 Petr Baudis <pasky@ucw.cz>
61147
61148 [BZ #2074]
61149 * stdio.texi (Hook Functions): The user provided writer function
61150 is not allowed to return -1.
61151
61152 2012-04-11 David S. Miller <davem@davemloft.net>
61153
61154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61155
61156 2012-04-11 Mike Frysinger <vapier@gentoo.org>
61157
61158 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61159 Add a leading slash to rtkaio.
61160
61161 2012-04-11 Jim Meyering <meyering@redhat.com>
61162
61163 [BZ #11959]
61164 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61165 It is not necessarily an error to ignore fwrite's return
61166 value. One can reliably use ferror to test for errors after
61167 the fact.
61168
61169 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
61170
61171 * bits/types.h (__snseconds_t): New type.
61172 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61173
61174 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61175 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61176 (__SNSECONDS_T_TYPE): Likewise.
61177 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61178 (__SNSECONDS_T_TYPE): Likewise.
61179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61180 (__SNSECONDS_T_TYPE): Likewise.
61181
61182 2012-04-10 Andreas Jaeger <aj@suse.de>
61183
61184 [BZ #2636]
61185 * manual/time.texi (Processor Time): Return type of times is
61186 elapsed real time since an arbitrary point in the past.
61187 (CPU Time): Move CLK_TCK from here...
61188 (Processor Time): ...to here. Correct description.
61189 * manual/conf.texi (Constants for Sysconf): Correct description of
61190 _SC_CLK_TCK.
61191
61192 2012-04-10 David S. Miller <davem@davemloft.net>
61193
61194 [BZ #13967]
61195 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61196 where the is a gap between DT_REL(A) and DT_JMPREL.
61197
61198 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
61199
61200 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61201 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61202 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61203
61204 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61205
61206 * elf/dl-support.c (_dl_inhibit_cache): New variable.
61207 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61208 (dl_main): Handle --inhibit-cache.
61209 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61210 _dl_inhibit_cache.
61211 * elf/dl-load.c (_dl_map_object): Use it.
61212 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61213
61214 2012-04-09 Joseph Myers <joseph@codesourcery.com>
61215
61216 [BZ #13872]
61217 * sysdeps/i386/fpu/e_powl.S (p78): New object.
61218 (__ieee754_powl): Saturate large exponents rather than testing for
61219 overflow of y*log2(x).
61220 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61221 * math/libm-test.inc (pow_test): Do not permit spurious overflow
61222 exceptions.
61223
61224 [BZ #11521]
61225 * math/s_ctan.c: Include <float.h>.
61226 (__ctan): Avoid internal overflow or cancellation in calculating
61227 denominator.
61228 * math/s_ctanf.c: Likewise.
61229 * math/s_ctanl.c: Likewise.
61230 * math/s_ctanh.c: Likewise.
61231 * math/s_ctanhf.c: Likewise.
61232 * math/s_ctanhl.c: Likewise.
61233 * math/libm-test.inc (ctan_test): Add more tests.
61234 (ctanh_test): Likewise.
61235 * sysdeps/i386/fpu/libm-test-ulps: Update.
61236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61237
61238 2012-04-09 Andreas Jaeger <aj@suse.de>
61239
61240 [BZ #6894]
61241 * manual/filesys.texi (Directory Entries): Mention that d_namlen
61242 is an optional BSD extension.
61243
61244 [BZ #10254]
61245 * manual/stdio.texi (Opening Streams): Document additional fopen
61246 parameters.
61247
61248 2012-04-09 Roland McGrath <roland@hack.frob.com>
61249
61250 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61251 %eax without telling the compiler.
61252
61253 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
61254
61255 [BZ # 13963]
61256 * manual/install.texi: Use sourceware.org.
61257
61258 2012-04-09 Joseph Myers <joseph@codesourcery.com>
61259
61260 [BZ #13873]
61261 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61262 (__ieee754_pow): Generate overflow and underflow using huge*huge
61263 and tiny*tiny rather than just returning constant infinity or zero
61264 for large exponents.
61265 * math/libm-test.inc (pow_test): Require overflow exceptions for
61266 applicable cases of large exponents.
61267
61268 [BZ #706]
61269 * sysdeps/i386/fpu/e_pow.S (p10): New object.
61270 (__ieee754_pow): Use iterative multiplication algorithm only for
61271 integer exponents with absolute value below 1024. Check for odd
61272 integer exponents when using algorithm for real exponents.
61273 * math/libm-test.inc (pow_test): Add more tests.
61274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61275
61276 2012-04-08 Joseph Myers <joseph@codesourcery.com>
61277
61278 [BZ #13705]
61279 * math/libm-test.inc (exp_test): Do not allow overflow exception
61280 on underflow test.
61281
61282 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
61283
61284 [BZ #13705]
61285 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61286 instead of __kernel_standard_f.
61287
61288 2012-04-08 Mike Frysinger <vapier@gentoo.org>
61289
61290 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61291 * sysdeps/x86_64/memset_chk.S: Likewise.
61292
61293 2012-04-08 Andreas Jaeger <aj@suse.de>
61294
61295 [BZ #10153]
61296 * manual/startup.texi (Environment Access): Describe return value
61297 for putenv and setenv.
61298
61299 [BZ #6895]
61300 * manual/filesys.texi (Directory Entries): Add description for
61301 DT_LNK.
61302
61303 [BZ #6890]
61304 * manual/filesys.texi (Directory Entries): Clarify that it's file
61305 system not operating system in the description of DT_UNKNOWN.
61306
61307 [BZ #6578]
61308 * manual/syslog.texi (closelog): Fix reference, it's openlog.
61309
61310 2012-04-08 Stephen Compall <s11@member.fsf.org>
61311
61312 [BZ #6649]
61313 * manual/llio.texi (Opening and Closing Files): Add cross
61314 reference to explain mode argument.
61315
61316 2012-04-07 Mike Frysinger <vapier@gentoo.org>
61317
61318 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61319 * sysdeps/x86_64/memset_chk.S: Likewise.
61320
61321 2012-04-07 David S. Miller <davem@davemloft.net>
61322
61323 * elf/elf.h (R_SPARC_WDISP10): Define.
61324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61325 R_SPARC_SIZE32.
61326 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61327 R_SPARC_SIZE64 and R_SPARC_H34.
61328
61329 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
61330
61331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61332 conditions and remove no longer applicable assertion.
61333
61334 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
61335
61336 * bits/byteswap.h: Include <features.h>.
61337 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61338 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61339
61340 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
61341
61342 * bits/byteswap.h (__bswap_16): Removed.
61343 Include <bits/byteswap-16.h> to get __bswap_16.
61344 * sysdeps/i386/bits/byteswap.h: Likewise.
61345 * sysdeps/s390/bits/byteswap.h: Likewise.
61346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61347 * bits/byteswap-16.h: New file.
61348 * sysdeps/i386/bits/byteswap-16.h: Likewise.
61349 * sysdeps/s390/bits/byteswap-16.h: Likewise.
61350 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61351 * string/Makefile (headers): Add bits/byteswap-16.h.
61352
61353 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
61354
61355 [BZ #13895]
61356 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61357 extra indirection.
61358 * nss/Makefile (tests-static, tests): Add tst-nss-static.
61359 * nss/tst-nss-static.c: New.
61360
61361 2012-04-06 Robert Millan <rmh@gnu.org>
61362
61363 [BZ #6486]
61364 * manual/llio.texi (File Position Primitive): lseek
61365 refers to WHENCE when it really means OFFSET.
61366
61367 2012-04-06 Andreas Jaeger <aj@suse.de>
61368
61369 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61370 strncmp declarations.
61371
61372 * abilist/libc.abilist: Add __poll and __ppoll.
61373
61374 2012-04-05 David S. Miller <davem@davemloft.net>
61375
61376 * scripts/check-local-headers.sh: Accept a host triplet in the
61377 path matched by the exclude regexp.
61378
61379 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61380 definition.
61381 * sysdeps/powerpc/powerpc32/dl-machine.h
61382 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61383 * sysdeps/s390/s390-32/dl-machine.h
61384 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61385 * sysdeps/sparc/sparc32/dl-machine.h
61386 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61387 * sysdeps/sparc/sparc64/dl-machine.h
61388 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61389
61390 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61391 lazy binding.
61392 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61393 undefined symbol errors.
61394
61395 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61396 DT_NEEDED entries.
61397
61398 2012-04-05 Michael Matz <matz@suse.de>
61399
61400 [BZ #13592]
61401 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61402
61403 2012-04-05 Andreas Jaeger <aj@suse.de>
61404
61405 [BZ #13908]
61406 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61407 comment.
61408
61409 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61410
61411 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61412 which ROUND is no valid rounding mode.
61413
61414 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61415
61416 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61417 read again.
61418 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61419
61420 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61421
61422 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61423 an exception using FPU order intentionally.
61424
61425 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61426
61427 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61428 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61429 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61430 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61431
61432 2012-04-05 Simon Josefsson <simon@josefsson.org>
61433
61434 [BZ #12340]
61435 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61436 EINVAL when BUFLEN is too smal.
61437
61438 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
61439
61440 [BZ #13553]
61441 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61442 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61443
61444 2012-04-03 Andreas Jaeger <aj@suse.de>
61445
61446 [BZ #13938]
61447 * manual/setjmp.texi (System V contexts): Fix sentence.
61448
61449 [BZ #13926]
61450 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61451 New macro for this case.
61452 [!__GNUC__] (__bswap_64): New inline function for this case.
61453 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61454 * bits/byteswap.h: Likewise.
61455 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61456 ull, guard with __GLIBC_HAVE_LONG_LONG.
61457
61458 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61459 __GLIBC_HAVE_LONG_LONG.
61460
61461 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61462 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61463
61464 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61465
61466 [BZ #13691]
61467 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61468 inptr and inend, rather than using last_ch.
61469
61470 2012-04-02 David S. Miller <davem@davemloft.net>
61471
61472 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61473 * stdio-common/printf-parse.h (read_int): Change return type to
61474 'int', return -1 on INT_MAX overflow.
61475 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61476 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
61477 overflows INT_MAX. Check for overflow of in-format-string precision
61478 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
61479 SIZE_MAX not INT_MAX for integer overflow test.
61480 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61481 skip the construct in the format string but do not record anything.
61482 * stdio-common/bug22.c: Adjust to test both width/prevision
61483 INT_MAX overflow as well as total length INT_MAX overflow. Check
61484 explicitly for proper errno values.
61485
61486 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
61487
61488 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61489 CHAR_MAX.
61490 * string/test-strcmp.c [! WIDE]: Likewise.
61491 * time/tst-mktime2.c: Likewise for INT_MAX.
61492 * string/test-string.h: #include <sys/param.h> for MIN.
61493
61494 * csu/init-first.c (__libc_init_first): Call __ctype_init.
61495 * sysdeps/i386/init-first.c (init): Likewise.
61496 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61497 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61498 * sysdeps/sh/init-first.c (init): Likewise.
61499
61500 2012-04-01 Ulrich Drepper <drepper@gmail.com>
61501
61502 * po/ru.po: Update from translation team.
61503 * po/vi.po: Likewise.
61504
61505 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
61506
61507 * resolv/nss_dns/dns-host.c: Merge copyright years.
61508
61509 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61510
61511 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61512 Optimize memcpy with prefetch if
61513 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
61514 src, dst pointers have unequal 16 byte alignments.
61515
61516 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61517
61518 [BZ #13928]
61519 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61520 from a CNAME entry and return the minimum ttl for the query.
61521 (gaih_getanswer_slice): Likewise.
61522
61523 2012-03-30 Jeff Law <law@redhat.com>
61524
61525 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61526 due to long keys.
61527 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61528 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61529
61530 * resolv/nss_dns/dns-host.c: Update copyright year.
61531
61532 2012-03-30 Ulrich Drepper <drepper@gmail.com>
61533
61534 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61535 requests to save a system call. Fix check that all bytes are sent.
61536
61537 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61538 comments for sendmmsg.
61539
61540 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61541
61542 [BZ #13691]
61543 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61544 with only 1 character between 0x0041 and 0x01b0.
61545 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61546 * wcsmbs/tst-mbsnrtowcs.c: New file.
61547
61548 2012-03-29 David S. Miller <davem@davemloft.net>
61549
61550 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61551 small copies by hand.
61552
61553 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61554
61555 [BZ #13761]
61556 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61557 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61558 group memberships.
61559
61560 2012-03-28 David S. Miller <davem@davemloft.net>
61561
61562 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61563 that branches into memcpy.
61564 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61567 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61569 bits.
61570 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61571 implementation too.
61572 * sysdeps/sparc/mempcpy.S: New file.
61573
61574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61575 the IFUNC routine in the libc case.
61576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61577
61578 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61579 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61580 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61581 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61582 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61583 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61584 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61585 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61586
61587 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61588 loop to 256 bytes instead of 64 bytes and fix test signedness.
61589
61590 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61591 * sysdeps/sparc/sparc32/Makefile: rather than here...
61592 * sysdeps/sparc/sparc64/Makefile: and here.
61593
61594 2012-03-28 Ulrich Drepper <drepper@gmail.com>
61595
61596 * malloc/mallocbug.c: Avoid warnings about unused variables.
61597
61598 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
61599
61600 [BZ #13760]
61601 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61602 in the right place. Discard and retry query if response is
61603 larger than input buffer size.
61604
61605 2012-03-28 Joseph Myers <joseph@codesourcery.com>
61606
61607 [BZ #369]
61608 [BZ #2678]
61609 [BZ #3866]
61610 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61611 x for large integer exponent.
61612 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61613 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
61614 sign of result as needed afterwards.
61615 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61616 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61617 result for underflowing pow the same as for overflow.
61618 (__kernel_standard_l): Handle powl overflow and underflow here
61619 rather than calling __kernel_standard.
61620 * math/libm-test.inc (pow_test): Add more tests.
61621
61622 [BZ #3868]
61623 [BZ #13879]
61624 [BZ #13910]
61625 [BZ #13911]
61626 [BZ #13912]
61627 [BZ #13913]
61628 [BZ #13915]
61629 [BZ #13916]
61630 [BZ #13917]
61631 [BZ #13918]
61632 [BZ #13919]
61633 [BZ #13920]
61634 [BZ #13921]
61635 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61636 * sysdeps/ieee754/k_standard.c: Include <float.h>.
61637 (__kernel_standard_l): New function.
61638 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61639 __kernel_standard.
61640 * math/w_acosl.c (__acosl): Likewise.
61641 * math/w_asinl.c (__asinl): Likewise.
61642 * math/w_atan2l.c (__atan2l): Likewise.
61643 * math/w_atanhl.c (__atanhl): Likewise.
61644 * math/w_coshl.c (__coshl): Likewise.
61645 * math/w_exp10l.c (__exp10l): Likewise.
61646 * math/w_exp2l.c (__exp2l): Likewise.
61647 * math/w_fmodl.c (__fmodl): Likewise.
61648 * math/w_hypotl.c (__hypotl): Likewise.
61649 * math/w_j0l.c (__j0l, __y0l): Likewise.
61650 * math/w_j1l.c (__j1l, __y1l): Likewise.
61651 * math/w_jnl.c (__jnl, __ynl): Likewise.
61652 * math/w_lgammal.c (__lgammal): Likewise.
61653 * math/w_log10l.c (__log10l): Likewise.
61654 * math/w_log2l.c (__log2l): Likewise.
61655 * math/w_logl.c (__logl): Likewise.
61656 * math/w_powl.c (__powl): Likewise.
61657 * math/w_remainderl.c (__remainderl): Likewise.
61658 * math/w_scalbl.c (sysv_scalbl): Likewise.
61659 * math/w_sinhl.c (__sinhl): Likewise.
61660 * math/w_sqrtl.c (__sqrtl): Likewise.
61661 * math/w_tgammal.c (__tgammal): Likewise.
61662 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61663 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61664 * math/libm-test.inc (acos_test): Add more tests.
61665 (acosh_test): Likewise.
61666 (asin_test): Likewise.
61667 (atanh_test): Likewise.
61668 (exp_test): Likewise.
61669 (exp10_test): Likewise.
61670 (exp2_test): Likewise.
61671 (expm1_test): Likewise.
61672 (lgamma_test): Likewise.
61673 (log_test): Likewise.
61674 (log10_test): Likewise.
61675 (log1p_test): Likewise.
61676 (log2_test): Likewise.
61677 (pow_test): Do not allow some spurious overflow exceptions.
61678 (sqrt_test): Add more tests.
61679 (tgamma_test): Likewise.
61680 (y0_test): Likewise.
61681 (y1_test): Likewise.
61682 (yn_test): Likewise.
61683
61684 2012-03-27 Anton Blanchard <anton@samba.org>
61685
61686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61687 MAP_HUGETLB.
61688 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61689 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61691
61692 2012-03-27 David S. Miller <davem@davemloft.net>
61693
61694 * conform/Makefile: Run run-conformtest.sh using $(BASH).
61695
61696 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61697 have-as-vis3 check.
61698
61699 2012-03-27 Andreas Jaeger <aj@suse.de>
61700
61701 * sysdeps/x86_64/elf/configure.in: Moved to ...
61702 * sysdeps/x86_64/configure.in: ... here.
61703 * sysdeps/x86_64/elf/start.S: Moved to ...
61704 * sysdeps/x86_64/start.S: ... here.
61705 * sysdeps/x86_64/elf/configure: Delete.
61706
61707 * sysdeps/x86_64/configure.in: Merge contents from
61708 sysdeps/i386/configure.in (without i686 check).
61709
61710 * sysdeps/i386/elf/Versions: Merge into ...
61711 * sysdeps/i386/Versions: ... this.
61712 * sysdeps/i386/elf/Versions: Delete file.
61713 * sysdeps/i386/elf/start.S: Moved to ...
61714 * sysdeps/i386/start.S: ...here.
61715 * sysdeps/i386/elf/configure.in: Merge into...
61716 * sysdeps/i386/configure.in: ...here.
61717 * sysdeps/i386/elf/configure.in: Delete file.
61718 * sysdeps/i386/elf/configure: Delete file.
61719
61720 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61721 * debug/backtracesyms.c: ... here.
61722 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61723 * debug/backtracesymsfd.c: ... here.
61724 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61725 * sysdeps/generic/ifunc-sel.h: ... here.
61726
61727 * sysdeps/unix/i386/start.c: Delete file.
61728 * sysdeps/unix/sparc/start.c: Delete file.
61729 * sysdeps/unix/start.c: Delete file.
61730
61731 * sysdeps/sh/elf/configure.in: Moved to ...
61732 * sysdeps/sh/configure.in: ... here.
61733 * sysdeps/sh/elf/start.S: Moved to ...
61734 * sysdeps/sh/start.S: ... here.
61735 * sysdeps/sh/elf/configure: Delete file.
61736
61737 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61738 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61739 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61740 * sysdeps/powerpc/powerpc64/entry.h: ... here.
61741 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61742 * sysdeps/powerpc/powerpc64/start.S: here.
61743 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61744 * sysdeps/powerpc/powerpc64/Makefile: ... this.
61745 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61746 * sysdeps/powerpc/powerpc64/configure.in: ... this.
61747 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61748
61749 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61750 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61751 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61752 * sysdeps/powerpc/powerpc32/start.S: ... here.
61753 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61754 * sysdeps/powerpc/powerpc32/configure.in: ... this.
61755 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61756
61757 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61758 * sysdeps/powerpc/ifunc-sel.h: ... here.
61759 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61760 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61761
61762 * sysdeps/sparc/elf/configure.in: Moved to ...
61763 * sysdeps/sparc/configure.in: ... here.
61764 * sysdeps/sparc/elf/configure: Delete file.
61765 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61766 * sysdeps/sparc/sparc32/start.S: ... here.
61767 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61768 * sysdeps/sparc/sparc64/start.S: ... here.
61769 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61770 * sysdeps/sparc/sparc32/Makefile: ... this.
61771 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61772 * sysdeps/sparc/sparc64/Makefile: ... this.
61773
61774 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61775 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61776 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61777 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61778 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61779 * sysdeps/s390/s390-32/setjmp.S: ... here.
61780 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61781 * sysdeps/s390/s390-32/configure.in: ... here.
61782 * sysdeps/s390/s390-32/elf/configure: Delete file.
61783 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61784 * sysdeps/s390/s390-32/start.S: ... here.
61785
61786 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61787 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61788 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61789 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61790 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61791 * sysdeps/s390/s390-64/setjmp.S: ... here.
61792 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61793 * sysdeps/s390/s390-64/configure.in: ... here
61794 * sysdeps/s390/s390-64/elf/configure: Delete file.
61795 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61796 * sysdeps/s390/s390-64/start.S: ... here.
61797 * sysdeps/s390/s390-64/elf/configure: Delete.
61798
61799 * configure.in: Remove support for elf directories in sysdeps.
61800
61801 * configure: Regenerated.
61802 * sysdeps/i386/configure: Regenerated.
61803 * sysdeps/powerpc/powerpc32/configure: Regenerated.
61804 * sysdeps/powerpc/powerpc64/configure: Regenerated.
61805 * sysdeps/s390/s390-32/configure: Regenerated.
61806 * sysdeps/s390/s390-64/configure: Regenerated.
61807 * sysdeps/sh/configure: Regenerated.
61808 * sysdeps/sparc/configure: Regenerated.
61809 * sysdeps/x86_64/configure: Regenerated.
61810
61811 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
61812
61813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61814
61815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61816 denormal result into account.
61817
61818 2012-03-25 Roland McGrath <roland@hack.frob.com>
61819
61820 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61821 Reported by Allan McRae <allan@archlinux.org>.
61822
61823 2012-03-23 Jeff Law <law@redhat.com>
61824
61825 * nss/getnssent.c (__nss_getent): Fix typo.
61826
61827 2012-03-23 David S. Miller <davem@davemloft.net>
61828
61829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61830
61831 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
61832
61833 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61834 to pad to uint64_t for each field.
61835 (dl_tls_index): Replace unsigned long with uint64_t.
61836
61837 2012-03-23 Daniel Jacobowitz <dmj@google.com>
61838 Paul Pluzhnikov <ppluzhnikov@google.com>
61839
61840 [BZ #6528]
61841 * grp/Makefile (otherlibs): Don't set it.
61842 * inet/Makefile (otherlibs): Likewise.
61843 * login/Makefile (otherlibs): Likewise.
61844 * nscd/Makefile (otherlibs): Likewise.
61845 * posix/Makefile (otherlibs): Likewise.
61846 * pwd/Makefile (otherlibs): Likewise.
61847 * rt/Makefile (otherlibs): Likewise.
61848 * sunrpc/Makefile (otherlibs): Likewise.
61849 * nss/Makefile (otherlibs): Likewise.
61850 Add libnss_files to routines and static-only-routines.
61851 ($(objpfx)getent): Remove rule.
61852 * resolv/Makefile: Add libnss_dns and libresolv to routines and
61853 static-only-routines.
61854
61855 2012-03-22 Joseph Myers <joseph@codesourcery.com>
61856
61857 [BZ #13892]
61858 * math/s_cexp.c: Include <float.h>.
61859 (__cexp): Handle exp result overflowing not necessarily
61860 overflowing both real and imaginary parts of result.
61861 * math/s_cexpf.c: Likewise.
61862 * math/s_cexpl.c: Likewise.
61863 * math/libm-test.inc (cexp_test): Add more tests.
61864 * sysdeps/i386/fpu/libm-test-ulps: Update.
61865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61866
61867 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61868
61869 * include/link.h (ELFW): New macro.
61870 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61871 Replace ELF64_R_TYPE with ELFW(R_TYPE).
61872
61873 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61874
61875 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61876 with uint64_t.
61877
61878 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61879
61880 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61881 declaration.
61882 (struct La_x32_retval): Likewise.
61883
61884 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61885
61886 * sysdeps/x86_64/preconfigure.in: New file.
61887 * sysdeps/x86_64/preconfigure: New generated file.
61888
61889 2012-03-22 Joseph Myers <joseph@codesourcery.com>
61890
61891 [BZ #13824]
61892 * math/e_exp2l.c: Include <float.h>.
61893 (__ieee754_exp2l): Handle overflow and underflow cases
61894 separately. Only pass fractional part of argument to
61895 __ieee754_expl.
61896 * math/libm-test.inc (exp2_test): Add more tests.
61897
61898 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61899 negating x to take absolute value.
61900 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61901 Likewise.
61902 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61903 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61904 Likewise.
61905 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61906 computing low part if x was negated.
61907 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61908
61909 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61910
61911 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61912 la_x32_gnu_pltexit.
61913 (pltexit): Cast int_retval to ptrdiff_t.
61914 * elf/tst-auditmod3b.c: Likewise.
61915 * elf/tst-auditmod4b.c: Likewise.
61916 * elf/tst-auditmod5b.c: Likewise.
61917 * elf/tst-auditmod6b.c: Likewise.
61918 * elf/tst-auditmod6c.c: Likewise.
61919 * elf/tst-auditmod7b.c: Likewise.
61920
61921 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61922 and x32_gnu_pltexit.
61923
61924 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61925 __ELF_NATIVE_CLASS.
61926 (La_x32_regs): New macro.
61927 (La_x32_retval): Likewise.
61928 (la_x32_gnu_pltenter): New function prototype.
61929 (la_x32_gnu_pltexit): Likewise.
61930
61931 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
61932
61933 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61934 exponent.
61935
61936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61937
61938 * configure.in (libc_cv_cc_nofma): Check for option to disable
61939 generation of FMA instructions.
61940 * configure: Regenerate.
61941 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61942 * sysdeps/ieee754/dbl-64/Makefile: New file.
61943 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61944 Remove brandred-fma4.
61945 (CFLAGS-brandred-fma4.c): Remove.
61946 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61947 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61948 define.
61949 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61950 define.
61951
61952 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61953
61954 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61955 LLONG_MAX != LONG_MAX.
61956 (_itoa_word): Use _ITOA_WORD_TYPE on value.
61957 (_fitoa_word): Likewise.
61958 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61959 LLONG_MAX != LONG_MAX.
61960 * stdio-common/_itowa.h: Include <_itoa.h>.
61961 (_itowa_word): Use _ITOA_WORD_TYPE on value.
61962 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
61963 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
61964 only if not defined.
61965 (_ITOA_WORD_TYPE): Likewise.
61966 (_itoa_word): Use _ITOA_WORD_TYPE on value.
61967 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61968
61969 2012-03-21 David S. Miller <davem@davemloft.net>
61970
61971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61972
61973 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61974
61975 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61976 of x86_64 when setting libc_cv_slibdir, libdir and
61977 libc_cv_localedir.
61978 * sysdeps/unix/sysv/linux/configure: Regenerated.
61979
61980 2012-03-21 Joseph Myers <joseph@codesourcery.com>
61981
61982 * manual/lang.texi (Old Varargs): Remove section.
61983 (How Variadic): Update menu.
61984 (va_start): Do not mention varargs.h.
61985
61986 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
61987 Joseph Myers <joseph@codesourcery.com>
61988
61989 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61990 link test.
61991 * configure: Regenerated.
61992
61993 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
61994
61995 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61996 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61997 conformtest.pl
61998
61999 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62000
62001 * NOTES: Remove.
62002 * Makefile (files-for-dist): Remove NOTES.
62003 (NOTES): Remove rule.
62004 * README: Don't refer to NOTES.
62005 * manual/creature.texi: Don't include macros.texi.
62006 * manual/intro.texi (creature.texi): Remove comment referring to
62007 NOTES.
62008
62009 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62010 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62011 * configure: Regenerated.
62012 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62013 LIBC_TRY_CC_OPTION.
62014 (libc_cv_as_i686): Likewise.
62015 (libc_cv_cc_avx): Likewise.
62016 (libc_cv_cc_sse2avx): Likewise.
62017 (libc_cv_cc_fma4): Likewise.
62018 (libc_cv_cc_novzeroupper): Likewise.
62019 * sysdeps/i386/configure: Regenerated.
62020
62021 [BZ #13883]
62022 * sysdeps/i386/fpu/s_cexp.S: Remove.
62023 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62024 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62025 * math/libm-test.inc (cexp_test): Add more tests.
62026 * sysdeps/i386/fpu/libm-test-ulps: Update.
62027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62028
62029 2012-03-21 Allan McRae <allan@archlinux.org>
62030
62031 * timezone/Makefile: Do not install iso3166.tab and zone.tab
62032
62033 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62034
62035 [BZ #13871]
62036 * math/w_exp2.c: Do not include <float.h>.
62037 (o_threshold, u_threshold): Remove.
62038 (__exp2): Calculate result before checking finiteness and calling
62039 __kernel_standard.
62040 * math/w_exp2f.c: Likewise.
62041 * math/w_exp2l.c: Likewise.
62042 * math/libm-test.inc (exp2_test): Require overflow exception for
62043 1e6 input.
62044
62045 [BZ #3866]
62046 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62047 range of signed 64-bit integers before using fistpll. Remove
62048 checks for whether integers fit in mantissa bits.
62049 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62050 the range of signed 32-bit integers before using fistpl. Remove
62051 checks for whether integers fit in mantissa bits.
62052 * sysdeps/i386/fpu/e_powl.S (p64): New object.
62053 (__ieee754_powl): Test for y outside the range of signed 64-bit
62054 integers before using fistpll. Reduce 64-bit values to 63-bit
62055 ones as needed.
62056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62057 divide-by-zero is raised for zero to large negative powers.
62058 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62059 (__ieee754_powl): Test for y outside the range of signed 64-bit
62060 integers before using fistpll. Reduce 64-bit values to 63-bit
62061 ones as needed.
62062 * math/libm-test.inc (pow_test): Add more tests.
62063
62064 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62065
62066 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62067 <stdio-common/_itoa.h>.
62068 * debug/segfault.c: Likewise.
62069 * elf/dl-cache.c: Likewise.
62070 * elf/dl-minimal.c: Likewise.
62071 * elf/dl-misc.c: Likewise.
62072 * elf/dl-sysdep.c: Likewise.
62073 * elf/dl-version.c: Likewise.
62074 * elf/rtld.c: Likewise.
62075 * hurd/hurdsock.c: Likewise.
62076 * hurd/lookup-retry.c: Likewise.
62077 * malloc/malloc.c: Likewise.
62078 * malloc/mtrace.c: Likewise.
62079 * nscd/nscd_getgr_r.c: Likewise.
62080 * nscd/nscd_getpw_r.c: Likewise.
62081 * nscd/nscd_getserv_r.c: Likewise.
62082 * posix/getopt_init.c: Likewise.
62083 * posix/wordexp.c: Likewise.
62084 * stdio-common/_itoa.c: Likewise.
62085 * stdio-common/printf_fphex.c: Likewise.
62086 * stdio-common/vfprintf.c: Likewise.
62087 * string/_strerror.c: Likewise.
62088 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62089 * sysdeps/i386/i686/hp-timing.h: Likewise.
62090 * sysdeps/mach/_strerror.c: Likewise.
62091 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62092 * sysdeps/mach/hurd/sethostid.c: Likewise.
62093 * sysdeps/mach/hurd/xmknodat.c: Likewise.
62094 * sysdeps/mach/xpg-strerror.c: Likewise.
62095 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62096 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62097 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62098 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62099 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62100 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62101 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62102 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62103 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62104 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62105 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62106 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62107 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62108 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62109 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62110 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62111 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62112 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62113 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62114 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62115 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62116
62117 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62118
62119 * stdio-common/_itoa.h: Moved to ...
62120 * sysdeps/generic/_itoa.h: Here.
62121
62122 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62123
62124 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62125 instead of "_itoa.h" and "_itowa.h".
62126 * stdio-common/vfprintf.: Likewise.
62127
62128 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62129
62130 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62131 <bits/wordsize.h>.
62132 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62133 (__signbit): Likwise.
62134 (llrintf): Likwise.
62135 (llrint): Likwise.
62136
62137 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62138
62139 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62140 __WORDSIZE != 64.
62141
62142 2012-03-20 Joseph Myers <joseph@codesourcery.com>
62143
62144 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62145 OVERFLOW_EXCEPTION_OK.
62146 * math/libm-test.inc ("Philosophy"): Update comment about
62147 exception testing.
62148 (OVERFLOW_EXCEPTION): Define.
62149 (OVERFLOW_EXCEPTION_OK): Likewise.
62150 (INVALID_EXCEPTION_OK): Renumber.
62151 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62152 (IGNORE_ZERO_INF_SIGN): Likewise.
62153 (test_exceptions): Handle FE_OVERFLOW.
62154 (exp10_test): Expect overflow exceptions.
62155 (exp2_test): Likewise.
62156 (expm1_test): Likewise.
62157 (nextafter_test): Likewise.
62158 (pow_test): Likewise.
62159 (scalbn_test): Likewise.
62160 (scalbln_test): Likewise.
62161
62162 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62163
62164 * sysdeps/x86_64/bits/atomic.h
62165 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62166 64bit integer.
62167 (atomic_exchange_acq): Likewise.
62168 (__arch_exchange_and_add_body): Likewise.
62169 (__arch_add_body): Likewise.
62170 (atomic_add_negative): Likewise.
62171 (atomic_add_zero): Likewise.
62172
62173 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62174
62175 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62176 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62177
62178 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62179
62180 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62181 Check __x86_64__ instead of __WORDSIZE.
62182
62183 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62184
62185 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62186
62187 2012-03-19 David S. Miller <davem@davemloft.net>
62188
62189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62190
62191 * sysdeps/sparc/fpu/fenv_private.h: New file.
62192 * sysdeps/sparc/fpu/math_private.h: Use it.
62193 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62194 Remove.
62195 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62196 (libc_feholdexcept_setroundl): Remove.
62197 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62198 Remove.
62199 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62200 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62201
62202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62203
62204 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62205 int64_t instead of long int.
62206 (INSERT_WORDS64): Likwise.
62207
62208 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62209
62210 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62211 _Unwind_GetCFA return to _Unwind_Ptr first.
62212
62213 2012-03-19 Joseph Myers <joseph@codesourcery.com>
62214
62215 [BZ #13629]
62216 * math/s_clog.c: Include <float.h>.
62217 (__clog): Scale large or subnormal inputs.
62218 * math/s_clogf.c: Likewise.
62219 * math/s_clogl.c: Likewise.
62220 * math/s_clog10.c: Include <float.h>.
62221 (M_LOG10_2): Define.
62222 (__clog10): Scale large or subnormal inputs.
62223 * math/s_clog10f.c: Likewise.
62224 * math/s_clog10l.c: Likewise.
62225 * math/libm-test.inc (clog_test): Add more tests.
62226 (clog10_test): Likewise.
62227 * sysdeps/i386/fpu/libm-test-ulps: Update.
62228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62229
62230 [BZ #11451]
62231 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62232 x and y.
62233 * math/libm-test.inc (atan2_test): Add another test.
62234
62235 * Makerules (common-objdir-compile): Remove.
62236 * sysdeps/unix/Makefile (config-generated): Do not add
62237 $(unix-generated) to variable.
62238 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62239 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62240 Remove rule.
62241 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62242 Likewise.
62243 [generic bits/local_lim.h] (before-compile): Do not append to
62244 variable.
62245 [generic bits/local_lim.h] (common-generated): Likewise.
62246 [generic sys/param.h] (before-compile): Do not append to variable.
62247 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62248 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62249 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62250 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62251 include.
62252 [generic sys/param.h] (sys/param.h-includes): Remove variable.
62253 [generic sys/param.h] (sys/param.h-includes): Remove rule.
62254 [generic sys/param.h] ($(addprefix
62255 $(common-objpfx),$(sys/param.h-includes))): Likewise.
62256 [generic sys/param.h] (common-generated): Do not append to
62257 variable.
62258 [generic sys/param.h] (sysdep_headers): Likewise.
62259 [generic bits/errno.h] (before-compile): Do not append to
62260 variable.
62261 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62262 rule.
62263 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62264 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62265 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62266 [generic bits/errno.h] (common-generated): Do not append to
62267 variable.
62268 [generic bits/ioctls.h] (before-compile): Do not append to
62269 variable.
62270 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62271 rule.
62272 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62273 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62274 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62275 rule.
62276 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62277 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62278 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62279 [generic bits/ioctls.h] (common-generated): Do not append to
62280 variable.
62281 [generic sys/syscall.h] (syscall.h): Remove variable.
62282 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62283 rule.
62284 [generic sys/syscall.h] (before-compile): Do not append to
62285 variable.
62286 [generic sys/syscall.h] (common-generated): Likewise.
62287 * sysdeps/unix/errnos-tmpl.c: Remove file.
62288 * sysdeps/unix/errnos.awk: Likewise.
62289 * sysdeps/unix/ioctls-tmpl.c: Likewise.
62290 * sysdeps/unix/ioctls.awk: Likewise.
62291 * sysdeps/unix/mk-local_lim.c: Likewise.
62292 * sysdeps/unix/snarf-ioctls: Likewise.
62293
62294 2012-03-19 Richard Henderson <rth@twiddle.net>
62295
62296 * sysdeps/i386/fpu/fenv_private.h: New file.
62297 * sysdeps/i386/fpu/math_private.h: Use it.
62298 (math_opt_barrier, math_force_eval): Remove.
62299 (libc_feholdexcept_setround_53bit): Remove.
62300 (libc_feupdateenv_53bit): Remove.
62301 * sysdeps/x86_64/fpu/math_private.h: Likewise.
62302 (math_opt_barrier, math_force_eval): Remove.
62303 (libc_feholdexcept): Remove.
62304 (libc_feholdexcept_setround): Remove.
62305 (libc_fetestexcept, libc_fesetenv): Remove.
62306 (libc_feupdateenv_test): Remove.
62307 (libc_feupdateenv, libc_feholdsetround): Remove.
62308 (libc_feresetround): Remove.
62309
62310 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62311 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62312
62313 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62314 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62315 (libc_feupdateenv_testl): New.
62316 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62317 (libc_feupdateenv_testf): New.
62318 (libc_feupdateenv): Use libc_feupdateenv_test.
62319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62320 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62321
62322 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62323 (libc_feholdsetroundf, libc_feholdsetroundl): New.
62324 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62325 (libc_feresetround_noex): New.
62326 (libc_feresetround_noexf): New.
62327 (libc_feresetround_noexl): New.
62328 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62329 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62330 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62331 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62332 SET_RESTORE_ROUND.
62333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62335 (__cos): Likewise.
62336 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62337 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62338 SET_RESTORE_ROUND_NOEX.
62339 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62340 SET_RESTORE_ROUND_NOEXF.
62341 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62342 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62343 (libc_feholdsetroundf): New.
62344 (libc_feresetround, libc_feresetroundf): New.
62345
62346 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62347 (libc_feholdexcept_setround_53bit): Convert from macro to function.
62348 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
62349
62350 * sysdeps/generic/math_private.h: Include <fenv.h>.
62351 (default_libc_feholdexcept): New.
62352 (default_libc_feholdexcept_setround): New.
62353 (default_libc_fesetenv, default_libc_feupdateenv): New.
62354 (libc_feholdexcept): Only define if undefined.
62355 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62356 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62357 (libc_feholdexcept_setroundl): Likewise.
62358 (libc_feholdexcept_setround_53bit): Likewise.
62359 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62360 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62361 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62362 (libc_feupdateenv_53bit): Likewise.
62363 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62364 (libc_feholdexcept): Convert from macro to inline function.
62365 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62366 (libc_fesetenv, libc_feupdateenv): Likewise.
62367
62368 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62369 not previously defined.
62370 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62371 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62372 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62373 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62374 * sysdeps/ieee754/flt-32/math_private.h: New file.
62375 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62376 math_private.h below SET_FLOAT_WORD.
62377 (__isnan, __isinf_ns, __finite): Remove.
62378 (__isnanf, __isinf_nsf, __finitef): Remove.
62379
62380 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
62381
62382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62383
62384 2012-03-17 David S. Miller <davem@davemloft.net>
62385
62386 [BZ #6471]
62387 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62388 for 2.16.
62389
62390 2012-03-16 David S. Miller <davem@davemloft.net>
62391
62392 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62393 warnings.
62394
62395 [BZ #6471]
62396 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62397 properly.
62398 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62399 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62400 sysdep_routines when subdir is sysvipc.
62401 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62402 __getshmlba helper.
62403
62404 * sysdeps/sparc/fpu/libm-test/ulps: Update.
62405
62406 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62407
62408 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62409 [__LP64__].
62410
62411 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62412
62413 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62414 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62415 (__lround): Renamed to ...
62416 (__llround): This. Replace long int with long long int.
62417 Define lround functions as aliases of llround functions.
62418 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62419
62420 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62421
62422 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62423 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
62424 adresses to uintptr_t. Replace "long int" and "unsigned long
62425 int" with "greg_t" on va_arg.
62426
62427 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62428
62429 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62430 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62431
62432 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62433 Move e_machine check before EI_CLASS check. Handle x32
62434 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62435 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62436 SKIP_EM_IA_64 and include
62437 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62438
62439 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62440 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62441 (add_system_dir): New macro.
62442
62443 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62444 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62445
62446 2012-03-16 Joseph Myers <joseph@codesourcery.com>
62447
62448 [BZ #2551]
62449 [BZ #2552]
62450 [BZ #2553]
62451 [BZ #2554]
62452 [BZ #2562]
62453 [BZ #2563]
62454 [BZ #2565]
62455 [BZ #2566]
62456 [BZ #2576]
62457 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62458 (y0): Likewise.
62459 * math/w_j0f.c (j0f): Likewise.
62460 (y0f): Likewise.
62461 * math/w_j0l.c (__j0l): Likewise.
62462 (__y0l): Likewise.
62463 * math/w_j1.c (j1): Likewise.
62464 (y1): Likewise.
62465 * math/w_j1f.c (j1f): Likewise.
62466 (y1f): Likewise.
62467 * math/w_j1l.c (__j1l): Likewise.
62468 (__y1l): Likewise.
62469 * math/w_jn.c (jn): Likewise.
62470 (yn): Likewise.
62471 * math/w_jnf.c (jnf): Likewise.
62472 (ynf): Likewise.
62473 * math/w_jnl.c (__jnl): Likewise.
62474 (__ynl): Likewise.
62475 * math/libm-test.inc (j0_test): Add more tests.
62476 (j1_test): Likewise.
62477 (jn_test): Likewise. Add trailing semicolon to existing test.
62478 (y0_test): Likewise.
62479 (y1_test): Likewise.
62480 * sysdeps/i386/fpu/libm-test-ulps: Update.
62481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62482
62483 [BZ #13851]
62484 [BZ #13854]
62485 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62486 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62487 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62488 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62489 (__tanl): Set errno for infinite argument.
62490 * sysdeps/i386/fpu/mptan.c: Remove.
62491 * sysdeps/i386/fpu/s_tan.S: Likewise.
62492 * sysdeps/i386/fpu/s_tanl.S: Likewise.
62493 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62494 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62495 * math/libm-test.inc (tan_test): Add more tests and enable more
62496 tests for double and long double.
62497 * sysdeps/i386/fpu/libm-test-ulps: Update.
62498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62499
62500 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
62501
62502 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62503 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62504
62505 2012-03-16 Roland McGrath <roland@hack.frob.com>
62506
62507 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62508 * configure.in: Use it for both main tree and add-ons.
62509 * configure: Regenerated.
62510
62511 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62512
62513 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62514
62515 2012-03-16 Joseph Myers <joseph@codesourcery.com>
62516
62517 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62518 in comment.
62519
62520 [BZ #13851]
62521 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62522 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62523 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62524 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62525 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62526 infinite argument.
62527 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62528 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62529 != 0 for prec == 2.
62530 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62531 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62532 * sysdeps/i386/fpu/s_cosl.S: Likewise.
62533 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62534 * sysdeps/i386/fpu/s_sinl.S: Likewise.
62535 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62536 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62537 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62538 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62539 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62540 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62541 * math/libm-test.inc (cos_test): Add more tests and enable more
62542 tests for long double.
62543 (sin_test): Likewise.
62544 (sincos_test): Likewise.
62545 * sysdeps/i386/fpu/libm-test-ulps: Update.
62546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62547
62548 2012-03-16 David S. Miller <davem@davemloft.net>
62549
62550 * sysdeps/sparc/fpu/math_private.h: New file.
62551
62552 2012-03-15 David S. Miller <davem@davemloft.net>
62553
62554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62555 file.
62556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62558 file.
62559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62565 sysdep routines.
62566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62567
62568 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62569 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62570
62571 * sysdeps/sparc/sparc-ifunc.h: New file.
62572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62573 sparc-ifunc.h
62574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62576 Likewise.
62577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62578 Likewise.
62579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62583 Likewise.
62584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62589 Likewise.
62590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62591 Likewise.
62592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62598 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62616
62617 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
62618
62619 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62620 scaling.
62621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62622
62623 2012-03-15 Andreas Jaeger <aj@suse.de>
62624
62625 [BZ #13852]
62626 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62627 ieee754/flt-32 implementation for sin, cos and sincos.
62628 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62629 * sysdeps/i386/fpu/s_cosf.S: Likewise.
62630 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62631 * sysdeps/i386/fpu/s_sinf.S: Likewise.
62632 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62633 ieee754/flt-32 implementation for tan.
62634
62635 * math/libm-test.inc (cos_test): Enable some large input tests for
62636 float as well
62637 (sin_test): Likewise.
62638 (sincos_test): Likewise.
62639 (tan_test): Add tests for large input.
62640
62641 * sysdeps/i386/fpu/libm-test-ulps: Update.
62642
62643 2012-03-15 Andreas Jaeger <aj@suse.de>
62644
62645 [BZ #13658]
62646 * math/libm-test.inc (cos_test): Add more test cases.
62647 (sin_test): Likewise.
62648 (sincos_test): Likewise.
62649
62650 2012-03-15 Andreas Jaeger <aj@suse.de>
62651
62652 [BZ #13837]
62653 * math/libm-test.inc (cos_test): Add a test case for large input
62654 value.
62655 (sin_test): Likewise.
62656 (sincos_test): Likewise.
62657
62658 2012-03-15 Andreas Jaeger <aj@suse.de>
62659 Joseph Myers <joseph@codesourcery.com>
62660
62661 [BZ #13658]
62662 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62663 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62664 * sysdeps/i386/fpu/branred.c: Likewise.
62665 * sysdeps/i386/fpu/dosincos.c: Likewise.
62666 * sysdeps/i386/fpu/mpa.c: Likewise.
62667 * sysdeps/i386/fpu/s_cos.S: Likewise.
62668 * sysdeps/i386/fpu/s_sin.S: Likewise.
62669 * sysdeps/i386/fpu/s_sincos.S: Likewise.
62670 * sysdeps/i386/fpu/sincos32.c: Likewise.
62671
62672 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62673 Define.
62674 (libc_feupdateenv_53bit): Define.
62675 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62676 Define.
62677 (libc_feupdateenv_53bit): Define.
62678
62679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62680 53 bit (without extend i386 double precision).
62681
62682 * math/libm-test.inc (sincos_test): Add tests for large input.
62683 (sin): Likewise.
62684 (cos): Likewise.
62685
62686 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62687
62688 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
62689
62690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62691
62692 2012-03-15 David S. Miller <davem@davemloft.net>
62693
62694 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62695 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62696 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62697 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62710 file.
62711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62713 file.
62714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62716 file.
62717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62719 file.
62720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62722 fmin/fmax sysdep routines.
62723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62724
62725 2012-03-14 David S. Miller <davem@davemloft.net>
62726
62727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62731 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62756 routines.
62757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62758 file.
62759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62761 file.
62762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62764 file.
62765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62767 file.
62768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62770 file.
62771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62773 file.
62774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62775 file.
62776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62777 file.
62778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62779 file.
62780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62781 New file.
62782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62783 file.
62784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62785 file.
62786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62788 file.
62789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62791 file.
62792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62794 file.
62795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62797 VIS3 routines.
62798
62799 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62800 New file.
62801
62802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62803
62804 * sysdeps/sparc/configure.in: New file.
62805 * sysdeps/sparc/configure: Generate.
62806 * configure.in (libc_cv_sparc_as_vis3): Substitute.
62807 * configure: Regenerate.
62808 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62809 * config.make.in (have-as-vis3): New.
62810 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62811 available use -Av9d instead of -Av9a.
62812 * sysdeps/sparc/sparc64/Makefile: Likewise.
62813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62815 New file.
62816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62817 file.
62818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62819 New file.
62820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62821 file.
62822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62823 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62827
62828 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62829 fzeros/fnegs to load 0x80000000 into a float register instead of
62830 using the stack.
62831 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62832
62833 2012-03-14 Joseph Myers <joseph@codesourcery.com>
62834
62835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62836 bits/syscall.h.
62837 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62838 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62839 ($(inst_includedir)/bits/syscall.h): Remove rule.
62840 ($(objpfx)bits/syscall.d): Include instead of
62841 $(objpfx)syscall-list.d.
62842 (generated): Change syscall-list.h and syscall-list.d to
62843 bits/syscall.h and bits/syscall.d.
62844
62845 2012-03-14 Roland McGrath <roland@hack.frob.com>
62846
62847 [BZ #13846]
62848 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62849
62850 2012-03-14 Joseph Myers <joseph@codesourcery.com>
62851
62852 [BZ #13841]
62853 * math/s_csqrt.c: Include <float.h>.
62854 (__csqrt): Scale large or subnormal inputs.
62855 * math/s_csqrtf.c: Likewise.
62856 * math/s_csqrtl.c: Likewise.
62857 * math/libm-test.inc (csqrt_test): Add more tests.
62858 * sysdeps/i386/fpu/libm-test-ulps: Update.
62859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62860
62861 [BZ #13840]
62862 * math/libm-test.inc (hypot_test): Add more tests.
62863
62864 2012-03-13 David S. Miller <davem@davemloft.net>
62865
62866 [BZ #13840]
62867 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62868 double-precision for the calculation instead of scaling.
62869
62870 2012-03-13 Joseph Myers <joseph@codesourcery.com>
62871
62872 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62873 manipulate bits before adding and subtracting TWO52[sx].
62874 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62876 Likewise.
62877 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62878
62879 2012-03-13 David S. Miller <davem@davemloft.net>
62880
62881 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62882 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62884 rtld-global-offsets.h
62885 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62886
62887 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62888 large parameters.
62889
62890 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62891
62892 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62893 'err' in the ifdef scope in which it is actually used.
62894
62895 * nss/nss_db/db-init.c: Include string.h
62896
62897 2012-03-12 David S. Miller <davem@davemloft.net>
62898
62899 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62900 masking out of the most significant byte of random value used.
62901 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62902 Fix coding style in previous change.
62903
62904 * sysdeps/unix/sysv/linux/kernel-features.h
62905 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62906 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62907 expression.
62908 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62909 later.
62910
62911 2012-03-11 David S. Miller <davem@davemloft.net>
62912
62913 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62914 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62915 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62916 for 'resultvar' otherwise things get truncated on 64-bit.
62917
62918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62919 Fix masking out of the most significant byte of random value used.
62920
62921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62922
62923 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
62924
62925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62926
62927 2012-03-09 David S. Miller <davem@davemloft.net>
62928
62929 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62930 variables with appropriate CPP guards.
62931 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62932 from the frame pointer, not the stack pointer. Correct layout
62933 comments. Fix test on resulting framesize and the management of
62934 the outregs buffer for pltexit. Preserve floating point return
62935 values across _dl_call_pltexit call.
62936 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62937 framesize and the management of the outregs buffer for pltexit.
62938 Preserve floating point return values across _dl_call_pltexit
62939 call.
62940 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62941 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62942 (la_sparc64_gnu_pltexit): New functions.
62943 (print_exit): Fix format string for return register value.
62944
62945 2012-03-10 Joseph Myers <joseph@codesourcery.com>
62946
62947 * sunrpc/Makefile (others): Add rpcgen.
62948 ($(objpfx)rpcgen): Remove special build rule and dependency on
62949 libc.
62950 * sunrpc/rpcgen.c: New file.
62951
62952 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
62953
62954 [BZ #13673]
62955 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62956 * stdio-common/bug-vfprintf-nargs.c: Likewise.
62957 * sysdeps/i386/crti.S: Likewise.
62958 * sysdeps/i386/crtn.S: Likewise.
62959 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62960 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62961 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62962 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62963 * sysdeps/sh/crti.S: Likewise.
62964 * sysdeps/sh/crtn.S: Likewise.
62965 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62966
62967 [BZ #13673]
62968 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62969 with URL.
62970 * locale/programs/locfile-kw.gperf: Likewise.
62971 * locale/programs/charmap-kw.h: Regenerated.
62972 * locale/programs/locfile-kw.h: Likewise.
62973
62974 [BZ #13673]
62975 * intl/plural.y: Replace FSF snail mail address with URL.
62976 * intl/plural.c: Regenerated.
62977
62978 2012-03-09 Richard Henderson <rth@twiddle.net>
62979
62980 * include/math_private.h: Remove file.
62981 * math/math_private.h: Move file ...
62982 * sysdeps/generic/math_private.h: ... here.
62983
62984 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62985 * sysdeps/powerpc/fpu/math_private.h: Likewise.
62986 * sysdeps/x86_64/fpu/math_private.h: Likewise.
62987
62988 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62989 and <math_private.h>.
62990 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62991 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62992 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62993 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62994 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62995 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62998 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63001 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63005 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63006 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63007 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63008 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63009 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63011 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63012 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63014 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63020 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63022 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63023 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63024 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63025 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63026 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63027 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63028 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63030 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63031 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63032 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63033 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63034 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63035 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63036 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63037 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63038 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63039 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63040 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63041 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63042 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63044 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63045 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63047 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63048 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63049 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63051 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63053 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63054 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63055 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63056 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63057 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63058 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63059 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63060 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63061 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63063 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63064 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63069 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63070 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63071 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63074 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63075 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63077 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63083 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63085 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63086 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63087 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63088 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63089 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63090 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63091 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63092 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63093 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63094 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63098 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63100 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63101 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63102 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63103 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63104 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63106 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63107 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63108 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63109 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63110 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63111 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63112 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63113 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63114 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63116 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63117 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63118 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63119 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63120 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63121 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63122 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63123 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63124 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63125 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63126 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63127 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63128 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63129 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63131 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63132 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63133 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63134 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63135 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63136 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63137 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63138 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63139 * sysdeps/ieee754/k_standard.c: Likewise.
63140 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63141 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63142 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63143 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63144 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63145 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63146 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63147 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63148 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63152 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63153 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63154 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63155 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63156 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63157 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63158 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63159 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63160 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63161 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63162 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63163 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63164 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63165 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63166 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63168 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63170 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63171 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63172 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63173 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63174 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63175 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63177 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63178 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63179 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63180 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63181 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63182 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63183 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63184 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63185 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63186 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63191 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63193 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63196 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63197 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63198 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63199 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63200 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63201 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63206 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63208 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63209 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63212 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63213 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63216 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63217 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63219 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63220 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63221 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63222 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63224 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63225 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63226 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63227 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63228 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63230 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63231 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63232 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63233 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63237 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63238 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63239 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63240 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63244 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63245 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63246 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63247 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63248 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63249 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63250 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63251 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63252 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63253 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63254 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63255 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63256 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63257 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63263 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63265 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63273 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63274 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63275 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63276 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63277 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63278 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63279 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63280 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63281 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63282 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63283 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63284 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63285 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63286 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63289 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63290 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63291 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63294 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63295 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63296 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63297 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63298 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63299 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63300 * sysdeps/ieee754/s_lib_version.c: Likewise.
63301 * sysdeps/ieee754/s_matherr.c: Likewise.
63302 * sysdeps/ieee754/s_signgam.c: Likewise.
63303 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63304 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63305 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63306 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63307 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63308 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63309 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63310 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63311 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63312 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63313 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63314 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63315 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63316 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63317 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63318 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63319 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63320 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63321 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63322 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63324
63325 2012-03-09 Joseph Myers <joseph@codesourcery.com>
63326
63327 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63328 * sunrpc/rpc_main.c: Likewise.
63329 * sunrpc/rpc_svcout.c: Likewise.
63330
63331 2012-03-09 David S. Miller <davem@davemloft.net>
63332
63333 * include/math_private.h: New file.
63334
63335 2012-03-09 Joseph Myers <joseph@codesourcery.com>
63336
63337 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63338 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63339 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63340 from <bits/socket_type.h>.
63341 (enum __socket_type): Don't define here.
63342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63344 bits/socket_type.h.
63345
63346 [BZ #13566]
63347 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63348 checking __USE_GNU.
63349
63350 * Makerules ($(inst_includedir)/%.h): New rule.
63351 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63352 (install-others): Remove variable setting.
63353 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63354
63355 2012-03-08 Richard Henderson <rth@twiddle.net>
63356
63357 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63358 from macro to inline function; merge with the
63359 !__LIBC_INTERNAL_MATH_INLINES version.
63360 (__ieee754_sqrtf): Likewise.
63361
63362 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63363 to inline function.
63364 (__rintf, __floor, __floorf): Likewise.
63365
63366 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63367 macro to inline function.
63368 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63369
63370 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63371 not <math/math_private.h>.
63372
63373 2012-03-08 David S. Miller <davem@davemloft.net>
63374
63375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63376 copyright year.
63377 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63378
63379 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
63380
63381 * resolv/gai_misc.c (handle_requests): Fix struct timespec
63382 normalization.
63383 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63384 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63385
63386 2012-03-08 Ulrich Drepper <drepper@gmail.com>
63387
63388 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
63389 be defined individually, they must be defined as a block. Define
63390 S for printing a string instead of hidint the different by using a
63391 macro for adding the 'l'.
63392 * stdio-common/tst-fphex-wide.c: Adjust.
63393
63394 2012-03-07 Marek Polacek <polacek@redhat.com>
63395
63396 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63397
63398 2012-03-08 Marek Polacek <polacek@redhat.com>
63399
63400 [BZ #13806]
63401 * stdio-common/Makefile (tests): Add tst-fphex-wide.
63402 * stdio-common/tst-fphex.c: Define a few macros to make the
63403 test reusable. Use them.
63404 * stdio-common/tst-fphex-wide.c: New file.
63405
63406 2012-03-08 Joseph Myers <joseph@codesourcery.com>
63407
63408 [BZ #6911]
63409 * manual/macros.texi (gnusystems): New macro.
63410 (nongnusystems): Likewise.
63411 (gnulinuxhurdsystems): Likewise.
63412 (gnuhurdsystems): Likewise..
63413 (gnulinuxsystems): Likewise.
63414 * manual/charset.texi: Use new macros or @theglibc{} to refer to
63415 variants of the GNU system, not "GNU system".
63416 * manual/conf.texi: Likewise.
63417 * manual/errno.texi: Likewise. Update example of errno macro
63418 expansion.
63419 * manual/filesys.texi: Likewise.
63420 (getumask): Document as specific to GNU/Hurd.
63421 * manual/install.texi: Likewise. Reword some references to
63422 GNU/Linux.
63423 * manual/intro.texi: Likewise.
63424 * manual/io.texi: Likewise.
63425 (File Name Portability): Detail which constraints are inapplicable
63426 to all GNU systems and which are only inapplicable to GNU/Hurd.
63427 * manual/job.texi: Likewise.
63428 * manual/llio.texi: Likewise.
63429 (O_NOCTTY): Document as present on GNU/Linux.
63430 * manual/maint.texi: Likewise.
63431 * manual/memory.texi: Likewise.
63432 * manual/pattern.texi: Likewise.
63433 * manual/pipe.texi: Likewise.
63434 * manual/process.texi: Likewise.
63435 * manual/resource.texi: Likewise.
63436 (RUSAGE_CHILDREN): Remove statement about specifying a particular
63437 child on GNU/Hurd.
63438 * manual/setjmp.texi: Likewise.
63439 * manual/signal.texi: Likewise.
63440 * manual/startup.texi: Likewise.
63441 * manual/stdio.texi: Likewise.
63442 * manual/terminal.texi: Likewise.
63443 (ONLCR): Document as POSIX.
63444 (OXTABS): Document availability on GNU/Linux as XTABS.
63445 (ONOEOT): Document availability separately from other bits.
63446 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63447 * manual/time.texi: Likewise.
63448 * manual/users.texi: Likewise.
63449 * INSTALL: Regenerated.
63450 * sysdeps/gnu/errlist.c: Regenerated.
63451
63452 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63453 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63454 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
63455 puts.
63456 * configure: Regenerated.
63457
63458 2012-03-07 Joseph Myers <joseph@codesourcery.com>
63459
63460 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63461 default includes instead of AC_HEADER_CHECK.
63462 * sysdeps/i386/configure: Regenerated.
63463
63464 [BZ #10716]
63465 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63466 * math/s_cacoshf.c (__cacoshf): Likewise.
63467 * math/s_cacoshl.c (__cacoshl): Likewise.
63468 * math/s_casinh.c (__casinh): Set signs of result from argument.
63469 * math/s_casinhf.c (__casinhf): Likewise.
63470 * math/s_casinhl.c (__casinhl): Likewise.
63471 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63472 (casinh_test): Add more tests.
63473 * sysdeps/i386/fpu/libm-test-ulps: Update.
63474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63475
63476 2012-03-07 Ulrich Drepper <drepper@gmail.com>
63477
63478 * po/zh_TW.po: Update from translation team.
63479
63480 * login/Makefile (distribute): Remove variable.
63481 * catgets/Makefile: Likewise.
63482 * mach/Makefile: Likewise.
63483 * malloc/Makefile: Likewise.
63484 * misc/Makefile: Likewise.
63485 * iconv/Makefile: Likewise.
63486 * nscd/Makefile: Likewise.
63487 * hurd/Makefile: Likewise.
63488 * manual/Makefile: Likewise.
63489 * locale/Makefile: Likewise.
63490 * intl/Makefile: Likewise.
63491 * conform/Makefile: Likewise.
63492 * nss/Makefile: Likewise.
63493 * time/Makefile: Likewise.
63494 * soft-fp/Makefile: Likewise.
63495 * dirent/Makefile: Likewise.
63496 * gmon/Makefile: Likewise.
63497 * po/Makefile: Likewise.
63498 * rt/Makefile: Likewise.
63499 * socket/Makefile: Likewise.
63500 * math/Makefile: Likewise.
63501 * signal/Makefile: Likewise.
63502 * debug/Makefile: Likewise.
63503 * elf/Makefile: Likewise.
63504 * timezone/Makefile: Likewise.
63505 * stdlib/Makefile: Likewise.
63506 * iconvdata/Makefile: Likewise.
63507 * sunrpc/Makefile: Likewise.
63508 * io/Makefile: Likewise.
63509 * argp/Makefile: Likewise.
63510 * inet/Makefile: Likewise.
63511 * hesiod/Makefile: Likewise.
63512 * grp/Makefile: Likewise.
63513 * csu/Makefile: Likewise.
63514 * wctype/Makefile: Likewise.
63515 * crypt/Makefile: Likewise.
63516 * libio/Makefile: Likewise.
63517 * string/Makefile: Likewise.
63518 * nis/Makefile: Likewise.
63519 * resolv/Makefile: Likewise.
63520 * stdio-common/Makefile: Likewise.
63521 * wcsmbs/Makefile: Likewise.
63522 * dlfcn/Makefile: Likewise.
63523 * posix/Makefile: Likewise.
63524
63525 [BZ #6959]
63526 * timezone/Makefile: Don't install timezone files, just the programs
63527 and scripts.
63528
63529 2012-03-06 Ulrich Drepper <drepper@gmail.com>
63530
63531 * nss/databases.def: Add missing gshadow entry.
63532
63533 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
63534
63535 2012-03-06 Marek Polacek <polacek@redhat.com>
63536
63537 [BZ #13726]
63538 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63539 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63540 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63541 * stdio-common/tst-long-dbl-fphex.c: New file.
63542
63543 2012-03-06 David S. Miller <davem@davemloft.net>
63544
63545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63546 (set_obp_int): New function.
63547 (get_obp_int): New function.
63548 (__get_clockfreq_via_dev_openprom): Likewise.
63549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63550 Avoid unused variable warnings on 'val' and use builtin_expect.
63551 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63552 __builtin_expect.
63553 (INLINE_CLONE_SYSCALL): Likewise.
63554
63555 2012-03-05 David S. Miller <davem@davemloft.net>
63556
63557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63558
63559 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
63560
63561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63562
63563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63564 only for |x| >= 40.
63565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63566
63567 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
63568
63569 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63570 Replace gettimeofday with __vdso_gettimeofday.
63571
63572 * sysdeps/unix/sysv/linux/x86_64/init-first.c
63573 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63574 __vdso_clock_gettime and __vdso_getcpu.
63575
63576 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63577 time with __vdso_time.
63578
63579 2012-03-05 Joseph Myers <joseph@codesourcery.com>
63580
63581 * manual/lang.texi (size_t): Note types to which size_t may be
63582 equivalent with the GNU C Library, but do not describe when
63583 differences between them are significant.
63584
63585 2012-03-05 Andreas Jaeger <aj@suse.de>
63586
63587 * sysdeps/i386/fpu/libm-test-ulps: Update.
63588
63589 2012-03-05 Joseph Myers <joseph@codesourcery.com>
63590
63591 [BZ #3976]
63592 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63593 (__ieee754_pow): Save and restore rounding mode and use
63594 round-to-nearest for main computations.
63595 * math/libm-test.inc (pow_test_tonearest): New function.
63596 (pow_test_towardzero): Likewise.
63597 (pow_test_downward): Likewise.
63598 (pow_test_upward): Likewise.
63599 (main): Call the new functions.
63600 * sysdeps/i386/fpu/libm-test-ulps: Update.
63601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63602
63603 [BZ #3976]
63604 * math/libm-test.inc (cosh_test_tonearest): New function.
63605 (cosh_test_towardzero): Likewise.
63606 (cosh_test_downward): Likewise.
63607 (cosh_test_upward): Likewise.
63608 (sinh_test_tonearest): Likewise.
63609 (sinh_test_towardzero): Likewise.
63610 (sinh_test_downward): Likewise.
63611 (sinh_test_upward): Likewise.
63612 (main): Call the new functions.
63613 * sysdeps/i386/fpu/libm-test-ulps: Update.
63614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63615
63616 2012-03-05 Tom de Vries <tom@codesourcery.com>
63617
63618 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63619 default stack guard is set in last bytes.
63620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63621
63622 2012-03-05 Kees Cook <keescook@chromium.org>
63623
63624 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63625
63626 [BZ #13656]
63627 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63628 possibly allocate from heap instead of stack.
63629 * stdio-common/bug-vfprintf-nargs.c: New file.
63630 * stdio-common/Makefile (tests): Add nargs overflow test.
63631
63632 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
63633
63634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63635
63636 2012-03-03 Marek Polacek <polacek@redhat.com>
63637
63638 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63639 * math/math_private.h: Likewise.
63640 * stdlib/tst-strtod.c: Likewise.
63641 * sysdeps/i386/i486/bits/atomic.h: Likewise.
63642 * sysdeps/x86_64/bits/atomic.h: Likewise.
63643
63644 2012-03-02 David S. Miller <davem@davemloft.net>
63645
63646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63650 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63651 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63652 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63653 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63654
63655 2012-03-02 Roland McGrath <roland@hack.frob.com>
63656
63657 [BZ #13792]
63658 * manual/examples/README: New file, says the example source files
63659 can be used under GPL>=2.
63660 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63661 line containing just "*/".
63662 * manual/examples/add.c: Add copyright header (GPL>=2).
63663 * manual/examples/argp-ex1.c: Likewise.
63664 * manual/examples/argp-ex2.c: Likewise.
63665 * manual/examples/argp-ex3.c: Likewise.
63666 * manual/examples/argp-ex4.c: Likewise.
63667 * manual/examples/atexit.c: Likewise.
63668 * manual/examples/db.c: Likewise.
63669 * manual/examples/dir.c: Likewise.
63670 * manual/examples/dir2.c: Likewise.
63671 * manual/examples/execinfo.c: Likewise.
63672 * manual/examples/filecli.c: Likewise.
63673 * manual/examples/filesrv.c: Likewise.
63674 * manual/examples/fmtmsgexpl.c: Likewise.
63675 * manual/examples/genpass.c: Likewise.
63676 * manual/examples/inetcli.c: Likewise.
63677 * manual/examples/inetsrv.c: Likewise.
63678 * manual/examples/isockad.c: Likewise.
63679 * manual/examples/longopt.c: Likewise.
63680 * manual/examples/memopen.c: Likewise.
63681 * manual/examples/memstrm.c: Likewise.
63682 * manual/examples/mkfsock.c: Likewise.
63683 * manual/examples/mkisock.c: Likewise.
63684 * manual/examples/mygetpass.c: Likewise.
63685 * manual/examples/pipe.c: Likewise.
63686 * manual/examples/popen.c: Likewise.
63687 * manual/examples/rprintf.c: Likewise.
63688 * manual/examples/search.c: Likewise.
63689 * manual/examples/select.c: Likewise.
63690 * manual/examples/setjmp.c: Likewise.
63691 * manual/examples/sigh1.c: Likewise.
63692 * manual/examples/sigusr.c: Likewise.
63693 * manual/examples/stpcpy.c: Likewise.
63694 * manual/examples/strdupa.c: Likewise.
63695 * manual/examples/strftim.c: Likewise.
63696 * manual/examples/strncat.c: Likewise.
63697 * manual/examples/subopt.c: Likewise.
63698 * manual/examples/swapcontext.c: Likewise.
63699 * manual/examples/termios.c: Likewise.
63700 * manual/examples/testopt.c: Likewise.
63701 * manual/examples/testpass.c: Likewise.
63702 * manual/examples/timeval_subtract.c: Likewise.
63703
63704 [BZ #13792]
63705 * manual/time.texi (Elapsed Time): Move timeval_subtract example
63706 function to ...
63707 * manual/timeval_subtract.c.texi: ... here, new file.
63708
63709 2012-03-02 David S. Miller <davem@davemloft.net>
63710
63711 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63712
63713 2012-03-02 Joseph Myers <joseph@codesourcery.com>
63714
63715 [BZ #3976]
63716 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63717 (__sin): Save and restore rounding mode and use round-to-nearest
63718 for all computations.
63719 (__cos): Save and restore rounding mode and use round-to-nearest
63720 for all computations.
63721 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63722 <fenv.h>.
63723 (tan): Save and restore rounding mode and use round-to-nearest for
63724 all computations.
63725 * math/libm-test.inc (cos_test_tonearest): New function.
63726 (cos_test_towardzero): Likewise.
63727 (cos_test_downward): Likewise.
63728 (cos_test_upward): Likewise.
63729 (sin_test_tonearest): Likewise.
63730 (sin_test_towardzero): Likewise.
63731 (sin_test_downward): Likewise.
63732 (sin_test_upward): Likewise.
63733 (tan_test_tonearest): Likewise.
63734 (tan_test_towardzero): Likewise.
63735 (tan_test_downward): Likewise.
63736 (tan_test_upward): Likewise.
63737 (main): Call the new functions.
63738 * sysdeps/i386/fpu/libm-test-ulps: Update.
63739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63740
63741 [BZ #10135]
63742 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63743 small n, then large n, before computing and testing k+n.
63744 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63746 Likewise.
63747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63748 Likewise.
63749 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63750 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63753 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63754 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63755 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63757 * math/libm-test.inc (scalbn_test): Add more tests.
63758 (scalbln_test): Likewise.
63759
63760 * manual/filesys.texi (mode_t): Describe constraints on size and
63761 signedness, not exact equivalence to a particular type.
63762 (ino_t): Likewise.
63763 (ino64_t): Likewise.
63764 (dev_t): Likewise.
63765 (nlink_t): Likewise.
63766 (blkcnt_t): Likewise.
63767 (blkcnt64_t): Likewise.
63768 * manual/llio.texi (off_t): Likewise.
63769
63770 [BZ #3976]
63771 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63772 (__ieee754_exp): Save and restore rounding mode and use
63773 round-to-nearest for all computations.
63774 * math/libm-test.inc (exp_test_tonearest): New function.
63775 (exp_test_towardzero): Likewise.
63776 (exp_test_downward): Likewise.
63777 (exp_test_upward): Likewise.
63778 (main): Call the new functions.
63779 * sysdeps/i386/fpu/libm-test-ulps: Update.
63780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63781
63782 2012-03-01 Chris Demetriou <cgd@google.com>
63783
63784 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63785 have predictable order.
63786
63787 2012-03-01 David S. Miller <davem@davemloft.net>
63788
63789 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63790
63791 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63792 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63793 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63794 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63795
63796 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63797 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63798 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63800 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63801 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63802 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63803 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63804 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63805
63806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63807
63808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63809 * sysdeps/sparc/fpu/libm-test-ulps: to here.
63810 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63811
63812 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63813 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63814 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63815 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63816 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63817 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63819 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63820 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63821 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63822 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63823 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63825 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63826 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63828 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63829 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63830 * sysdeps/sparc/elf/configure: Regenerated.
63831
63832 2012-03-01 Joseph Myers <joseph@codesourcery.com>
63833
63834 * configure.in (AS, LD): Require binutils 2.20 or later.
63835 * configure: Regenerated.
63836 * manual/install.texi (Tools for Compilation): Give binutils 2.20
63837 as required minimum version.
63838 * INSTALL: Regenerated.
63839
63840 [BZ #2541]
63841 [BZ #4108]
63842 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63843 before squaring exponent.
63844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63845 bottom long double and 27 bits of top long double before squaring
63846 exponent.
63847 * math/libm-test.inc (erfc_test): Add more tests.
63848 * sysdeps/i386/fpu/libm-test-ulps: Update.
63849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63851
63852 2012-03-01 Kai Tietz <ktietz@redhat.com>
63853
63854 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63855 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63856 containing bit-fields.
63857 * soft-fp/extended.h (_FP_UNION_E): Likewise.
63858 * soft-fp/single.h (_FP_UNION_S): Likewise.
63859 * soft-fp/double.h (_FP_UNION_D): Likewise.
63860
63861 2012-02-29 Joseph Myers <joseph@codesourcery.com>
63862
63863 [BZ #13786]
63864 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63865 not include ../strcmp.S.
63866 [USE_AS_STRNCASECMP_L]: Likewise.
63867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63868 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63869 * sysdeps/i386/i686/multiarch/strncase_l-c.c
63870 (__strncasecmp_l_ia32): Define as alias to
63871 __strncasecmp_l_nonascii.
63872
63873 [BZ #5794]
63874 * math/libm-test.inc (expm1_test): Add test for bug 5794.
63875 * sysdeps/i386/fpu/libm-test-ulps: Update.
63876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63877
63878 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63880
63881 2012-02-29 Jeff Law <law@redhat.com>
63882
63883 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63884 out of bounds read.
63885
63886 2012-02-29 Marek Polacek <polacek@redhat.com>
63887
63888 [BZ #13706]
63889 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63890 * elf/Makefile: Add rules to run tst-unused-dep.out.
63891
63892 2012-02-28 David S. Miller <davem@davemloft.net>
63893
63894 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63895 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63896 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63898 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63899 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63900
63901 2012-02-29 Joseph Myers <joseph@codesourcery.com>
63902
63903 * math/libm-test.inc (llround_test): Move one test from
63904 lround_test. Use TEST_f_L in moved test.
63905 (lround_test): Move misplaced test to llround_test. Add testcase
63906 from bug 2561.
63907
63908 2012-02-28 Ulrich Drepper <drepper@gmail.com>
63909
63910 * sysdeps/x86_64/fpu/e_expf.S: New file.
63911 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63912
63913 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
63914
63915 [BZ #13637]
63916 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63917 of remain_len that may cause incomplete multi-byte character and
63918 false match.
63919 * posix/bug-regex33.c: New file.
63920 * posix/Makefile (tests): Add bug-regex33.
63921
63922 2012-02-28 Joseph Myers <joseph@codesourcery.com>
63923
63924 * manual/macros.texi: New file.
63925 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63926 * manual/libc.texinfo: Include macros.texi.
63927 * manual/creatute.texi: Likewise.
63928 * manual/install.texi: Likewise.
63929 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63930 @glibcadj{} in references to the GNU C Library.
63931 * manual/charset.texi: Likewise.
63932 * manual/conf.texi: Likewise.
63933 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
63934 when not using those macros.
63935 * manual/creature.texi: Likewise.
63936 * manual/crypt.texi: Likewise.
63937 * manual/errno.texi: Likewise.
63938 * manual/filesys.texi: Likewise.
63939 * manual/header.texi: Likewise.
63940 * manual/install.texi: Likewise.
63941 * manual/intro.texi: Likewise.
63942 * manual/io.texi: Likewise.
63943 * manual/job.texi: Likewise.
63944 * manual/lang.texi: Likewise.
63945 * manual/libc.texiinfo: Likewise.
63946 * manual/llio.texi: Likewise.
63947 * manual/locale.texi: Likewise.
63948 * manual/maint.texi: Likewise.
63949 * manual/math.texi: Likewise.
63950 * manual/memory.texi: Likewise.
63951 * manual/message.texi: Likewise.
63952 * manual/nss.texi: Likewise.
63953 * manual/pattern.texi: Likewise.
63954 * manual/process.texi: Likewise.
63955 * manual/resource.texi: Likewise.
63956 * manual/search.texi: Likewise.
63957 * manual/setjmp.texi: Likewise.
63958 * manual/signal.texi: Likewise.
63959 * manual/socket.texi: Likewise.
63960 * manual/startup.texi: Likewise.
63961 * manual/stdio.texi: Likewise.
63962 * manual/string.texi: Likewise.
63963 * manual/sysinfo.texi: Likewise.
63964 * manual/syslog.texi: Likewise.
63965 * manual/terminal.texi: Likewise.
63966 * manual/time.texi: Likewise.
63967 * manual/users.texi: Likewise.
63968 * INSTALL: Regenerated.
63969 * NOTES: Regenerated.
63970 * sysdeps/gnu/errlist.c: Regenerated.
63971
63972 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
63973
63974 * include/dirent.h: Include <dirstream.h> before
63975 <dirent/dirent.h>.
63976
63977 2012-02-28 David S. Miller <davem@davemloft.net>
63978
63979 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63980 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63981 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63982 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63983
63984 2012-02-27 David S. Miller <davem@davemloft.net>
63985
63986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63988 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63989 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63990
63991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63992 frame pointer instead of stack pointer relative arg slot.
63993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63996
63997 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
63998
63999 [BZ #3992]
64000 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64001
64002 2012-02-27 David S. Miller <davem@davemloft.net>
64003
64004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64008 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64009 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64010 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64011 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64012
64013 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64014
64015 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64016 later. Allow versions 5-9.
64017 * configure: Regenerated.
64018 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64019 required minimum version and 4.6 as recommended version. Do not
64020 mention bugs in GCC 2.7 and 2.8.
64021 * INSTALL: Regenerated.
64022
64023 2012-02-27 David S. Miller <davem@davemloft.net>
64024
64025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64031 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64032 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64033
64034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64035 manipulate bits before adding and subtracting TWO112[sx].
64036 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64037
64038 2012-02-27 Roland McGrath <roland@hack.frob.com>
64039
64040 [BZ #13775]
64041 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64042 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64043 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64044 being in POSIX, because they are in 1003.1-2008.
64045
64046 * rt/tst-aio.c: Include <fcntl.h>.
64047 * rt/tst-aio7.c: Likewise.
64048 * rt/tst-aio64.c: Likewise.
64049
64050 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64051
64052 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64053
64054 * manual/install.texi (--with-headers): Describe headers as
64055 interface headers, not private headers.
64056 (Specific advice for GNU/Linux systems): Describe use of headers
64057 from "make headers_install", not private headers from older
64058 kernels.
64059 * INSTALL: Regenerated.
64060 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64061 Change to 2.6.19.
64062 * sysdeps/unix/sysv/linux/configure: Regenerated.
64063
64064 * manual/llio.texi (fclean): Remove documentation.
64065
64066 * manual/Makefile (libc-texi-generated): New variable. Include
64067 version.texi.
64068 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64069 $(libc-texi-generated), not duplicated list of files.
64070 (version.texi, stamp-version): New rules.
64071 (realclean): Remove $(libc-texi-generated), not individual files
64072 from that list. Do not remove dir-add.texinfo.
64073 * manual/libc.texinfo: Comment out uses of edition numbers and
64074 references to printed manual. Remove last-updated dates.
64075 (EDITION): Comment out.
64076 (ISBN): Likewise.
64077 (VERSION, UPDATED): Remove.
64078 (version.texi): Include.
64079
64080 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
64081
64082 * sysdeps/posix/spawni.c: Include <signal.h>.
64083 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64084 * sysdeps/pthread/aio_fsync.c: Likewise.
64085
64086 2012-02-26 Ulrich Drepper <drepper@gmail.com>
64087
64088 * conform/Makefile (tests): Run only when not cross-compiling and
64089 when fast-check is not defined.
64090
64091 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64092 * conform/data/limits.h-data: Fixes for POSIX2008.
64093 * conform/run-conformtest.sh: Run all tests.
64094 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64095 headers.
64096 * include/bits/dlfcn.h: Likewise.
64097 * include/langinfo.h: Likewise.
64098 * include/monetary.h: Likewise.
64099 * include/sys/poll.h: Likewise.
64100
64101 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64102 for __USE_GNU.
64103 * posix/spawn.h: Define __need_sigset_t.
64104 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64105 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64106 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
64107 to get sigevent_t only.
64108 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64109 only for __USE_GNU.
64110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64111 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64112 process_vm_writev only for __USE_GNU.
64113 * termios/termios.h: Declare tcgetsid also for POSIX2008.
64114
64115 * conform/Makefile: For now ignore errors from run-conformtest.
64116 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
64117 POSIX to avoid namespace pollution. Don't prepend headers.
64118 * conform/data/aio.h-data: Fixes for POSIX testing.
64119 * conform/data/fcntl.h-data: Likewise.
64120 * conform/data/glob.h-data: Likewise.
64121 * conform/data/grp.h-data: Likewise.
64122 * conform/data/pthread.h-data: Likewise.
64123 * conform/data/pwd.h-data: Likewise.
64124 * conform/data/signal.h-data: Likewise.
64125 * conform/data/spawn.h-data: Likewise.
64126 * conform/data/stdio.h-data: Likewise.
64127 * conform/data/stdlib.h-data: Likewise.
64128 * conform/data/stropts.h-data: Likewise.
64129 * conform/data/sys/mman.h-data: Likewise.
64130 * conform/data/sys/stat.h-data: Likewise.
64131 * conform/data/sys/types.h-data: Likewise.
64132 * conform/data/sys/wait.h-data: Likewise.
64133 * conform/data/time.h-data: Likewise.
64134 * conform/data/unistd.h-data: Likewise.
64135 * conform/data/utime.h-data: Likewise.
64136
64137 * io/sys/stat.h: fchmod was always in POSIX.
64138 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64139 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64140 * rt/aio.h: Define __need_timespec before including <time.h>.
64141 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64142 struct. Add forward declaration of pthread_attr_t and use it in
64143 sigevent.
64144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64146 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64147 always remove CLK_TCK definition.
64148
64149 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
64150
64151 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64152
64153 2012-02-25 Ulrich Drepper <drepper@gmail.com>
64154
64155 * conform/run-conformtest.sh: New file.
64156 * conform/Makefile: Run run-conformtest for tests.
64157 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
64158 support.
64159
64160 * conform/data/uchar.h-data: New file.
64161 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64162 * conform/data/arpa/inet.h-data: Likewise.
64163 * conform/data/assert.h-data: Likewise.
64164 * conform/data/complex.h-data: Likewise.
64165 * conform/data/cpio.h-data: Likewise.
64166 * conform/data/ctype.h-data: Likewise.
64167 * conform/data/dirent.h-data: Likewise.
64168 * conform/data/dlfcn.h-data: Likewise.
64169 * conform/data/errno.h-data: Likewise.
64170 * conform/data/fcntl.h-data: Likewise.
64171 * conform/data/float.h-data: Likewise.
64172 * conform/data/fmtmsg.h-data: Likewise.
64173 * conform/data/fnmatch.h-data: Likewise.
64174 * conform/data/ftw.h-data: Likewise.
64175 * conform/data/glob.h-data: Likewise.
64176 * conform/data/grp.h-data: Likewise.
64177 * conform/data/iconv.h-data: Likewise.
64178 * conform/data/inttypes.h-data: Likewise.
64179 * conform/data/langinfo.h-data: Likewise.
64180 * conform/data/libgen.h-data: Likewise.
64181 * conform/data/limits.h-data: Likewise.
64182 * conform/data/locale.h-data: Likewise.
64183 * conform/data/math.h-data: Likewise.
64184 * conform/data/monetary.h-data: Likewise.
64185 * conform/data/mqueue.h-data: Likewise.
64186 * conform/data/ndbm.h-data: Likewise.
64187 * conform/data/net/if.h-data: Likewise.
64188 * conform/data/netdb.h-data: Likewise.
64189 * conform/data/netinet/in.h-data: Likewise.
64190 * conform/data/nl_types.h-data: Likewise.
64191 * conform/data/poll.h-data: Likewise.
64192 * conform/data/pthread.h-data: Likewise.
64193 * conform/data/pwd.h-data: Likewise.
64194 * conform/data/regex.h-data: Likewise.
64195 * conform/data/sched.h-data: Likewise.
64196 * conform/data/search.h-data: Likewise.
64197 * conform/data/semaphore.h-data: Likewise.
64198 * conform/data/setjmp.h-data: Likewise.
64199 * conform/data/signal.h-data: Likewise.
64200 * conform/data/spawn.h-data: Likewise.
64201 * conform/data/stdarg.h-data: Likewise.
64202 * conform/data/stdio.h-data: Likewise.
64203 * conform/data/stdlib.h-data: Likewise.
64204 * conform/data/string.h-data: Likewise.
64205 * conform/data/strings.h-data: Likewise.
64206 * conform/data/stropts.h-data: Likewise.
64207 * conform/data/sys/ipc.h-data: Likewise.
64208 * conform/data/sys/mman.h-data: Likewise.
64209 * conform/data/sys/msg.h-data: Likewise.
64210 * conform/data/sys/resource.h-data: Likewise.
64211 * conform/data/sys/select.h-data: Likewise.
64212 * conform/data/sys/sem.h-data: Likewise.
64213 * conform/data/sys/shm.h-data: Likewise.
64214 * conform/data/sys/socket.h-data: Likewise.
64215 * conform/data/sys/stat.h-data: Likewise.
64216 * conform/data/sys/statvfs.h-data: Likewise.
64217 * conform/data/sys/time.h-data: Likewise.
64218 * conform/data/sys/timeb.h-data: Likewise.
64219 * conform/data/sys/times.h-data: Likewise.
64220 * conform/data/sys/types.h-data: Likewise.
64221 * conform/data/sys/uio.h-data: Likewise.
64222 * conform/data/sys/un.h-data: Likewise.
64223 * conform/data/sys/utsname.h-data: Likewise.
64224 * conform/data/sys/wait.h-data: Likewise.
64225 * conform/data/syslog.h-data: Likewise.
64226 * conform/data/tar.h-data: Likewise.
64227 * conform/data/termios.h-data: Likewise.
64228 * conform/data/utime.h-data: Likewise.
64229 * conform/data/utmpx.h-data: Likewise.
64230 * conform/data/varargs.h-data: Likewise.
64231 * conform/data/wchar.h-data: Likewise.
64232 * conform/data/wctype.h-data: Likewise.
64233 * conform/data/wordexp.h-data: Likewise.
64234
64235 * include/stropts.h: New file.
64236 * include/uchar.h: New file.
64237 * include/aio.h: Changes to allow conformtest.pl to use the headers.
64238 * include/assert.h: Likewise.
64239 * include/ctype.h: Likewise.
64240 * include/dirent.h: Likewise.
64241 * include/dlfcn.h: Likewise.
64242 * include/fcntl.h: Likewise.
64243 * include/fnmatch.h: Likewise.
64244 * include/glob.h: Likewise.
64245 * include/grp.h: Likewise.
64246 * include/libio.h: Likewise.
64247 * include/locale.h: Likewise.
64248 * include/math.h: Likewise.
64249 * include/net/if.h: Likewise.
64250 * include/netdb.h: Likewise.
64251 * include/netinet/in.h: Likewise.
64252 * include/pthread.h: Likewise.
64253 * include/pwd.h: Likewise.
64254 * include/regex.h: Likewise.
64255 * include/sched.h: Likewise.
64256 * include/search.h: Likewise.
64257 * include/setjmp.h: Likewise.
64258 * include/signal.h: Likewise.
64259 * include/stdio.h: Likewise.
64260 * include/stdlib.h: Likewise.
64261 * include/string.h: Likewise.
64262 * include/sys/cdefs.h: Likewise.
64263 * include/sys/mman.h: Likewise.
64264 * include/sys/msg.h: Likewise.
64265 * include/sys/resource.h: Likewise.
64266 * include/sys/select.h: Likewise.
64267 * include/sys/socket.h: Likewise.
64268 * include/sys/stat.h: Likewise.
64269 * include/sys/statvfs.h: Likewise.
64270 * include/sys/time.h: Likewise.
64271 * include/sys/times.h: Likewise.
64272 * include/sys/uio.h: Likewise.
64273 * include/sys/utsname.h: Likewise.
64274 * include/sys/wait.h: Likewise.
64275 * include/termios.h: Likewise.
64276 * include/time.h: Likewise.
64277 * include/ulimit.h: Likewise.
64278 * include/unistd.h: Likewise.
64279 * include/utime.h: Likewise.
64280 * include/wchar.h: Likewise.
64281 * include/wctype.h: Likewise.
64282 * include/wordexp.h: Likewise.
64283
64284 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64285
64286 * time/time.h: TIME_UTC must be a macro.
64287 Make timespec_get available for ISO C11 only as well.
64288
64289 2012-02-24 Ulrich Drepper <drepper@gmail.com>
64290
64291 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64292 Reported by Peng Haitao <penght@cn.fujitsu.com>.
64293
64294 2012-02-24 Joseph Myers <joseph@codesourcery.com>
64295
64296 * configure.in: Use -o not -a in test for unsupported multi-arch.
64297
64298 2012-02-24 Joseph Myers <joseph@codesourcery.com>
64299
64300 * manual/texinfo.tex: Update to version 2012-01-19.16.
64301
64302 2012-02-24 Joseph Myers <joseph@codesourcery.com>
64303
64304 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64305
64306 2012-02-24 Roland McGrath <roland@hack.frob.com>
64307
64308 [BZ #13738]
64309 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64310 * manual/fdl-1.3.texi: New file.
64311 * manual/fdl-1.1.texi: File removed.
64312
64313 [BZ #13738]
64314 * manual/libc.texinfo (FDL_VERSION): New @set.
64315 Use it for mention of FDL in cover text.
64316 (Documentation License): Use it in @include file name.
64317
64318 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64319 Roland McGrath <roland@hack.frob.com>
64320
64321 [BZ #5461]
64322 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64323 (not LONG_LONG_MAX and LONG_LONG_MIN.
64324 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64325 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
64326 name.
64327 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64328
64329 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64330
64331 [BZ #2547]
64332 [BZ #11365]
64333 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64334 manipulate bits before adding and subtracting TWO23[sx].
64335 * math/libm-test.inc (nearbyint_test): Add more tests.
64336
64337 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64338
64339 [BZ #2548]
64340 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64341 bits before adding and subtracting TWO23[sx].
64342 * math/libm-test.inc (rint_test): Add more tests.
64343 (rint_test_tonearest): Likewise.
64344 (rint_test_towardzero): Likewise.
64345 (rint_test_downward): Likewise.
64346 (rint_test_upward: Likewise.
64347
64348 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64349
64350 [BZ #10110]
64351 * include/stdc-predef.h: New file. Extracted from features.h.
64352 * include/features.h: Include stdc-predef.h.
64353 * Makefile (headers): Add stdc-predef.h.
64354 * CONFORMANCE (Compiler limitations): Update.
64355
64356 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64357
64358 * manual/libc.texinfo (VERSION, UPDATED): Revert.
64359
64360 2012-02-21 David S. Miller <davem@davemloft.net>
64361
64362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64364
64365 2012-02-20 David S. Miller <davem@davemloft.net>
64366
64367 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64368 using a normal save/restore sequence, rather than allocating a
64369 dummy stack frame just to store a frame pointer and restore.
64370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64371
64372 2012-02-21 Joseph Myers <joseph@codesourcery.com>
64373
64374 * manual/install.texi: Fix stray word in line-wrapped comment.
64375
64376 2012-02-20 David S. Miller <davem@davemloft.net>
64377
64378 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64379 both binutils and gcc support GOTDATA.
64380
64381 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64382 "rd %pc" in the PIC register setup sequences.
64383
64384 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64385 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64386 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64387 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64388 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64393 (SYSCALL_ERROR_HANDLER): Likewise.
64394 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64397 (SYSCALL_ERROR_HANDLER): Likewise.
64398
64399 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64400 (HAVE_GCC_GOTDATA): New.
64401 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64402 relocation support in both binutils and gcc.
64403 * sysdeps/sparc/elf/configure: Regenerate.
64404
64405 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64406 * sysdeps/sparc/sparc32/elf/configure: Delete.
64407 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64408 * sysdeps/sparc/sparc64/elf/configure: Delete.
64409 * sysdeps/sparc/elf/configure.in: New file.
64410 * sysdeps/sparc/elf/configure: Generate.
64411
64412 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64413 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64414 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64415 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64416 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64417
64418 2012-02-21 Joseph Myers <joseph@codesourcery.com>
64419
64420 * manual/install.texi: Do not mention specific glibc version
64421 numbers.
64422 * manual/libc.texinfo (VERSION, UPDATED): Update.
64423 (@copying): Use @copyright{} and range of years.
64424
64425 2012-02-21 Joseph Myers <joseph@codesourcery.com>
64426
64427 [BZ #13695]
64428 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64429 [crti.S not in sysdirs] (generated): Do not append.
64430 [crti.S not in sysdirs] (omit-deps): Likewise.
64431 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64432 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64433 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64434 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64435 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64436 Likewise.
64437 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64438 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64439 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64440 * csu/defs.awk: Remove file.
64441 * sysdeps/generic/initfini.c: Likewise.
64442 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64443 variable.
64444 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64445 Likewise.
64446
64447 2012-02-20 Joseph Myers <joseph@codesourcery.com>
64448
64449 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64450 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64451 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64452 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64454 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64455 <bits/epoll.h>.
64456 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64457 (__EPOLL_PACKED): Define to empty if not defined by
64458 <bits/epoll.h>.
64459 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64461 bits/epoll.h.
64462
64463 2012-02-20 Joseph Myers <joseph@codesourcery.com>
64464
64465 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64466 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64467 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64468 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64469 <bits/timerfd.h>.
64470 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64472 bits/timerfd.h.
64473
64474 2012-02-20 Joseph Myers <joseph@codesourcery.com>
64475
64476 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64477 in C locale.
64478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64479 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64480 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64482
64483 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
64484
64485 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64486 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64487
64488 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
64489
64490 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64491 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64492 defined.
64493 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64494 Likewise.
64495 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64496 entry for 2.16.
64497
64498 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
64499
64500 * math/w_acos.c: Use non-signaling floating-point comparisons.
64501 * math/w_acosf.c: Likewise.
64502 * math/w_acosh.c: Likewise.
64503 * math/w_acoshf.c: Likewise.
64504 * math/w_acoshl.c: Likewise.
64505 * math/w_acosl.c: Likewise.
64506 * math/w_asin.c: Likewise.
64507 * math/w_asinf.c: Likewise.
64508 * math/w_asinl.c: Likewise.
64509 * math/w_atanh.c: Likewise.
64510 * math/w_atanhf.c: Likewise.
64511 * math/w_atanhl.c: Likewise.
64512 * math/w_exp2.c: Likewise.
64513 * math/w_exp2f.c: Likewise.
64514 * math/w_exp2l.c: Likewise.
64515 * math/w_j0.c: Likewise.
64516 * math/w_j0f.c: Likewise.
64517 * math/w_j0l.c: Likewise.
64518 * math/w_j1.c: Likewise.
64519 * math/w_j1f.c: Likewise.
64520 * math/w_j1l.c: Likewise.
64521 * math/w_jn.c: Likewise.
64522 * math/w_jnf.c: Likewise.
64523 * math/w_log.c: Likewise.
64524 * math/w_log10.c: Likewise.
64525 * math/w_log10f.c: Likewise.
64526 * math/w_log10l.c: Likewise.
64527 * math/w_log2.c: Likewise.
64528 * math/w_log2f.c: Likewise.
64529 * math/w_log2l.c: Likewise.
64530 * math/w_logf.c: Likewise.
64531 * math/w_logl.c: Likewise.
64532 * math/w_sqrt.c: Likewise.
64533 * math/w_sqrtf.c: Likewise.
64534 * math/w_sqrtl.c: Likewise.
64535 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64536 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64537 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64538 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64539 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64540
64541 2012-02-19 Joseph Myers <joseph@codesourcery.com>
64542
64543 [BZ #9739]
64544 * manual/string.texi (strnlen): Use correct parameter name in
64545 equivalent expression.
64546
64547 2012-02-19 Joseph Myers <joseph@codesourcery.com>
64548
64549 [BZ #11174]
64550 * manual/users.texi (seteuid): Consistently use neweuid for
64551 argument name.
64552
64553 2012-02-19 Joseph Myers <joseph@codesourcery.com>
64554
64555 [BZ #13704]
64556 * manual/nss.texi (Services in the NSS configuration): Correct
64557 list of services in example configuration file.
64558
64559 2012-02-19 Nick Bowler <nbowler@draconx.ca>
64560
64561 [BZ #11322]
64562 * manual/arith.texi: Remove statements about negative zero
64563 behaving identically to zero.
64564
64565 2012-02-18 Joseph Myers <joseph@codesourcery.com>
64566
64567 [BZ #5993]
64568 * manual/install.texi: Do not document upgrading from libc5.
64569
64570 2012-02-18 Joseph Myers <joseph@codesourcery.com>
64571
64572 [BZ #4596]
64573 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64574
64575 2012-02-18 David S. Miller <davem@davemloft.net>
64576
64577 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64578 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64579 %o7 across the call.
64580 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64581 instead.
64582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64583 SETUP_PIC_REG_LEAF.
64584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64585 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64586 * sysdeps/sparc/crtn.S: Likewise.
64587
64588 2012-02-17 Ulrich Drepper <drepper@gmail.com>
64589
64590 * aout/Makefile: Remove.
64591
64592 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
64593
64594 [BZ #13058]
64595 * manual/examples/argp-ex1.c (main): Format definition in GNU
64596 style.
64597 * manual/examples/argp-ex2.c (main): Likewise.
64598 * manual/examples/argp-ex3.c (main): Likewise.
64599 * manual/examples/argp-ex4.c (main): Likewise.
64600 * manual/examples/longopt.c (main): Use new-style prototype
64601 definition.
64602 * manual/examples/strncat.c (main): Specify return type and use
64603 (void) for arguments.
64604 * manual/examples/subopt.c (main): Use char **argv argument.
64605
64606 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64607
64608 [BZ #5077]
64609 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64610 rounding modes.
64611
64612 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
64613
64614 [BZ #6907]
64615 * manual/string.texi (strchr): Change when strchrnul is
64616 recommended.
64617
64618 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
64619
64620 [BZ #174]
64621 * manual/locale.texi (setlocale): Document LOCPATH.
64622
64623 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64624
64625 [BZ #10210]
64626 * manual/process.texi (execle): Move @dots{} before last argument.
64627
64628 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
64629
64630 [BZ #12047]
64631 * manual/charset.texi (Generic Charset Conversion): Fix typo
64632 (LC_TYPE -> LC_CTYPE).
64633
64634 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
64635
64636 [BZ #5805]
64637 * manual/arith.texi (scalbn): Use @var{} on parameter names.
64638 (scalbnf): Likewise.
64639 (scalbnl): Likewise.
64640 (scalbln): Likewise.
64641 (scalblnf): Likewise.
64642 (scalblnl): Likewise.
64643 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64644 (vwarnx): Likewise.
64645 (verr): Likewise.
64646 (verrx): Likewise.
64647 * manual/filesys.texi (telldir): Use braces around return type.
64648 * manual/llio.texi (mmap): Add space after comma.
64649 (mmap64): Likewise.
64650 * manual/math.texi (jn): Use @var{} on parameter names.
64651 (jnf): Likewise.
64652 (jnl): Likewise.
64653 (yn): Likewise.
64654 (ynf): Likewise.
64655 (ynl): Likewise.
64656 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64657 line.
64658 * manual/resource.texi (ulimit): Use @dots{} instead of literal
64659 "...".
64660 (sched_get_priority_min): Remove semicolon on @deftypefun line.
64661 (sched_get_priority_max): Likewise.
64662 * manual/signal.texi (sigvec): Add space after comma.
64663 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64664 names.
64665 (if_indextoname): Likewise.
64666 (if_freenameindex): Likewise.
64667 (sendto): Use ',' instead of '.' in prototype.
64668 * manual/startup.texi (syscall): Use @dots{} instead of literal
64669 "...".
64670 * manual/stdio.texi (__fpending): Separate initial words of
64671 paragraph from @deftypefun line.
64672 * manual/syslog.texi (syslog): Use @dots{} instead of literal
64673 "...".
64674 (vsyslog): Use @var{} on parameter names.
64675 * manual/terminal.texi (stty): Use @var{} on parameter names.
64676 * manual/users.texi (getutmp): Use @var{} on parameter names.
64677 (getutmpx): Likewise.
64678
64679 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64680
64681 [BZ #6884]
64682 * manual/stdio.texi (fopen): Fix typos in description of
64683 ",ccs=STRING".
64684
64685 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
64686
64687 [BZ #4026]
64688 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64689 get clock_id definition.
64690
64691 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
64692
64693 [BZ #4822]
64694 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64695 (madvise): Cast every argument to void on its own.
64696
64697 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64698
64699 [BZ #9902]
64700 * manual/startup.texi (Exit Status): Fix typo.
64701
64702 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64703
64704 [BZ #10140]
64705 * manual/examples/argp-ex1.c: Include <stdlib.h>.
64706 * manual/examples/argp-ex2.c: Likewise.
64707 * manual/examples/argp-ex3.c: Likewise.
64708
64709 2012-02-16 Richard Henderson <rth@redhat.com>
64710
64711 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64712 * sysdeps/s390/s390-32/initfini.c: Remove.
64713 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64714 * sysdeps/s390/s390-64/initfini.c: Remove.
64715
64716 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64717
64718 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64719 compiler output for sysdeps/generic/initfini.c.
64720 * sysdeps/sh/elf/initfini.c: Remove file.
64721
64722 2012-02-16 David S. Miller <davem@davemloft.net>
64723
64724 [BZ #11494]
64725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64726
64727 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64728 * sysdeps/sparc/crti.S: New file.
64729 * sysdeps/sparc/crtn.S: New file.
64730 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64731 * sysdeps/sparc/sparc64/Makefile: Likewise.
64732
64733 2012-02-15 Mike Frysinger <vapier@gentoo.org>
64734
64735 [BZ #3335]
64736 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64737
64738 2012-02-15 Roland McGrath <roland@hack.frob.com>
64739
64740 [BZ #4822]
64741 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64742
64743 * mach/devstream.c (cookie_io_functions_t): Macro removed.
64744 (write, read, close): Likewise.
64745 Patch by Aurelien Jarno <aurelien@aurel32.net>.
64746
64747 2012-02-15 Joseph Myers <joseph@codesourcery.com>
64748
64749 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64750 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64751 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64752 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64753 <bits/signalfd.h>.
64754 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64756 bits/signalfd.h.
64757
64758 2012-02-14 Marek Polacek <polacek@redhat.com>
64759
64760 * sysdeps/x86_64/crti.S: New file.
64761 * sysdeps/x86_64/crtn.S: New file.
64762 * sysdeps/x86_64/elf/initfini.c: Remove file.
64763
64764 2012-02-13 Joseph Myers <joseph@codesourcery.com>
64765
64766 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64767 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64768 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64769 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64770 <bits/inotify.h>.
64771 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64773 bits/inotify.h.
64774
64775 2012-02-13 Joseph Myers <joseph@codesourcery.com>
64776
64777 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64778 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64779 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64780 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64781 <bits/eventfd.h>.
64782 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64784 bits/eventfd.h.
64785
64786 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
64787
64788 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64789 __feraiseexcept instead of feraiseexcept.
64790
64791 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64792 nanosleep invocations.
64793 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64794 strings, and add error checking for a nanosleep invocations.
64795
64796 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
64797
64798 Replace FSF snail mail address with URLs, as per GNU coding standards.
64799 Most of the snail mail addresses were wrong anyway, and omitting
64800 them makes the source code easier to maintain. Almost all of the
64801 changes are to license notices and to locale LC_IDENTIFICATION
64802 addresses, except for this one:
64803 * manual/libc.texinfo: In "Published by", give the FSF's URL,
64804 not its snail mail address.
64805
64806 2012-02-09 Richard Henderson <rth@twiddle.net>
64807
64808 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64809 of kernel-features.h.
64810
64811 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64812
64813 2012-02-08 Marek Polacek <polacek@redhat.com>
64814
64815 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64816 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64817 * sysdeps/gnu/_G_config.h: Likewise.
64818 * sysdeps/generic/_G_config.h: Likewise.
64819
64820 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
64821
64822 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64823 tests.
64824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64825
64826 * sysdeps/powerpc/powerpc32/crti.S: New file.
64827 * sysdeps/powerpc/powerpc32/crtn.S: New file.
64828 * sysdeps/powerpc/powerpc64/crti.S: New file.
64829 * sysdeps/powerpc/powerpc64/crtn.S: New file.
64830
64831 * Makeconfig (have-initfini): Don't set.
64832 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64833 * configure.in (nopic_initfini): Don't substitute.
64834 * config.h.in (HAVE_INITFINI): Don't #undef.
64835 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64836 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64837
64838 2012-02-08 Joseph Myers <joseph@codesourcery.com>
64839
64840 Support crti.S and crtn.S provided directly by architectures.
64841 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64842 [crti.S in sysdirs] (omit-deps): Likewise.
64843 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64844 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64845 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64846 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64847 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64848 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64849 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64850 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64851 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64852 compiler output for sysdeps/generic/initfini.c.
64853 * sysdeps/i386/elf/Makefile: Remove file.
64854 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64855
64856 2012-02-07 Marek Polacek <polacek@redhat.com>
64857
64858 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64859 * sysdeps/gnu/_G_config.h: Likewise.
64860 * sysdeps/mach/hurd/_G_config.h: Likewise.
64861
64862 2012-02-07 Marek Polacek <polacek@redhat.com>
64863
64864 * math/Makefile (tests): Add tst-CMPLX2.
64865 * math/tst-CMPLX2.c: New file.
64866
64867 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
64868
64869 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64870
64871 * math/libm-test.inc (jn_test): Add missing L suffix.
64872
64873 2012-02-06 Marek Polacek <polacek@redhat.com>
64874
64875 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64876 * sysdeps/i386/fpu/e_powf.S: Likewise.
64877 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64878 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
64880 * sysdeps/i386/fpu/e_pow.S: Likewise.
64881 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64882 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64883 * sysdeps/i386/fpu/s_expm1.S: Likewise.
64884 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64885 * sysdeps/i386/fpu/e_log2.S: Likewise.
64886 * sysdeps/i386/fpu/e_log2l.S: Likewise.
64887 * sysdeps/i386/fpu/e_scalb.S: Likewise.
64888 * sysdeps/i386/fpu/e_powl.S: Likewise.
64889 * sysdeps/i386/fpu/s_log1p.S: Likewise.
64890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
64891 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64892 * sysdeps/i386/fpu/e_logl.S: Likewise.
64893 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64894 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64895 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64896 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64897 * sysdeps/i386/fpu/e_log2f.S: Likewise.
64898 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64899 * sysdeps/i386/fpu/e_log.S: Likewise.
64900 * sysdeps/i386/fpu/s_cexp.S: Likewise.
64901 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64902 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64903 * sysdeps/i386/fpu/e_logf.S: Likewise.
64904 * sysdeps/i386/fpu/e_log10l.S: Likewise.
64905 * sysdeps/i386/fpu/e_atanh.S: Likewise.
64906 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64907 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64908 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64909 * sysdeps/i386/fpu/e_log10.S: Likewise.
64910 * sysdeps/i386/fpu/s_frexp.S: Likewise.
64911 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64912 * sysdeps/i386/fpu/s_asinh.S: Likewise.
64913 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64914 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64915 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64916 * sysdeps/i386/asm-syntax.h: Likewise.
64917 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64918 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64919 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64920 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64921 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64922 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64923 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64924 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64925 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64926 * sysdeps/powerpc/sysdep.h: Likewise.
64927 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64928 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64929
64930 2012-02-06 Joseph Myers <joseph@codesourcery.com>
64931
64932 [BZ #411]
64933 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64934
64935 2012-02-06 Joseph Myers <joseph@codesourcery.com>
64936
64937 * sysdeps/i386/sysdep.h: Include <features.h>.
64938 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64939 version.
64940
64941 2012-02-05 Joseph Myers <joseph@codesourcery.com>
64942
64943 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64944 Define.
64945 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64946 LOAD_PIC_REG_STR.
64947
64948 2012-02-03 Joseph Myers <joseph@codesourcery.com>
64949
64950 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64951 (SETUP_PIC_REG): Use GET_PC_THUNK.
64952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64953 macro.
64954
64955 2012-02-03 Joseph Myers <joseph@codesourcery.com>
64956
64957 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64958 for non-PIC compilation.
64959 (SETUP_PIC_REG): Add .p2align directive.
64960 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64961 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64962 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64963 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64964 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64965 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64966 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64967 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64968 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64969 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64970 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64971 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64972 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64973 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64974 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64975 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64976 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64977 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64978 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64979 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64980 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64981 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64982 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64983 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64986 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64988 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64989 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64990 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64991 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64992 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64993 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64994 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64995 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64996 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64997 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64998 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64999 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65000 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65001
65002 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65003
65004 * math/tst-CMPLX.c: Include <stdio.h>.
65005
65006 2012-01-31 Joseph Myers <joseph@codesourcery.com>
65007
65008 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65009 float.
65010 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65011 * sysdeps/sparc/bits/mathdef.h: Likewise.
65012
65013 2012-01-31 Marek Polacek <polacek@redhat.com>
65014
65015 * libio/libio.h: Don't define _PARAMS.
65016 * locale/programs/config.h: Don't define PARAMS.
65017 * stdlib/strtol_l.c: Likewise.
65018 (__strtol_l): Remove PARAMS from the prototype.
65019
65020 2012-01-31 Ulrich Drepper <drepper@gmail.com>
65021
65022 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
65023 names. Just use the correct names. Remove unnecessary wrapper
65024 functions.
65025 * malloc/arena.c: Likewise.
65026 * malloc/hooks.c: Likewise.
65027
65028 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65029 ARENA_TEST says not to. Simplify test for creation of a new arena.
65030 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65031
65032 2012-01-30 Ulrich Drepper <drepper@gmail.com>
65033
65034 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65035 into tail calls.
65036 (update_get_addr): New function.
65037 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65038 GET_ADDR_MODULE parameter.
65039
65040 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65041
65042 * crypt/cert.c: Remove __STDC__ conditionals.
65043 * crypt/crypt-entry.c: Likewise.
65044 * crypt/crypt_util.c: Likewise.
65045 * libio/filedoalloc.c: Likewise.
65046 * libio/fileops.c: Likewise.
65047 * libio/genops.c: Likewise.
65048 * libio/iofclose.c: Likewise.
65049 * libio/iofdopen.c: Likewise.
65050 * libio/iofopen.c: Likewise.
65051 * libio/iofopen64.c: Likewise.
65052 * libio/iogetdelim.c: Likewise.
65053 * libio/iopopen.c: Likewise.
65054 * libio/obprintf.c: Likewise.
65055 * libio/oldfileops.c: Likewise.
65056 * libio/oldiofclose.c: Likewise.
65057 * libio/oldiofdopen.c: Likewise.
65058 * libio/oldiofopen.c: Likewise.
65059 * libio/oldiopopen.c: Likewise.
65060 * libio/wfiledoalloc.c: Likewise.
65061 * libio/wgenops.c: Likewise.
65062 * locale/programs/xmalloc.c: Likewise.
65063 * misc/syslog.c: Likewise.
65064 * stdio-common/xbug.c: Likewise.
65065 * string/memchr.c: Likewise.
65066 * string/memcmp.c: Likewise.
65067 * string/memrchr.c: Likewise.
65068 * string/rawmemchr.c: Likewise.
65069 * sysdeps/posix/getcwd.c: Likewise.
65070 * time/strftime_l.c: Likewise.
65071
65072 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65073
65074 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65075 * config.make.in (config-cflags-sse2avx): Define.
65076 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65077 Fix typo.
65078
65079 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
65080
65081 * scripts/config.guess: Update from upstream config git repository.
65082 * scripts/config.sub: Likewise.
65083
65084 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
65085
65086 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65087 (EM_NUM): Update.
65088 (R_TILEPRO_*, R_TILEGX_*): New macros.
65089
65090 * scripts/firstversions.awk: Fix bug in version range handling.
65091
65092 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65093
65094 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65095
65096 * include/sys/epoll.h: New file.
65097 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65098 libc_hidden_def.
65099
65100 2012-01-28 Ulrich Drepper <drepper@gmail.com>
65101
65102 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65103 Avoid unnecessary __WORDSIZE == 64 test.
65104 (fmaxf): Use VEX format if possible.
65105 (fmax): Likewise.
65106 (fminf): Likewise.
65107 (fmin): Likewise.
65108
65109 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65110 * math/math_private.h: Remove libc_fegetround* and
65111 libc_fesetround*.
65112 * sysdeps/i386/configure.in: Check for -msse2avx.
65113 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65114 also if SSE2AVX is defined.
65115 Remove libc_fegetround* and libc_fesetround*.
65116 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65117 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
65118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65119 of HAS_YMM_USABLE.
65120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65125
65126 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65127
65128 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65129
65130 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65131 size is not set.
65132 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65133
65134 2012-01-27 Ulrich Drepper <drepper@gmail.com>
65135
65136 [BZ #13618]
65137 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65138 relocation.
65139 * Makeconfig (libm): Define.
65140 * elf/Makefile: Add rules to build and run tst-relsort1.
65141 * elf/tst-relsort1.c: New file.
65142 * elf/tst-relsort1mod1.c: New file.
65143 * elf/tst-relsort1mod2.c: New file.
65144
65145 2012-01-27 Joseph Myers <joseph@codesourcery.com>
65146
65147 * math/s_ldexp.c: Remove __STDC__ conditionals.
65148 * math/s_ldexpf.c: Likewise.
65149 * math/s_ldexpl.c: Likewise.
65150 * math/s_nextafter.c: Likewise.
65151 * math/s_nexttowardf.c: Likewise.
65152 * math/s_significand.c: Likewise.
65153 * math/s_significandf.c: Likewise.
65154 * math/s_significandl.c: Likewise.
65155 * math/w_jnl.c: Likewise.
65156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65162 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65163 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65164 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65168 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65170 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65171 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65172 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65173 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65175 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65176 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65177 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65178 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65179 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65180 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65181 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65182 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65183 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65184 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65185 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65186 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65187 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65188 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65189 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65190 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65191 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65192 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65193 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65194 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65195 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65196 * sysdeps/ieee754/k_standard.c: Likewise.
65197 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65198 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65199 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65200 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65201 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65202 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65203 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65204 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65205 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65206 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65207 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65208 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65209 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65210 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65211 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65216 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65217 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65218 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65219 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65220 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65222 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65226 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65228 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65229 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65230 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65231 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65232 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65233 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65236 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65237 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65239 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65240 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65242 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65243 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65244 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65245 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65246 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65247 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65248 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65249 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65250 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65252 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65253 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65254 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65255 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65256 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65257 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65258 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65259 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65261 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65262 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65263 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65264 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65265 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65266 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65267 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65268 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65269 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65270 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65271 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65272 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65273 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65276 * sysdeps/ieee754/s_matherr.c: Likewise.
65277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65281
65282 2012-01-26 Joseph Myers <joseph@codesourcery.com>
65283
65284 * crypt/md5.h: Remove __STDC__ conditionals.
65285 * libio/libioP.h: Likewise.
65286 * locale/programs/config.h: Likewise.
65287 * sysdeps/generic/sysdep.h: Likewise.
65288 * sysdeps/i386/asm-syntax.h: Likewise.
65289 * sysdeps/s390/asm-syntax.h: Likewise.
65290 * sysdeps/unix/sysdep.h: Likewise.
65291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65293
65294 2012-01-26 Joseph Myers <joseph@codesourcery.com>
65295
65296 * libio/libio.h: Remove __STDC__ conditionals.
65297 * malloc/obstack.h: Likewise.
65298 * math/complex.h: Likewise.
65299 * math/math.h: Likewise.
65300 * sysdeps/generic/_G_config.h: Likewise.
65301 * sysdeps/gnu/_G_config.h: Likewise.
65302 * sysdeps/mach/hurd/_G_config.h: Likewise.
65303 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65304 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65305 * sysdeps/sparc/bits/mathdef.h: Likewise.
65306
65307 2012-01-26 Ulrich Drepper <drepper@gmail.com>
65308
65309 [BZ #13583]
65310 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65311 Clean up HAS_* macros.
65312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65313 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65314 possible.
65315 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65316 HAS_AVX.
65317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65318 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65320 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65322
65323 2012-01-25 Joseph Myers <joseph@codesourcery.com>
65324
65325 * elf/tst-unique3.cc (gets): Remove declaration.
65326 * elf/tst-unique3lib.cc (gets): Likewise.
65327 * elf/tst-unique3lib2.cc (gets): Likewise.
65328 * elf/tst-unique4.cc (gets): Likewise.
65329
65330 2012-01-24 Ulrich Drepper <drepper@gmail.com>
65331
65332 * include/stdio.h: Add C++ protection. Add gets declarations and
65333 definitions.
65334 * debug/tst-chk1.c: Don't declare gets here.
65335 * stdio-common/tst-gets.c: Likewise.
65336
65337 2012-01-24 Joseph Myers <joseph@codesourcery.com>
65338
65339 * posix/glob: Remove directory.
65340
65341 2012-01-24 Joseph Myers <joseph@codesourcery.com>
65342
65343 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65344
65345 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
65346
65347 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65348 of the non-standard EPFNOSUPPORT.
65349
65350 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
65351
65352 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65353 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65354 ANYWHERE set to 1 only on KERN_NO_SPACE error.
65355
65356 2012-01-21 Ulrich Drepper <drepper@gmail.com>
65357
65358 * wcsmbs/uchar.h: Test __STDC_VERSION__.
65359
65360 2012-01-20 Ulrich Drepper <drepper@gmail.com>
65361
65362 * nscd/aicache.c (addhstaiX): Do not cache negative results of
65363 transient errors.
65364 * nscd/grpcache.c (cache_addgr): Likewise.
65365 * nscd/hstcache.c (cache_addhst): Likewise.
65366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
65367 * nscd/pwdcache.c (cache_addpw): Likewise.
65368 * nscd/servicescache.c (cache_addserv): Likewise.
65369
65370 2012-01-16 Ulrich Drepper <drepper@gmail.com>
65371
65372 * malloc/malloc.c: Various cleanups.
65373 * malloc/hooks.c: Likewise.
65374
65375 * stdlib/Makefile (tests): Add bug-fmtmsg1.
65376 * stdlib/bug-fmtmsg1.c: New file.
65377
65378 * stdlib/fmtmsg.c (init): Add missing unlock.
65379 Patch by Peng Haitao <penght@cn.fujitsu.com>.
65380
65381 2012-01-12 Marek Polacek <polacek@redhat.com>
65382
65383 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65384 and _GNU_SOURCE.
65385
65386 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
65387
65388 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65389 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65390 macro to ensure uniqueness of label name.
65391 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65392 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65393
65394 2012-01-11 Ulrich Drepper <drepper@gmail.com>
65395
65396 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65397
65398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65399 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65402
65403 2012-01-10 Ulrich Drepper <drepper@gmail.com>
65404
65405 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65406
65407 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65408 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65410
65411 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65412
65413 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65414 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65415 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65417
65418 * math/bits/math-finite.h: Add ldexp support.
65419
65420 2012-01-10 Marek Polacek <polacek@redhat.com>
65421
65422 * locale/programs/localedef.h (show_archive_content): Add noreturn
65423 attribute.
65424
65425 2012-01-09 Ulrich Drepper <drepper@gmail.com>
65426
65427 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65428
65429 2012-01-08 Ulrich Drepper <drepper@gmail.com>
65430
65431 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65432
65433 * io/Makefile (headers): Add bits/poll2.h.
65434
65435 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
65436
65437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65438 typo #include statement.
65439
65440 2012-01-08 Ulrich Drepper <drepper@gmail.com>
65441
65442 * include/sys/cdefs.h: Define __attribute_alloc_size.
65443 * catgets/gencat.c: Add alloc_size attribute and apply consistently
65444 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65445 * elf/pldd.c: Likewise.
65446 * iconv/iconv_charmap.c: Likewise.
65447 * iconv/iconvconfig.c: Likewise.
65448 * iconv/strtab.c: Likewise.
65449 * locale/programs/locale.c: Likewise.
65450 * locale/programs/localedef.h: Likewise.
65451 * locale/programs/simple-hash.c: Likewise.
65452 * nscd/nscd.h: Likewise.
65453 * nss/makedb.c: Likewise.
65454 * sysdeps/generic/ldconfig.h: Likewise.
65455 * locale/programs/localedef.c: Remove xmalloc prototype.
65456 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65457
65458 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
65459
65460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65461 appropriate.
65462
65463 2012-01-08 Ulrich Drepper <drepper@gmail.com>
65464
65465 * math/Makefile (tests): Add tst-CMPLX.
65466 * math/tst-CMPLX.c: New file.
65467
65468 * math/complex.h (CMPLXL): Fix typo.
65469
65470 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65471 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65472 GLIBC_2.16.
65473 * debug/tst-chk1.c: Add poll and ppoll tests.
65474 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65475 * include/sys/poll.h: Add hidden proto for ppoll.
65476 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65477 * sysdeps/mach/hurd/ppoll.c: Likewise.
65478 * io/ppoll.c: Likewise.
65479 * debug/poll_chk.c: New file.
65480 * debug/ppoll_chk.c: New file.
65481 * include/bits/poll2.h: New file.
65482 * io/bits/poll2.h: New file.
65483
65484 [BZ #1350]
65485 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65486
65487 * configure.in: static is always set to yes. Remove.
65488 * config.make.in: Don't set build-static.
65489 * Makeconfig: Remove use of build-static.
65490 * dlfcn/Makefile: Likewise.
65491 * elf/Makefile: Likewise.
65492 * math/Makefile: Likewise.
65493 * misc/Makefile: Likewise.
65494 * nptl/Makefile: Likewise.
65495 * sysdeps/mach/hurd/Makefile: Likewise.
65496
65497 * configure.in: PWD_P is not used anymore.
65498 * config.make.in: Remove PWD_P entry.
65499
65500 * configure.in: Remove last remnants of RANLIB.
65501 No need to check for signed size_t anymore.
65502 Don't set libc_commonpagesize and libc_relro_required here for Alpha
65503 and IA-64.
65504 Remove __builtin_expect test because we require at least gcc 3.4.
65505 * aclocal.m4: Likewise.
65506
65507 * wcsmbs/mbrtoc16.c: Implement using towc function.
65508 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65509 * wcsmbs/wcsmbsload.c: Likewise.
65510 * iconv/gconv_simple.c: Likewise.
65511 * iconv/gconv_int.h: Likewise.
65512 * iconv/gconv_builtin.h: Likewise.
65513 * iconv/iconv_prog.c: Remove CHAR16 handling.
65514
65515 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65516
65517 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65518
65519 * configure.in: Remove --with-elf and --enable-bounded options.
65520 Dont set base_machine for ia64. More non-ELF conditions removed.
65521 Remove testing and setting of leading underscore information.
65522 * config.make.in (build-bounded): Set to no.
65523 * config.h.in: Remove NO_UNDERSCORES entry.
65524 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
65525 them.
65526 * csu/start.c: Remove !NO_UNDERSCORE code.
65527 * locale/localeinfo.h: Likewise.
65528 * sysdeps/generic/machine-gmon.h: Likewise.
65529 * sysdeps/generic/sysdep.h: Likewise.
65530 * sysdeps/i386/sysdep.h: Likewise.
65531 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65532 * sysdeps/mach/sysdep.h: Likewise.
65533 * sysdeps/s390/s390-32/sysdep.h: Likewise.
65534 * sysdeps/s390/s390-64/sysdep.h: Likewise.
65535 * sysdeps/sh/sysdep.h: Likewise.
65536 * sysdeps/sparc/sparc32/alloca.S: Likewise.
65537 * sysdeps/unix/i386/sysdep.S: Likewise.
65538 * sysdeps/unix/sparc/start.c: Likewise.
65539 * sysdeps/unix/sparc/sysdep.S: Likewise.
65540 * sysdeps/unix/sparc/sysdep.h: Likewise.
65541 * sysdeps/unix/start.c: Likewise.
65542 * sysdeps/unix/x86_64/sysdep.S: Likewise.
65543 * sysdeps/x86_64/sysdep.h: Likewise.
65544
65545 2012-01-07 Ulrich Drepper <drepper@gmail.com>
65546
65547 [BZ #13553]
65548 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65549 for non-gcc.
65550 * argp/argp-fmtstream.h: Use const instead __const.
65551 * argp/argp.h: Likewise.
65552 * assert/assert.h: Likewise.
65553 * bits/fenv.h: Likewise.
65554 * bits/sched.h: Likewise.
65555 * bits/sigset.h: Likewise.
65556 * bits/sigthread.h: Likewise.
65557 * catgets/nl_types.h: Likewise.
65558 * conform/data/pthread.h-data: Likewise.
65559 * crypt/crypt-private.h: Likewise.
65560 * crypt/crypt.h: Likewise.
65561 * crypt/crypt_util.c: Likewise.
65562 * ctype/ctype.h: Likewise.
65563 * debug/execinfo.h: Likewise.
65564 * debug/mbsnrtowcs_chk.c: Likewise.
65565 * debug/mbsrtowcs_chk.c: Likewise.
65566 * debug/wcsnrtombs_chk.c: Likewise.
65567 * debug/wcsrtombs_chk.c: Likewise.
65568 * debug/wcstombs_chk.c: Likewise.
65569 * dirent/dirent.h: Likewise.
65570 * dlfcn/dlfcn.h: Likewise.
65571 * elf/neededtest4.c: Likewise.
65572 * grp/grp.h: Likewise.
65573 * gshadow/gshadow.h: Likewise.
65574 * iconv/gconv.h: Likewise.
65575 * iconv/gconv_int.h: Likewise.
65576 * iconv/gconv_simple.c: Likewise.
65577 * iconv/iconv.h: Likewise.
65578 * iconv/loop.c: Likewise.
65579 * iconv/skeleton.c: Likewise.
65580 * include/aio.h: Likewise.
65581 * include/aliases.h: Likewise.
65582 * include/argz.h: Likewise.
65583 * include/arpa/inet.h: Likewise.
65584 * include/assert.h: Likewise.
65585 * include/dirent.h: Likewise.
65586 * include/dlfcn.h: Likewise.
65587 * include/execinfo.h: Likewise.
65588 * include/fcntl.h: Likewise.
65589 * include/fenv.h: Likewise.
65590 * include/glob.h: Likewise.
65591 * include/grp.h: Likewise.
65592 * include/libintl.h: Likewise.
65593 * include/mntent.h: Likewise.
65594 * include/netdb.h: Likewise.
65595 * include/pwd.h: Likewise.
65596 * include/rpc/netdb.h: Likewise.
65597 * include/sched.h: Likewise.
65598 * include/search.h: Likewise.
65599 * include/shadow.h: Likewise.
65600 * include/signal.h: Likewise.
65601 * include/stdio.h: Likewise.
65602 * include/stdlib.h: Likewise.
65603 * include/string.h: Likewise.
65604 * include/sys/socket.h: Likewise.
65605 * include/sys/stat.h: Likewise.
65606 * include/sys/statfs.h: Likewise.
65607 * include/sys/statvfs.h: Likewise.
65608 * include/sys/syslog.h: Likewise.
65609 * include/sys/time.h: Likewise.
65610 * include/sys/uio.h: Likewise.
65611 * include/time.h: Likewise.
65612 * include/unistd.h: Likewise.
65613 * include/utmp.h: Likewise.
65614 * include/wchar.h: Likewise.
65615 * include/wctype.h: Likewise.
65616 * inet/aliases.h: Likewise.
65617 * inet/arpa/inet.h: Likewise.
65618 * inet/netinet/ether.h: Likewise.
65619 * inet/netinet/in.h: Likewise.
65620 * intl/libintl.h: Likewise.
65621 * io/bits/fcntl2.h: Likewise.
65622 * io/fcntl.h: Likewise.
65623 * io/ftw.h: Likewise.
65624 * io/sys/poll.h: Likewise.
65625 * io/sys/stat.h: Likewise.
65626 * io/sys/statfs.h: Likewise.
65627 * io/sys/statvfs.h: Likewise.
65628 * io/utime.h: Likewise.
65629 * libio/bits/stdio.h: Likewise.
65630 * libio/bits/stdio2.h: Likewise.
65631 * libio/libio.h: Likewise.
65632 * libio/libioP.h: Likewise.
65633 * libio/stdio.h: Likewise.
65634 * locale/lc-ctype.c: Likewise.
65635 * locale/locale.h: Likewise.
65636 * login/utmp.h: Likewise.
65637 * malloc/arena.c: Likewise.
65638 * malloc/malloc.c: Likewise.
65639 * malloc/malloc.h: Likewise.
65640 * malloc/mcheck.c: Likewise.
65641 * malloc/mtrace.c: Likewise.
65642 * math/bits/mathcalls.h: Likewise.
65643 * math/fenv.h: Likewise.
65644 * math/math_private.h: Likewise.
65645 * misc/bits/error.h: Likewise.
65646 * misc/bits/syslog.h: Likewise.
65647 * misc/err.h: Likewise.
65648 * misc/error.h: Likewise.
65649 * misc/fstab.h: Likewise.
65650 * misc/mntent.h: Likewise.
65651 * misc/regexp.h: Likewise.
65652 * misc/search.h: Likewise.
65653 * misc/sgtty.h: Likewise.
65654 * misc/sys/mman.h: Likewise.
65655 * misc/sys/syslog.h: Likewise.
65656 * misc/sys/uio.h: Likewise.
65657 * misc/sys/xattr.h: Likewise.
65658 * misc/ttyent.h: Likewise.
65659 * nis/rpcsvc/ypclnt.h: Likewise.
65660 * nss/nss.h: Likewise.
65661 * posix/bits/unistd.h: Likewise.
65662 * posix/fnmatch.h: Likewise.
65663 * posix/glob.h: Likewise.
65664 * posix/sched.h: Likewise.
65665 * posix/spawn.h: Likewise.
65666 * posix/sys/wait.h: Likewise.
65667 * posix/unistd.h: Likewise.
65668 * posix/wordexp.h: Likewise.
65669 * pwd/pwd.h: Likewise.
65670 * resolv/netdb.h: Likewise.
65671 * resource/sys/resource.h: Likewise.
65672 * rt/aio.h: Likewise.
65673 * rt/bits/mqueue2.h: Likewise.
65674 * rt/mqueue.h: Likewise.
65675 * shadow/shadow.h: Likewise.
65676 * signal/signal.h: Likewise.
65677 * socket/send.c: Likewise.
65678 * socket/sendto.c: Likewise.
65679 * socket/sys/socket.h: Likewise.
65680 * stdio-common/printf.h: Likewise.
65681 * stdlib/bits/stdlib.h: Likewise.
65682 * stdlib/fmtmsg.h: Likewise.
65683 * stdlib/monetary.h: Likewise.
65684 * stdlib/stdlib.h: Likewise.
65685 * stdlib/ucontext.h: Likewise.
65686 * streams/stropts.h: Likewise.
65687 * string/argz.h: Likewise.
65688 * string/bits/string2.h: Likewise.
65689 * string/string.h: Likewise.
65690 * string/strings.h: Likewise.
65691 * sunrpc/rpc/auth.h: Likewise.
65692 * sunrpc/rpc/auth_des.h: Likewise.
65693 * sunrpc/rpc/clnt.h: Likewise.
65694 * sunrpc/rpc/netdb.h: Likewise.
65695 * sunrpc/rpc/pmap_clnt.h: Likewise.
65696 * sunrpc/rpc/xdr.h: Likewise.
65697 * sysdeps/generic/inttypes.h: Likewise.
65698 * sysdeps/generic/net/if.h: Likewise.
65699 * sysdeps/generic/sys/swap.h: Likewise.
65700 * sysdeps/gnu/net/if.h: Likewise.
65701 * sysdeps/gnu/utmpx.h: Likewise.
65702 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65703 * sysdeps/i386/i486/bits/string.h: Likewise.
65704 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65705 * sysdeps/s390/bits/string.h: Likewise.
65706 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65707 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65708 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65709 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65710 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65711 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65712 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65713 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65714 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65715 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65716 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65717 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65718 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65719 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65720 * sysdeps/unix/sysv/linux/readv.c: Likewise.
65721 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65722 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65725 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65727 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65728 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65729 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65730 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65731 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65732 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65734 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65736 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65737 * sysvipc/sys/ipc.h: Likewise.
65738 * sysvipc/sys/msg.h: Likewise.
65739 * sysvipc/sys/sem.h: Likewise.
65740 * sysvipc/sys/shm.h: Likewise.
65741 * termios/termios.h: Likewise.
65742 * time/sys/time.h: Likewise.
65743 * time/time.h: Likewise.
65744 * wcsmbs/bits/wchar2.h: Likewise.
65745 * wcsmbs/uchar.h: Likewise.
65746 * wcsmbs/wchar.h: Likewise.
65747 * wctype/wctype.h: Likewise.
65748
65749 [BZ #13551]
65750 * Makeconfig: Remove all but ELF support including AIX support.
65751 * Makerules: Likewise.
65752 * config.h.in: Likewise.
65753 * config.make.in: Likewise.
65754 * configure: Likewise.
65755 * configure.in: Likewise.
65756 * csu/Makefile: Likewise.
65757 * csu/version.c: Likewise.
65758 * debug/Makefile: Likewise.
65759 * dlfcn/Makefile: Likewise.
65760 * elf/Makefile: Likewise.
65761 * extra-lib.mk: Likewise.
65762 * iconv/Makefile: Likewise.
65763 * include/libc-symbols.h: Likewise.
65764 * include/shlib-compat.h: Likewise.
65765 * resolv/Makefile: Likewise.
65766 * resolv/res_libc.c: Likewise.
65767 * rt/Makefile: Likewise.
65768 * sysdeps/i386/asm-syntax.h: Likewise.
65769 * sysdeps/i386/sysdep.h: Likewise.
65770 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65771 * sysdeps/mach/sysdep.h: Likewise.
65772 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65773 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65774 * sysdeps/s390/asm-syntax.h: Likewise.
65775 * sysdeps/s390/s390-32/sysdep.h: Likewise.
65776 * sysdeps/s390/s390-64/sysdep.h: Likewise.
65777 * sysdeps/sh/sysdep.h: Likewise.
65778 * sysdeps/unix/sparc/sysdep.h: Likewise.
65779 * sysdeps/wordsize-32/divdi3.c: Likewise.
65780 * sysdeps/x86_64/sysdep.h: Likewise.
65781
65782 * argp/Versions: Remove _argp_unlock_xxx.
65783
65784 [BZ #13559]
65785 * abilist/ld.abilist: Update. Adjust for removal of tls option.
65786 * abilist/libBrokenLocale.abilist: Likewise.
65787 * abilist/libanl.abilist: Likewise.
65788 * abilist/libc.abilist: Likewise.
65789 * abilist/libcrypt.abilist: Likewise.
65790 * abilist/libdl.abilist: Likewise.
65791 * abilist/libm.abilist: Likewise.
65792 * abilist/libnsl.abilist: Likewise.
65793 * abilist/libpthread.abilist: Likewise.
65794 * abilist/libresolv.abilist: Likewise.
65795 * abilist/librt.abilist: Likewise.
65796 * abilist/libthread_db.abilist: Likewise.
65797 * abilist/libutil.abilist: Likewise.
65798 * abilist/libnss_db.abilist: New file.
65799
65800 * scripts/abilist.awk: Add support for indirect functions.
65801
65802 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65803
65804 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65805
65806 * shlib-versions: Remove entries for ports architectures.
65807
65808 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
65809 files in ports.
65810 * elf/stackguard-macros.h: Remove support for IA-64.
65811 * elf/tst-auditmod1.c: Likewise.
65812 * sysdeps/generic/ldsodefs.h: Likewise.
65813
65814 * sysdeps/unix/sysv/linux/configure.in: Ports should define
65815 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65816 configure files.
65817
65818 [BZ #13552]
65819 * configure.in: Remove --enable-omitfp support.
65820 * FAQ.in: Adjust.
65821 * config.make.in: Likewise.
65822 * Makeconfig: Likewise.
65823 * manual/install.texi: Likewise.
65824
65825 In case anyone cares, the IA-64 architecture could move to ports.
65826 * sysdeps/ia64/*: Removed.
65827 * sysdeps/unix/sysv/linux/ia64/*: Removed.
65828 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65829
65830 [BZ #13555]
65831 * configure.in: Remove entries for unsupported architectures.
65832
65833 [BZ #13533]
65834 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65835 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
65836 routines.
65837 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65838 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65839 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
65840 fall back to using wcrtomb.
65841 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65842 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
65843 renaming.
65844 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65845 * wcsmbs/tst-c16c32-1.c: New file.
65846
65847 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65848 local variable.
65849
65850 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65851
65852 * elf/tst-unique3.cc: Add explicit declaration of gets.
65853 * elf/tst-unique3lib.cc: Likewise.
65854 * elf/tst-unique3lib2.cc: Likewise.
65855 * elf/tst-unique4.cc: Likewise.
65856
65857 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65858
65859 2012-01-06 Joseph Myers <joseph@codesourcery.com>
65860
65861 [BZ #13566]
65862 * assert/assert.h (static_assert): Don't define for C++.
65863 * libio/stdio.h (gets): Do declare for C++ <= C++11.
65864 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65865
65866 2012-01-03 Ulrich Drepper <drepper@gmail.com>
65867
65868 * iconv/loop.c (single loop): Fix assertion in storing of
65869 remaining bytes.
65870
65871 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65872
65873 2012-01-01 Ulrich Drepper <drepper@gmail.com>
65874
65875 * posix/getconf.c: Update copyright year.
65876 * nss/getent.c: Likewise.
65877 * nss/makedb.c: Likewise.
65878 * iconv/iconvconfig.c: Likewise.
65879 * iconv/iconv_prog.c: Likewise.
65880 * elf/ldconfig.c: Likewise.
65881 * elf/pldd.c: Likewise.
65882 * elf/sotruss.ksh: Likewise.
65883 * catgets/gencat.c: Likewise.
65884 * csu/version.c: Likewise.
65885 * elf/ldd.bash.in: Likewise.
65886 * elf/sprof.c (print_version): Likewise.
65887 * locale/programs/locale.c: Likewise.
65888 * locale/programs/localedef.c: Likewise.
65889 * login/programs/pt_chown.c: Likewise.
65890 * nscd/nscd.c (print_version): Likewise.
65891 * debug/xtrace.sh: Likewise.
65892 * malloc/memusage.sh: Likewise.
65893 * malloc/mtrace.pl: Likewise.
65894 * debug/catchsegv.sh: Likewise.
65895
65896 2011-12-30 Jakub Jelinek <jakub@redhat.com>
65897
65898 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65899 pure attribute.
65900
65901 2011-12-24 Ulrich Drepper <drepper@gmail.com>
65902
65903 [BZ #13533]
65904 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65905 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65906 transformations.
65907 * iconv/gconv_int.h: Likewise.
65908 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65909 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65910 from libc for GLIBC_2.16.
65911 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65912 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65913 * wcsmbs/uchar.h: Really define mbstate_t.
65914 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65915 * wcsmbs/c16rtomb.c: New file.
65916 * wcsmbs/mbrtoc16.c: New file.
65917 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65918 for C/POSIX locale.
65919 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65920 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65921
65922 * wcsmbs/wchar.h: Add missing __restrict.
65923
65924 2011-12-23 Ulrich Drepper <drepper@gmail.com>
65925
65926 [BZ #13532]
65927 * time/Makefile (routines): Add timespec_get.
65928 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65929 * time/time.h: Define TIME_UTC and declare timespec_get. Define
65930 timespec for ISO C11.
65931 * time/timespec_get.c: New file.
65932 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65933 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65934
65935 [BZ #13531]
65936 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65937 * stdlib/stdlib.h: Declare aligned_alloc.
65938 * Versions.def: Add GLIBC_2.16 for libc.
65939 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65940
65941 [BZ 13527]
65942 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65943 ISO C11.
65944
65945 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65946 code.
65947
65948 [BZ #13528]
65949 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65950
65951 [BZ #13529]
65952 * assert/assert.h (static_assert): Define.
65953
65954 * version.h: Update for 2.16 development version.
65955
65956 [BZ #13526]
65957 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65958 _ISOC11_SOURCE.
65959
65960 * version.h (RELEASE): Bump for 2.15 release.
65961 * include/features.h (__GLIBC_MINOR__): Bump to 15.
65962
65963 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65964 Patch by Marek Polacek <mpolacek@redhat.com>.
65965
65966 * bits/byteswap.h: Protect long long constants with __extension__.
65967 * sysdeps/i386/bits/byteswap.h: Likewise.
65968 * sysdeps/ia64/bits/byteswap.h: Likewise.
65969 * sysdeps/s390/bits/byteswap.h: Likewise.
65970 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65971
65972 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65973
65974 [BZ #13540]
65975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65976 destination buffer.
65977 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65978
65979 2011-12-23 Marek Polacek <polacek@redhat.com>
65980
65981 * elf/dl-addr.c (determine_info): Add inline keyword.
65982 * elf/tst-auditmod4b.c (check_avx): Likewise.
65983 * elf/tst-auditmod6b.c (check_avx): Likewise.
65984 * elf/tst-auditmod6c.c (check_avx): Likewise.
65985 * elf/tst-auditmod7b.c (check_avx): Likewise.
65986
65987 2011-12-23 Ulrich Drepper <drepper@gmail.com>
65988
65989 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65990 !__SSE_MATH__.
65991
65992 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65993
65994 [BZ #13540]
65995 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65996 processing for last bytes.
65997
65998 2011-08-06 Bruno Haible <bruno@clisp.org>
65999
66000 [BZ #13061]
66001 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66002 U+0385, not to U+1FEE.
66003
66004 [BZ #13062]
66005 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66006 entry for U+00A5 U+0301.
66007
66008 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66009
66010 [BZ #13166]
66011 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66012 buffer for the output is too small.
66013
66014 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66015 optimization.
66016
66017 [BZ #13185]
66018 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66019 SSE flags if possible.
66020
66021 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66022
66023 [BZ #13540]
66024 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66025 processing for last bytes.
66026
66027 2011-12-22 Joseph Myers <joseph@codesourcery.com>
66028
66029 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66030 (syscall-list-default-options, syscall-list-default-condition)
66031 (syscall-list-includes): Define.
66032 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66033 list of ABIs and options and #if conditions for each ABI. Do not
66034 handle common syscalls between ABIs specially.
66035 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66036 Remove.
66037 (syscall-list-variants, syscall-list-32bit-options)
66038 (syscall-list-32bit-condition, syscall-list-64bit-options)
66039 (syscall-list-64bit-condition): Define.
66040 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66041 (syscall-list-variants, syscall-list-32bit-options)
66042 (syscall-list-32bit-condition, syscall-list-64bit-options)
66043 (syscall-list-64bit-condition): Define.
66044 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66045 Remove.
66046 (syscall-list-variants, syscall-list-32bit-options)
66047 (syscall-list-32bit-condition, syscall-list-64bit-options)
66048 (syscall-list-64bit-condition): Define.
66049 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66050 Remove.
66051 (syscall-list-variants, syscall-list-32bit-options)
66052 (syscall-list-32bit-condition, syscall-list-64bit-options)
66053 (syscall-list-64bit-condition): Define.
66054
66055 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66056
66057 * locale/iso-639.def: Add brx entry.
66058
66059 [BZ #13328]
66060 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66061 Proposed by Mariusz_Cukr <marcukr@op.pl>.
66062
66063 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66064 __feraiseexcept_renamed.
66065
66066 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66067
66068 [BZ #13538]
66069 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66070 EPOLLET with unsigned values.
66071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66073
66074 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66075 to large cancellation.
66076 * math/s_cacoshf.c: Likewise.
66077 * math/s_cacoshl.c: Likewise.
66078
66079 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
66080
66081 [BZ #13305]
66082 [BZ #12786]
66083 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66084 * math/s_cacoshf.c: Likewise.
66085 * math/s_cacoshl.c: Likewise.
66086
66087 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66088
66089 [BZ #13439]
66090 * iconv/gconv.h: Define __GCONV_SWAP.
66091 * iconvdata/unicode.c: The swap bit must be stored in __flags.
66092 * iconvdata/utf-16.c: Likewise.
66093 * iconvdata/utf-32.c: Likewise.
66094
66095 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
66096
66097 [BZ #13524]
66098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66099 numerator after shifting it by one limb.
66100
66101 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
66102
66103 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66104 under [__USE_EXTERN_INLINES].
66105
66106 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66107
66108 [BZ #13446]
66109 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66110
66111 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66112
66113 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66114 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66115 optimized code.
66116 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66117 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66118 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66119 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66120 for strncasecmp/strncasecmp_l compilation.
66121 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66122 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66123
66124 2011-12-08 Marek Polacek <mpolacek@redhat.com>
66125
66126 [BZ #13484]
66127 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66128 of __asm__.
66129
66130 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66131
66132 [BZ #13506]
66133 * time/tzfile.c (__tzfile_read): Check values from file header.
66134
66135 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66136
66137 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66138 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66139 * powerpc/powerpc32/dl-start.S: Likewise.
66140 * powerpc/powerpc32/elf/start.S: Likewise.
66141 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66142 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66143 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66144 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66145 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66146 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66147 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66148 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66149 * powerpc/powerpc32/fpu/s_round.S: Likewise.
66150 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66151 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66152 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66153 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66154 * powerpc/powerpc32/memset.S: Likewise.
66155 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66156 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66157 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66158 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66159 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66160 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66161 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66162 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66163 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66164 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66165 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66166 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66167 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66168
66169 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66170
66171 * math/libm-test.inc: Added more nearbyint tests.
66172 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66176
66177 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
66178
66179 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66180 FD_CLOEXEC.
66181
66182 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66183
66184 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66185 Add wcscpy-ssse3 wcscpy-c.
66186 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66187 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66188 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66189 * sysdeps/x86_64/wcschr.S: New file.
66190 * sysdeps/x86_64/wcsrchr.S: New file.
66191 * string/test-strcmp.c: Remove checking of wcscmp function for
66192 wrong alignments.
66193 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66194 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66195 wcsrchr-sse2 wcsrchr-c.
66196 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66197 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66198 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66199 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66200 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66201 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66202 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66203 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66204 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66205 * wcsmbc/wcschr.c (WCSCHR): New macro.
66206
66207 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66208
66209 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66210 * wcsmbs/test-wcsrchr.c: New file.
66211 * string/test-strrchr.c: Add wcsrchr support.
66212 (WIDE): New macro.
66213 * wcsmbs/test-wcscpy.c: New file.
66214 * string/test-strcpy.c: Add wcscpy support.
66215 (WIDE): New macro.
66216
66217 2011-12-10 Ulrich Drepper <drepper@gmail.com>
66218
66219 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66220 the inner loop.
66221
66222 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
66223
66224 [BZ #13472]
66225 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66226
66227 2011-12-04 Ulrich Drepper <drepper@gmail.com>
66228
66229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66230 Minor optimizations.
66231
66232 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66233 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66234 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66235
66236 2011-12-03 Ulrich Drepper <drepper@gmail.com>
66237
66238 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66239 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66240 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66241 for gcc to avoid warnings.
66242 * inet/Makefile (tests): Add tst-checks.
66243 * inet/tst-checks.c: New file.
66244
66245 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66246 warning.
66247
66248 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66249 __wmemcmp_sse2.
66250
66251 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66252 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66253
66254 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66255
66256 2011-12-02 Ulrich Drepper <drepper@gmail.com>
66257
66258 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66259 problem.
66260
66261 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66262
66263 2011-11-29 Joseph Myers <joseph@codesourcery.com>
66264
66265 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66266 conditional on GCC version.
66267 (__arch_compare_and_exchange_val_8_acq)
66268 (__arch_compare_and_exchange_val_16_acq)
66269 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66270 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66271 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66272
66273 2011-12-02 Joseph Myers <joseph@codesourcery.com>
66274
66275 * sysdeps/sh/backtrace.c: New file.
66276
66277 2011-12-02 Andreas Schwab <schwab@redhat.com>
66278
66279 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
66280 parenthesis.
66281
66282 2011-12-01 Andreas Schwab <schwab@redhat.com>
66283
66284 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66285 falling back to utime.
66286
66287 2011-11-30 Andreas Schwab <schwab@redhat.com>
66288
66289 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66290 expectations for float.
66291
66292 2011-11-29 Andreas Schwab <schwab@redhat.com>
66293
66294 * locale/weight.h (findidx): Add parameter len.
66295 * locale/weightwc.h (findidx): Likewise.
66296 * posix/fnmatch_loop.c (FCT): Adjust caller.
66297 * posix/regcomp.c (build_equiv_class): Likewise.
66298 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66299 * posix/regexec.c (check_node_accept_bytes): Likewise.
66300 * string/strcoll_l.c (STRCOLL): Likewise.
66301 * string/strxfrm_l.c (STRXFRM): Likewise.
66302
66303 2011-11-17 Ulrich Drepper <drepper@gmail.com>
66304
66305 * Makefile.in: Remove CVSOPT handling.
66306 * configure.in: Remove use of AC_REVISION.
66307 * iconvdata/Makefile (distribute): No need to filter out CVS.
66308 * scripts/list-sources.sh: Remove CVS, subversion and monotone
66309 handling.
66310
66311 2011-11-16 Andreas Schwab <schwab@redhat.com>
66312
66313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66314 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66315 [USE_AS_STRNCASECMP_L]: Likewise.
66316 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66317 NO_TLS_DIRECT_SEG_REFS.
66318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66319 Fix argument offsets for non-PIC.
66320 [USE_AS_STRNCASECMP_L]: Likewise.
66321 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66322 NO_TLS_DIRECT_SEG_REFS.
66323
66324 2011-11-15 Ulrich Drepper <drepper@gmail.com>
66325
66326 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66327 O_CLOEXEC.
66328 * locale/loadlocale.c (_nl_load_locale): Likewise.
66329
66330 2011-11-15 Andreas Schwab <schwab@redhat.com>
66331
66332 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66333 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66335 (SYSCALL_GETTIME): Set errno on error.
66336
66337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66338 count references to noai6ai_cached.
66339
66340 2011-11-15 Ulrich Drepper <drepper@gmail.com>
66341
66342 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66343
66344 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66345 FD_CLOEXEC for /proc/self/maps.
66346
66347 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66348 FD_CLOEXEC for /proc/meminfo.
66349
66350 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66351 gai.conf.
66352
66353 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
66354 FD_CLOEXEC for given file.
66355
66356 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66357
66358 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66359 FD_CLOEXEC for /etc/hosts.
66360 (_gethtent): Likewise.
66361
66362 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66363
66364 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66365 cancellation and set FD_CLOEXEC for /etc/netgroup.
66366
66367 * nss/nss_files/files-key.c (search): Don't allow cancellation when
66368 reading /etc/publickey.
66369
66370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66371 allow cancellation when reading /etc/group.
66372
66373 * nss/nss_files/files-alias.c (internal_setent): Don't allow
66374 cancellation.
66375 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
66376
66377 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66378 when using data file.
66379
66380 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66381
66382 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66383 (write_nis_obj): Use "c" and "e" in fopen.
66384
66385 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66386
66387 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66388
66389 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66390
66391 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66392
66393 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66394 locale.alias.
66395
66396 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66397
66398 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66399
66400 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66401
66402 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66403 file parsing and set FD_CLOEXEC.
66404
66405 2011-11-14 Ulrich Drepper <drepper@gmail.com>
66406
66407 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66408
66409 2011-11-14 Andreas Schwab <schwab@redhat.com>
66410
66411 * malloc/arena.c (arena_get2): Don't call reused_arena when
66412 _int_new_arena failed.
66413
66414 2011-11-14 Ulrich Drepper <drepper@gmail.com>
66415
66416 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66417 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66419 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66420 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66422 to compile strcasecmp and strncasecmp.
66423 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66424 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66425
66426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66427
66428 2011-11-13 Ulrich Drepper <drepper@gmail.com>
66429
66430 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66431 locale-defines.sym to gen-as-const-headers.
66432 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66433 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66435 to compile strcasecmp and strncasecmp.
66436 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66437 strcasecmp_l and strncasecmp_l.
66438 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66439 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66440 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66441 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66442 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66443 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66444 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66445 * sysdeps/i386/i686/multiarch/strncase.S: New file.
66446 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66447 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66448 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66449
66450 2011-11-12 Ulrich Drepper <drepper@gmail.com>
66451
66452 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66453 result of SYSDEP_GETTIME_CPU to retval.
66454 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66455 parameter list to macro. Remove trailing semicolon. Adjust users.
66456
66457 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66458 variable.
66459
66460 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66461 mantissa words.
66462 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66463
66464 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66465 from unused variable.
66466
66467 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66468 DWARF definitions.
66469 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66470 for assembling.
66471
66472 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66473 over namespaces.
66474
66475 * sunrpc/rpc_prot.c (rejected): Fix case value.
66476
66477 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66478 unsigned long long int to avoid warnings in shift.
66479
66480 * posix/regex_internal.c (re_string_reconstruct): Actually use result
66481 of use of trans.
66482 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66483 variable tmp.
66484
66485 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66486 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66487 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66488
66489 * nis/nis_table.c (nis_list): Use variable of correct type for
66490 result of __follow_path call.
66491
66492 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66493
66494 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66495 of math functions ceil, trunc, floor, round, and sqrt, when
66496 avaliable on the platform.
66497 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66498 name clash.
66499 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66500 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66501 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66502
66503 2011-10-30 Marek Polacek <mpolacek@redhat.com>
66504
66505 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66506 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66507
66508 2011-11-11 Roland McGrath <roland@hack.frob.com>
66509
66510 * include/unistd.h: Fix __readlink return type.
66511 Reported by Chris Metcalf <cmetcalf@tilera.com>.
66512
66513 2011-11-11 Ulrich Drepper <drepper@gmail.com>
66514
66515 * stdlib/ucontext.h: Undo last change for makecontext.
66516
66517 2011-11-11 Andreas Schwab <schwab@redhat.com>
66518
66519 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66520
66521 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66522 * setjmp/setjmp.h: Mark functions as non-leaf.
66523 * setjmp/bits/setjmp2.h: Likewise.
66524 * stdlib/ucontext.h: Likewise.
66525
66526 2011-11-10 Andreas Schwab <schwab@redhat.com>
66527
66528 * malloc/arena.c (_int_new_arena): Don't increment narenas.
66529 (reused_arena): Don't check arena limit.
66530 (arena_get2): Atomically check arena limit.
66531
66532 2011-11-08 Ulrich Drepper <drepper@gmail.com>
66533
66534 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66535 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66536
66537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66538 instructions.
66539
66540 2011-11-07 Andreas Schwab <schwab@redhat.com>
66541
66542 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66543 handler when locking.
66544
66545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66546 Fix size of allocated buffer.
66547
66548 2011-11-04 Andreas Schwab <schwab@redhat.com>
66549
66550 [BZ #10103]
66551 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66552 declarations for long double functions.
66553 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66554
66555 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66556
66557 2011-11-03 Andreas Schwab <schwab@redhat.com>
66558
66559 * nscd/nscd.c (main): Don't start AVC thread until credentials are
66560 installed.
66561
66562 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66563 is disabled.
66564
66565 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
66566
66567 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66568
66569 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
66570
66571 * include/alloca.h (stackinfo_alloca_round): Define.
66572 (extend_alloca): Use it.
66573 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66574 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66575 here.
66576
66577 * scripts/check-local-headers.sh: Ignore libaudit.h.
66578
66579 * nscd/Makefile (extra-objs): Make recursively expanded.
66580
66581 2011-11-01 Ulrich Drepper <drepper@gmail.com>
66582
66583 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66585
66586 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66587 * posix/tst-rfc3484-2.c: Likewise.
66588 * posix/tst-rfc3484-3.c: Likewise.
66589
66590 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66591 process_vm_writev.
66592 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66593 process_vm_writev.
66594 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66595 process_vm_writev from libc using GLIBC_2.15 version.
66596
66597 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66598
66599 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
66600
66601 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66602 stack usage.
66603
66604 2011-10-31 Ulrich Drepper <drepper@gmail.com>
66605
66606 [BZ #13367]
66607 * nss/getent.c (initgroups_keys): Show error message in case no group
66608 names are given.
66609
66610 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66611 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66612 __bump_nl_timestamp.
66613 * nscd/connections (nscd_init): When host database is served open
66614 netlink socket and request notification about configuration changes.
66615 (main_loop_poll): Track netlink file descriptor and bump timestamp
66616 in case data becomes available.
66617 (main_loop_epoll): Likewise.
66618 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66619 (database_pers_head): Add extra_data fileds.
66620 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66622 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66623 Adjust caller.
66624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66625 in6ai data, call __free_in6ai.
66626 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66627 Add -DHAVE_NETLINK.
66628 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
66629 interface information. Reuse previous data if netlink timestamp
66630 is not changed.
66631 (__bump_nl_timestamp): New function.
66632 (__free_in6ai): New function.
66633
66634 2011-10-30 Ulrich Drepper <drepper@gmail.com>
66635
66636 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66637 close_not_cancel_no_status here.
66638 (__check_pf): Reorganize code a bit to not call close twice if OOM.
66639
66640 2011-10-29 Ulrich Drepper <drepper@gmail.com>
66641
66642 [BZ #13276]
66643 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66644 return value.
66645
66646 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66647 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66648 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66649
66650 2011-07-03 Andreas Jaeger <aj@suse.de>
66651
66652 [BZ #10709]
66653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66654 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66655 * math/libm-test.inc (sin_test): Add test case.
66656
66657 2011-10-29 Ulrich Drepper <drepper@gmail.com>
66658
66659 [BZ #13337]
66660 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66661 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66662
66663 * elf/chroot_canon.c (chroot_canon): Cleanups.
66664
66665 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66666
66667 [BZ #13335]
66668 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66669 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66670
66671 * string/test-strchr.c: Make usable for strchrnul testing.
66672 * string/test-strchrnul.c: New file.
66673 * string/Makefile (strop-tests): Add strchrnul.
66674
66675 * po/it.po: Update from translation team.
66676 * po/es.po: Likewise.
66677
66678 2011-10-28 Ulrich Drepper <drepper@gmail.com>
66679
66680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66681 the three constants needed as parameters. Drop the others.
66682 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66683 __m128i_strloadu_tolower.
66684 Create and initialize variable zero and use it in all the places
66685 where _mm_setzero_si128 was used.
66686
66687 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66688 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66689 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66690 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66691 anymore.
66692 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66693 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66694 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66695 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66696 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66697 __mpranred, __mptan.
66698 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66699 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66700 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66701 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66702 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66703 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66704 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66705 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66706 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66707
66708 2011-10-28 Andreas Schwab <schwab@redhat.com>
66709
66710 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66711 redefine if SHARED.
66712 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66713
66714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66715 wide char related routines to wcsmbs subdir.
66716
66717 2011-10-27 Andreas Schwab <schwab@redhat.com>
66718
66719 [BZ #13344]
66720 * misc/sys/cdefs.h (__THROWNL): Define.
66721 * posix/unistd.h: Use __THREADNL instead of __THREAD
66722 for memory synchronization functions.
66723
66724 2011-10-26 Roland McGrath <roland@hack.frob.com>
66725
66726 [BZ #13349]
66727 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66728 doesn't exist.
66729 * manual/stdio.texi (Obstack Streams): Node removed.
66730
66731 2011-10-26 Andreas Schwab <schwab@redhat.com>
66732
66733 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66735 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66736
66737 * math/math_private.h (math_force_eval): Allow non-addressable
66738 arguments.
66739 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66740
66741 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66742
66743 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66744 file is not needed.
66745
66746 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66753 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66754 Add AVX variants.
66755 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66756 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66757 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66758 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66759 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66760 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66761 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66762 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66763 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66764 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66765 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66766 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66768 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66769 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66770 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66771 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66772 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66773 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66774
66775 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66776 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
66777
66778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66779 place. Use VEX encoding when compiling for AVX.
66780
66781 2011-10-25 Andreas Schwab <schwab@redhat.com>
66782
66783 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66784 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66785
66786 * string/test-strchr.c (do_test): Don't generate NUL bytes.
66787
66788 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66789
66790 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66791 useless if() expression.
66792 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66793 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66794 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66796 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66797 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66802 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66804 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66805 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66806 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66807 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66810 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66811
66812 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66813
66814 2011-10-25 Andreas Schwab <schwab@redhat.com>
66815
66816 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66817 condition.
66818 * elf/dl-fini.c (_dl_sort_fini): Likewise.
66819
66820 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66821
66822 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66823 .text section. Avoid duplicate constants.
66824 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66826 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66832 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66833 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66834 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66835 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66836 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66837 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66838 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66839 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66840 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66841 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66842 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66844 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66845 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66846 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66847 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66848 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66849 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66850 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66851 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66852 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66853 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66854 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66855 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66856 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66857 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66858 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66859 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66860 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66861 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66862 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66863 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66866 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66868 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66869
66870 2011-10-24 Ulrich Drepper <drepper@gmail.com>
66871
66872 * sysdeps/x86_64/dla.h: Move to ...
66873 * sysdeps/x86_64/fpu/dla.h: ...here.
66874 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66875 situations. Use __builtin_fma only for gcc 4.6 and up.
66876
66877 * config.make.in: Add have-mfma4 entry.
66878 * configure.in: Substitute libc_cv_cc_fma4.
66879 * math/Makefile (dbl-only-routines): Add sincostab.
66880 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66881 Use __sincostab not sincos.
66882 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66883 name is a macro.
66884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
66888 using __copysign.
66889 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
66890 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
66891 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66892 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66893 and __inv.
66894 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66895 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66896 __copysign.
66897 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
66898 define aliases when function name is a macro.
66899 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66900 sysdeps/ieee754/dbl-64/sincos.tbl.
66901 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66902 fma4-enabled routines.
66903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66904 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66905 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66906 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66908 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66909 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66910 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66911 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66913 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66914 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66915 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66916 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66917 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66918 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66919 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66920 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66921 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66922 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66923 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66924 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66929 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66930 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66931 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66932 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66933
66934 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66935 rename.
66936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66944
66945 2011-10-24 Andreas Schwab <schwab@redhat.com>
66946
66947 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66948
66949 2011-10-23 Ulrich Drepper <drepper@gmail.com>
66950
66951 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66952
66953 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66954 prediction.
66955 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66956
66957 * string/strnlen.c: Don't define STRNLEN, reverse logic.
66958 Remove unused variable magic_bits.
66959 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66960
66961 * string/strnlen.c: Define and use STRNLEN macro.
66962 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66963 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66965 * wcsmbs/wcslen.c: Define and use WCSLEN.
66966 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66967 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66968 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66969 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66970 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66971 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66972 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66973
66974 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66975
66976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66977 strnlen-sse2-no-bsf.
66978 Rename strlen-no-bsf to strlen-sse2-no-bsf.
66979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66980 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66981 Add strnlen support.
66982 (USE_AS_STRNLEN): New macro.
66983 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66984 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66985 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66986 * sysdeps/x86_64/wcslen.S: New file.
66987
66988 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
66989
66990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66991 XMM-moves are used for copying on small sizes.
66992
66993 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66994
66995 * wcsmbs/Makefile (strop-tests): Add wcschr.
66996 * wcsmbs/test-wcschr.c: New file.
66997 * string/test-strchr.c: Update.
66998 Add wcschr support.
66999 (WIDE): New macro.
67000
67001 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67002
67003 * wcsmbs/Makefile (strop-tests): Add wcslen.
67004 * wcsmbs/test-wcslen.c: New file.
67005 * string/test-strlen.c: Update.
67006 Add wcslen support.
67007 (WIDE): New macro.
67008
67009 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67010
67011 * po/it.po: Update from translation team.
67012
67013 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67014
67015 * sysdeps/x86_64/wcscmp.S: Update.
67016 Fix wrong comparison semantics.
67017 wcscmp shall use signed comparison not unsigned.
67018 Don't use substraction to avoid overflow bug.
67019 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67020 * wcsmbc/wcscmp.c: Likewise.
67021 * string/test-strcmp.c: Likewise.
67022 Add new tests to check cases with negative values.
67023
67024 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67025
67026 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67027 * sysdeps/x86_64/dla.h: ...here. New file.
67028 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67037
67038 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
67039
67040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67041 __ynl_finite aliases.
67042
67043 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67044
67045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67046
67047 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67048 define DLA_FMA.
67049 [DLA_FMA] (EMULV): Use DLA_FMA.
67050 [DLA_FMA] (MUL12): Use EMULV.
67051 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67052 that are not needed.
67053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67060
67061 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
67062
67063 * math/s_nan.c: Undef __nan.
67064 * math/s_nanf.c: Undef __nanf.
67065 * math/s_nanl.c: Undef __nanl.
67066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67067 "math_private.h".
67068
67069 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67070
67071 * math/s_catan.c: Add branch predictions.
67072 * math/s_catanf.c: Likewise.
67073 * math/s_catanh.c: Likewise.
67074 * math/s_catanhf.c: Likewise.
67075 * math/s_catanhl.c: Likewise.
67076 * math/s_catanl.c: Likewise.
67077 * math/s_cexp.c: Likewise.
67078 * math/s_cexpf.c: Likewise.
67079 * math/s_cexpl.c: Likewise.
67080 * math/s_clog.c: Likewise.
67081 * math/s_clog10.c: Likewise.
67082 * math/s_clog10f.c: Likewise.
67083 * math/s_clog10l.c: Likewise.
67084 * math/s_clogf.c: Likewise.
67085 * math/s_clogl.c: Likewise.
67086 * math/s_csqrt.c: Likewise.
67087 * math/s_csqrtf.c: Likewise.
67088 * math/s_csqrtl.c: Likewise.
67089 * math/s_ctanf.c: Likewise.
67090 * math/s_ctanh.c: Likewise.
67091 * math/s_ctanhf.c: Likewise.
67092 * math/s_ctanhl.c: Likewise.
67093 * math/s_ctanl.c: Likewise.
67094
67095 * math/math_private.h: Define __nan, __nanf, __nanl.
67096 * math/s_cacosh.c: Include <math_private.h>.
67097 * math/s_cacoshl.c: Likewise.
67098 * math/s_casinh.c: Likewise.
67099 * math/s_casinhf.c: Likewise.
67100 * math/s_casinhl.c: Likewise.
67101 * math/s_ccos.c: Rely entire on ccosh.
67102 * math/s_ccosf.c: Rely entire on ccoshf.
67103 * math/s_ccosl.c: Rely entirely on ccoshl.
67104 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
67105 Remove tests for FE_INVALID.
67106 * math/s_ccoshf.c: Likewise.
67107 * math/s_ccoshl.c: Likewise.
67108 * math/s_csin.c: Likewise.
67109 * math/s_csinf.c: Likewise.
67110 * math/s_csinh.c Likewise.
67111 * math/s_csinhf.c: Likewise.
67112 * math/s_csinhl.c: Likewise.
67113 * math/s_csinl.c: Likewise.
67114 * math/s_ctan.c: Likewise.
67115 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67116 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67117 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67118
67119 2011-10-21 Ulrich Drepper <drepper@gmail.com>
67120
67121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67122 compilation problems.
67123
67124 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67125 __builtin_expect.
67126
67127 2011-10-20 Ulrich Drepper <drepper@gmail.com>
67128
67129 * sysdeps/i386/configure.in: Test for -mfma4 option.
67130 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67131 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67132 COMMON_CPUID_INDEX_80000001.
67133 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67134 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67135 use it if FMA3 is not supported.
67136 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67137
67138 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67139 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67140
67141 2011-10-20 Andreas Schwab <schwab@redhat.com>
67142
67143 [BZ #12892]
67144 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67145 it would create a cycle with a link time dependency.
67146
67147 2011-10-19 Ulrich Drepper <drepper@gmail.com>
67148
67149 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67150 instruction.
67151 * string/Makefile (strop-tests): Add rawmemchr.
67152 * string/test-rawmemchr.c: New file.
67153
67154 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
67156 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
67157 when compiling str{,n}casecmp and when AVX is available. Hook up
67158 new optimized code in initializers.
67159
67160 2011-10-19 Andreas Schwab <schwab@redhat.com>
67161
67162 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67163 __feraiseexcept instead of feraiseexcept.
67164
67165 2011-10-18 Ulrich Drepper <drepper@gmail.com>
67166
67167 * math/math_private.h: Define defaults for libc_fetestexcept and
67168 libc_feupdateenv.
67169 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67170 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67171 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67172 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67173 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67174 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67175 libc_fetestexcept and libc_feupdateenv.
67176
67177 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67178 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67179 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67180 * sysdeps/x86_64/fpu/math_private.h: Define special version of
67181 libc_feholdexcept_setround.
67182
67183 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67184 Add s_nearbyint-c and s_nearbyintf-c.
67185 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67186 nearbyintf inlines.
67187 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67188 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67189 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67190 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67191
67192 * math/math_private.h: Define defaults for libc_fegetround,
67193 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67194 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67195 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67197 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67198 standard functions.
67199 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67200 Remove comments and hacks for old compiler versions.
67201 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67202 libc_fegetround, libc_fesetround, libc_feholdexcept, and
67203 libc_feholdexceptl.
67204
67205 2011-10-18 Andreas Schwab <schwab@redhat.com>
67206
67207 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67208 (__feraiseexcept_renamed): Add __NTH.
67209 (feraiseexcept): Add __NTH. Rename local variables to fix
67210 namespace violations.
67211
67212 2011-10-17 Ulrich Drepper <drepper@gmail.com>
67213
67214 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67215
67216 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67217
67218 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67219 recently added interfaces.
67220 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67221
67222 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67223 about macro parameter expansion.
67224
67225 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67226 __NO_MATH_INLINES is defined. Cleanups.
67227
67228 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67229 and __floorf is target has SSE4.1.
67230 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67231 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67233 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67234
67235 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67236 name.
67237 (floorf): Likewise.
67238
67239 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67240
67241 2011-10-17 Andreas Schwab <schwab@redhat.com>
67242
67243 * misc/sys/cdefs.h: Fix last change.
67244
67245 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67246 database lookup.
67247
67248 2011-10-16 Ulrich Drepper <drepper@gmail.com>
67249
67250 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67251
67252 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67253 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67254 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67255 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67258 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67259 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67260 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67261 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67262 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67263 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67264 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67265 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67266 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67267 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67268 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67269 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67270 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67271 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67272 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67273 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67274
67275 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67276 ceil, ceilf, floor, floorf.
67277
67278 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67279 Perform IRELATIVE relocations last.
67280
67281 * elf/do-rel.h: Add another parameter nrelative, replacing the
67282 local variable with the same name. Change name of the function
67283 to end in Rel or Rela (uppercase).
67284 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67285 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
67286 elf_dynamic_do_##reloc function.
67287
67288 2011-10-15 Ulrich Drepper <drepper@gmail.com>
67289
67290 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67291 is sufficient, at least on modern CPUs.
67292
67293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67294
67295 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67296 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67297
67298 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67299 __expl_finite.
67300 * math/bits/math-finite.h: Add entries for exp.
67301 * math/e_expl.c: Add __*_finite alias.
67302 * sysdeps/i386/fpu/e_exp.S: Likewise.
67303 * sysdeps/i386/fpu/e_expf.S: Likewise.
67304 * sysdeps/i386/fpu/e_expl.c: Likewise.
67305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67306 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67307 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67309 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67310 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67311 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67312
67313 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67314 is sufficient, at least on modern CPUs.
67315
67316 * ctype/ctype-info.c (__ctype_init): Define.
67317 * include/ctype.h (__ctype_init): Declare.
67318 (__ctype_b_loc): The variable is always initialized.
67319 (__ctype_toupper_loc): Likewise.
67320 (__ctype_tolower_loc): Likewise.
67321 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67322 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67323
67324 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
67325
67326 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67327
67328 * configure.in: Also look in $cxxmachine/include for C++ system
67329 headers.
67330
67331 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67332
67333 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67334 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67335 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67336 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
67337 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67338 (USE_AS_WMEMCMP): New macro.
67339 Fixing indents.
67340 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67341 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67342 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67343 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67345 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67346 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67347 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67348 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67349 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67350 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67351 (USE_AS_WMEMCMP): New macro.
67352 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67353 * sysdeps/string/test-memcmp.c: Update.
67354 Fix simple_wmemcmp.
67355 Add new tests.
67356 * wcsmbs/wmemcmp.c: Update.
67357 (WMEMCMP): New macro.
67358 Fix overflow bug.
67359
67360 2011-10-12 Andreas Jaeger <aj@suse.de>
67361
67362 [BZ #13268]
67363 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67364
67365 2011-10-15 Ulrich Drepper <drepper@gmail.com>
67366
67367 * libio/iofwide.c (do_length): Avoid warning.
67368
67369 * ctype/ctype.h (__isctype_f): Add missing __THROW.
67370
67371 2011-10-14 Ulrich Drepper <drepper@gmail.com>
67372
67373 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67374
67375 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67376 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67377 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67378 * sysdeps/i386/i686/fpu/e_log.S: New file.
67379 * sysdeps/i386/i686/fpu/e_logf.S: New file.
67380 * sysdeps/i386/i686/fpu/e_logl.S: New file.
67381
67382 * ctype/ctype.h: Add support for inlined isXXX functions when
67383 compiling C++ code.
67384
67385 2011-10-14 Andreas Schwab <schwab@redhat.com>
67386
67387 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67388
67389 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67390
67391 2011-10-13 Roland McGrath <roland@hack.frob.com>
67392
67393 [BZ #13291]
67394 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67395
67396 2011-10-13 Andreas Schwab <schwab@redhat.com>
67397
67398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67399 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67400 feraiseexcept.
67401
67402 * sysdeps/x86_64/memrchr.S: Check for zero size.
67403
67404 * string/stratcliff.c: Add memrchr tests.
67405
67406 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67407
67408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67409 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67410 rawmemchr-sse2 rawmemchr-sse2-bsf.
67411 * sysdeps/i386/i686/multiarch/memchr.S: New file.
67412 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67413 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67414 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67415 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67416 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67417 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67418 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67419 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67420 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67421 * string/memrchr.c (MEMRCHR): New macro.
67422
67423 2011-10-12 Ulrich Drepper <drepper@gmail.com>
67424
67425 Add integration with gcc's -ffinite-math-only and optimize wrapper
67426 functions in libm.
67427 * Versions.def: Define GLIBC_2.15 version for libm.
67428 * math/Makefile (headers): Add bits/math-finite.h.
67429 * math/bits/math-finite.h: New file.
67430 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67431 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67432 * math/e_acoshl.c: Add __*_finite alias.
67433 * math/e_acosl.c: Likewise.
67434 * math/e_asinl.c: Likewise.
67435 * math/e_atan2l.c: Likewise.
67436 * math/e_atanhl.c: Likewise.
67437 * math/e_coshl.c: Likewise.
67438 * math/e_exp10.c: Likewise.
67439 * math/e_exp10f.c: Likewise.
67440 * math/e_exp10l.c: Likewise.
67441 * math/e_exp2l.c: Likewise.
67442 * math/e_fmodl.c: Likewise.
67443 * math/e_gammal_r.c: Likewise.
67444 * math/e_hypotl.c: Likewise.
67445 * math/e_j0l.c: Likewise.
67446 * math/e_j1l.c: Likewise.
67447 * math/e_jnl.c: Likewise.
67448 * math/e_lgammal_r.c: Likewise.
67449 * math/e_log10l.c: Likewise.
67450 * math/e_log2l.c: Likewise.
67451 * math/e_logl.c: Likewise.
67452 * math/e_powl.c: Likewise.
67453 * math/e_sinhl.c: Likewise.
67454 * math/e_sqrtl.c: Likewise.
67455 * math/e_scalb.c: Completely rewritten and optimized.
67456 * math/e_scalbf.c: Likewise.
67457 * math/e_scalbl.c: Likewise.
67458 * math/w_acos.c: Likewise.
67459 * math/w_acosf.c: Likewise.
67460 * math/w_acosl.c: Likewise.
67461 * math/w_acosh.c: Likewise.
67462 * math/w_acoshf.c: Likewise.
67463 * math/w_acoshl.c: Likewise.
67464 * math/w_asin.c: Likewise.
67465 * math/w_asinf.c: Likewise.
67466 * math/w_asinl.c: Likewise.
67467 * math/w_atan2.c: Likewise.
67468 * math/w_atan2f.c: Likewise.
67469 * math/w_atan2l.c: Likewise.
67470 * math/w_atanh.c: Likewise.
67471 * math/w_atanhf.c: Likewise.
67472 * math/w_atanhl.c: Likewise.
67473 * math/w_exp10.c: Likewise.
67474 * math/w_exp10f.c: Likewise.
67475 * math/w_exp10l.c: Likewise.
67476 * math/w_fmod.c: Likewise.
67477 * math/w_fmodf.c: Likewise.
67478 * math/w_fmodl.c: Likewise.
67479 * math/w_j0.c: Likewise.
67480 * math/w_j0f.c: Likewise.
67481 * math/w_j0l.c: Likewise.
67482 * math/w_j1.c: Likewise.
67483 * math/w_j1f.c: Likewise.
67484 * math/w_j1l.c: Likewise.
67485 * math/w_jn.c: Likewise.
67486 * math/w_jnf.c: Likewise.
67487 * math/w_log.c: Likewise.
67488 * math/w_logf.c: Likewise.
67489 * math/w_logl.c: Likewise.
67490 * math/w_log10.c: Likewise.
67491 * math/w_log10f.c: Likewise.
67492 * math/w_log10l.c: Likewise.
67493 * math/w_log2.c: Likewise.
67494 * math/w_log2f.c: Likewise.
67495 * math/w_log2l.c: Likewise.
67496 * math/w_pow.c: Likewise.
67497 * math/w_powf.c: Likewise.
67498 * math/w_powl.c: Likewise.
67499 * math/w_remainder.c: Likewise.
67500 * math/w_remainderf.c: Likewise.
67501 * math/w_remainderl.c: Likewise.
67502 * math/w_scalb.c: Likewise.
67503 * math/w_scalbf.c: Likewise.
67504 * math/w_scalbl.c: Likewise.
67505 * math/w_sqrt.c: Likewise.
67506 * math/w_sqrtf.c: Likewise.
67507 * math/w_sqrtl.c: Likewise.
67508 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67509 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
67510 used.
67511 * math/math_private.h: Declare __kernel_standard_f.
67512 * math/w_cosh.c: Remove cruft and optimize a bit.
67513 * math/w_coshf.c: Likewise.
67514 * math/w_coshl.c: Likewise.
67515 * math/w_exp2.c: Likewise.
67516 * math/w_exp2f.c: Likewise.
67517 * math/w_exp2l.c: Likewise.
67518 * math/w_hypot.c: Likewise.
67519 * math/w_hypotf.c: Likewise.
67520 * math/w_hypotl.c: Likewise.
67521 * math/w_lgamma.c: Likewise.
67522 * math/w_lgamma_r.c: Likewise.
67523 * math/w_lgammaf.c: Likewise.
67524 * math/w_lgammaf_r.c: Likewise.
67525 * math/w_lgammal.c: Likewise.
67526 * math/w_lgammal_r.c: Likewise.
67527 * math/w_sinh.c: Likewise.
67528 * math/w_sinhf.c: Likewise.
67529 * math/w_sinhl.c: Likewise.
67530 * math/w_tgamma.c: Likewise.
67531 * math/w_tgammaf.c: Likewise.
67532 * math/w_tgammal.c: Likewise.
67533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67534 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67535 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67536 Minor optimizations. Pretty printing. Remove cruft.
67537 * sysdeps/i386/fpu/e_acosf.S: Likewise.
67538 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67539 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67541 * sysdeps/i386/fpu/e_acosl.c: Likewise.
67542 * sysdeps/i386/fpu/e_asin.S: Likewise.
67543 * sysdeps/i386/fpu/e_asinf.S: Likewise.
67544 * sysdeps/i386/fpu/e_atan2.S: Likewise.
67545 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67546 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67547 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67548 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67549 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67550 * sysdeps/i386/fpu/e_exp10.S: Likewise.
67551 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67552 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67553 * sysdeps/i386/fpu/e_exp2.S: Likewise.
67554 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67555 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67556 * sysdeps/i386/fpu/e_fmod.S: Likewise.
67557 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67558 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67559 * sysdeps/i386/fpu/e_hypot.S: Likewise.
67560 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67561 * sysdeps/i386/fpu/e_log.S: Likewise.
67562 * sysdeps/i386/fpu/e_log10.S: Likewise.
67563 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67564 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67565 * sysdeps/i386/fpu/e_log2.S: Likewise.
67566 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67567 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67568 * sysdeps/i386/fpu/e_logf.S: Likewise.
67569 * sysdeps/i386/fpu/e_logl.S: Likewise.
67570 * sysdeps/i386/fpu/e_pow.S: Likewise.
67571 * sysdeps/i386/fpu/e_powf.S: Likewise.
67572 * sysdeps/i386/fpu/e_powl.S: Likewise.
67573 * sysdeps/i386/fpu/e_remainder.S: Likewise.
67574 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67575 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67576 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67577 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67578 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67579 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67580 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67581 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67582 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67583 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67585 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67586 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67587 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67588 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67589 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67591 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67592 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67593 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67595 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67596 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67599 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67602 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67603 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67604 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67605 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67606 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67607 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67608 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67609 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67610 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67611 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67612 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67613 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67614 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67615 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67616 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67617 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67618 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67619 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67620 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67621 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67622 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67623 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67624 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67625 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67626 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67627 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67628 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67629 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67630 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67641 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67642 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67643 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67644 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67646 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67647 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67648 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67650 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67652 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67653 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67654 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67656 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67660 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67661 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67662 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67663 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67664 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67665 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67667 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67668 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67669 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67670 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67671 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67672 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67673 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67674 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67675 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67676 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67677 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67678 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67679 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67680 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67681 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67682 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67683 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67684 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67685 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67686 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67687 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67688 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67690 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67691 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67692 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
67693 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67694 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67695 (__isnanf): Likewise.
67696 (__isinf_ns): Likewise.
67697 (__isinf_nsf): Likewise.
67698 (__finite): Likewise.
67699 (__finitef): Likewise.
67700 (__ieee754_sqrt): Define as macro.
67701 (__ieee754_sqrtf): Define as macro.
67702 (__ieee754_sqrtl): Define as macro.
67703 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67704 inlined copy.
67705 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67706 __FINITE_MATH_ONLY__ consistent.
67707 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67708
67709 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
67710
67711 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67712 of rawmemchr.
67713
67714 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67715
67716 2011-10-09 Ulrich Drepper <drepper@gmail.com>
67717
67718 * po/ja.po: Update from translation team.
67719
67720 2011-10-08 Roland McGrath <roland@hack.frob.com>
67721
67722 * locale/programs/locarchive.c (prepare_address_space): New function.
67723 (create_archive, enlarge_archive, open_archive): Use it.
67724
67725 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67726 inside [SHARED], where it is used.
67727
67728 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67729
67730 * nss/getent.c (netgroup_keys): Remove unused variable.
67731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67732
67733 2011-10-08 Ulrich Drepper <drepper@gmail.com>
67734
67735 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67736 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67738 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67739 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67741 * math/Makefile (libm-calls): Add s_isinf_ns.
67742 * math/divtc3.c: Use __isinf_nsl instead of isinf.
67743 * math/multc3.c: Likewise.
67744 * math/s_casin.c: Likewise.
67745 * math/s_casinf.c: Likewise.
67746 * math/s_casinl.c: Likewise.
67747 * math/s_ccos.c: Likewise.
67748 * math/s_ccosf.c: Likewise.
67749 * math/s_ccosl.c: Likewise.
67750 * math/s_ctan.c: Likewise.
67751 * math/s_ctanf.c: Likewise.
67752 * math/s_ctanh.c: Likewise.
67753 * math/s_ctanhf.c: Likewise.
67754 * math/s_ctanhl.c: Likewise.
67755 * math/s_ctanl.c: Likewise.
67756 * math/w_fmod.c: Likewise.
67757 * math/w_fmodf.c: Likewise.
67758 * math/w_fmodl.c: Likewise.
67759 * math/w_remainder.c: Likewise.
67760 * math/w_remainderf.c: Likewise.
67761 * math/w_remainderl.c: Likewise.
67762 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67763 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67764 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67766 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67767 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67768 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67769 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67770
67771 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67772 of the number.
67773 * stdio-common/printf_fphex.c: Likewise.
67774 * stdio-common/printf_size.c: Likewise.
67775
67776 * math/e_exp10.c: Include math_private.h using <...> not "...".
67777 * math/e_exp10f.c: Likewise.
67778 * math/e_exp10l.c: Likewise.
67779 * math/e_exp2l.c: Likewise.
67780 * math/e_j0l.c: Likewise.
67781 * math/e_j1l.c: Likewise.
67782 * math/e_jnl.c: Likewise.
67783 * math/e_lgammal_r.c: Likewise.
67784 * math/e_rem_pio2l.c: Likewise.
67785 * math/e_scalb.c: Likewise.
67786 * math/e_scalbf.c: Likewise.
67787 * math/e_scalbl.c: Likewise.
67788 * math/k_cosl.c: Likewise.
67789 * math/k_sinl.c: Likewise.
67790 * math/k_tanl.c: Likewise.
67791 * math/s_cacoshf.c: Likewise.
67792 * math/s_catan.c: Likewise.
67793 * math/s_catanf.c: Likewise.
67794 * math/s_catanh.c: Likewise.
67795 * math/s_catanhf.c: Likewise.
67796 * math/s_catanhl.c: Likewise.
67797 * math/s_catanl.c: Likewise.
67798 * math/s_ccosh.c: Likewise.
67799 * math/s_ccoshf.c: Likewise.
67800 * math/s_ccoshl.c: Likewise.
67801 * math/s_cexp.c: Likewise.
67802 * math/s_cexpf.c: Likewise.
67803 * math/s_cexpl.c: Likewise.
67804 * math/s_clog.c: Likewise.
67805 * math/s_clog10.c: Likewise.
67806 * math/s_clog10f.c: Likewise.
67807 * math/s_clog10l.c: Likewise.
67808 * math/s_clogf.c: Likewise.
67809 * math/s_clogl.c: Likewise.
67810 * math/s_csin.c: Likewise.
67811 * math/s_csinf.c: Likewise.
67812 * math/s_csinh.c: Likewise.
67813 * math/s_csinhf.c: Likewise.
67814 * math/s_csinhl.c: Likewise.
67815 * math/s_csinl.c: Likewise.
67816 * math/s_csqrt.c: Likewise.
67817 * math/s_csqrtf.c: Likewise.
67818 * math/s_csqrtl.c: Likewise.
67819 * math/s_ctan.c: Likewise.
67820 * math/s_ctanf.c: Likewise.
67821 * math/s_ctanh.c: Likewise.
67822 * math/s_ctanhf.c: Likewise.
67823 * math/s_ctanhl.c: Likewise.
67824 * math/s_ctanl.c: Likewise.
67825 * math/s_ldexp.c: Likewise.
67826 * math/s_ldexpf.c: Likewise.
67827 * math/s_ldexpl.c: Likewise.
67828 * math/s_significand.c: Likewise.
67829 * math/s_significandf.c: Likewise.
67830 * math/s_significandl.c: Likewise.
67831 * math/w_acos.c: Likewise.
67832 * math/w_acosf.c: Likewise.
67833 * math/w_acosh.c: Likewise.
67834 * math/w_acoshf.c: Likewise.
67835 * math/w_acoshl.c: Likewise.
67836 * math/w_acosl.c: Likewise.
67837 * math/w_asin.c: Likewise.
67838 * math/w_asinf.c: Likewise.
67839 * math/w_asinl.c: Likewise.
67840 * math/w_atan2.c: Likewise.
67841 * math/w_atan2f.c: Likewise.
67842 * math/w_atan2l.c: Likewise.
67843 * math/w_atanh.c: Likewise.
67844 * math/w_atanhf.c: Likewise.
67845 * math/w_atanhl.c: Likewise.
67846 * math/w_cosh.c: Likewise.
67847 * math/w_coshf.c: Likewise.
67848 * math/w_coshl.c: Likewise.
67849 * math/w_dremf.c: Likewise.
67850 * math/w_exp10.c: Likewise.
67851 * math/w_exp10f.c: Likewise.
67852 * math/w_exp10l.c: Likewise.
67853 * math/w_exp2.c: Likewise.
67854 * math/w_exp2f.c: Likewise.
67855 * math/w_fmod.c: Likewise.
67856 * math/w_fmodf.c: Likewise.
67857 * math/w_fmodl.c: Likewise.
67858 * math/w_hypot.c: Likewise.
67859 * math/w_hypotf.c: Likewise.
67860 * math/w_hypotl.c: Likewise.
67861 * math/w_j0.c: Likewise.
67862 * math/w_j0f.c: Likewise.
67863 * math/w_j0l.c: Likewise.
67864 * math/w_j1.c: Likewise.
67865 * math/w_j1f.c: Likewise.
67866 * math/w_j1l.c: Likewise.
67867 * math/w_jn.c: Likewise.
67868 * math/w_jnf.c: Likewise.
67869 * math/w_jnl.c: Likewise.
67870 * math/w_lgamma.c: Likewise.
67871 * math/w_lgamma_r.c: Likewise.
67872 * math/w_lgammaf.c: Likewise.
67873 * math/w_lgammaf_r.c: Likewise.
67874 * math/w_lgammal.c: Likewise.
67875 * math/w_lgammal_r.c: Likewise.
67876 * math/w_log.c: Likewise.
67877 * math/w_log10.c: Likewise.
67878 * math/w_log10f.c: Likewise.
67879 * math/w_log10l.c: Likewise.
67880 * math/w_log2.c: Likewise.
67881 * math/w_log2f.c: Likewise.
67882 * math/w_log2l.c: Likewise.
67883 * math/w_logf.c: Likewise.
67884 * math/w_logl.c: Likewise.
67885 * math/w_pow.c: Likewise.
67886 * math/w_powf.c: Likewise.
67887 * math/w_powl.c: Likewise.
67888 * math/w_remainder.c: Likewise.
67889 * math/w_remainderf.c: Likewise.
67890 * math/w_remainderl.c: Likewise.
67891 * math/w_scalb.c: Likewise.
67892 * math/w_scalbf.c: Likewise.
67893 * math/w_scalbl.c: Likewise.
67894 * math/w_sinh.c: Likewise.
67895 * math/w_sinhf.c: Likewise.
67896 * math/w_sinhl.c: Likewise.
67897 * math/w_sqrt.c: Likewise.
67898 * math/w_sqrtf.c: Likewise.
67899 * math/w_sqrtl.c: Likewise.
67900 * math/w_tgamma.c: Likewise.
67901 * math/w_tgammaf.c: Likewise.
67902 * math/w_tgammal.c: Likewise.
67903
67904 * po/ja.po: Update from translation team.
67905
67906 2011-09-29 Andreas Jaeger <aj@suse.de>
67907
67908 [BZ #13179]
67909 * sunrpc/netname.c (netname2host): Fix logic.
67910
67911 [BZ #6779]
67912 [BZ #6783]
67913 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67914 correctly.
67915 * math/w_remainder.c (__remainder): Likewise.
67916 * math/w_remainderf.c (__remainderf): Likewise.
67917 * math/libm-test.inc (remainder_test): Add test cases.
67918
67919 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67920
67921 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
67922 sdiv_qrnnd.
67923
67924 2011-10-07 Ulrich Drepper <drepper@gmail.com>
67925
67926 * string/test-memcmp.c: Avoid unncessary #defines.
67927 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67928
67929 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67930
67931 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67932 Use new sse2 version for core i3 - i7 as it's faster
67933 than sse42 version.
67934 (bit_Prefer_PMINUB_for_stringop): New.
67935 * sysdeps/x86_64/rawmemchr.S: Update.
67936 Replace with faster SSE2 version.
67937 * sysdeps/x86_64/memrchr.S: New file.
67938 * sysdeps/x86_64/memchr.S: Update.
67939 Replace with faster SSE2 version.
67940
67941 2011-09-12 Marek Polacek <mpolacek@redhat.com>
67942
67943 * elf/dl-load.c (lose): Add cast to avoid warning.
67944
67945 2011-10-07 Ulrich Drepper <drepper@gmail.com>
67946
67947 * po/ca.po: Update from translation team.
67948
67949 * inet/getnetgrent_r.c: Hook up nscd.
67950 * nscd/Makefile (routines): Add nscd_netgroup.
67951 (nscd-modules): Add netgroupcache.
67952 (CFLAGS-netgroupcache.c): Define.
67953 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67954 (cache_search): Add const to second parameter.
67955 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67956 INNETGR.
67957 (dbs): Add netgrdb entry.
67958 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67959 (verify_persistent_db): Handle netgrdb.
67960 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67961 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67962 GETFDNETGR.
67963 (netgroup_response_header): Define.
67964 (innetgroup_response_header): Define.
67965 (datahead): Add netgroup_response_header and innetgroup_response_header
67966 elements.
67967 * nscd/nscd.conf: Add entries for netgroup cache.
67968 * nscd/nscd.h (dbtype): Add netgrdb.
67969 (_PATH_NSCD_NETGROUP_DB): Define.
67970 (netgroup_iov_disabled): Declare.
67971 (xmalloc, xcalloc, xrealloc): Move declarations here.
67972 (cache_search): Adjust prototype.
67973 Add netgroup-related prototypes.
67974 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67975 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67976 (__nscd_innetgr): Declare.
67977 * nscd/selinux.c (perms): Use access_vector_t as element type and
67978 add netgroup-related initializers.
67979 * nscd/netgroupcache.c: New file.
67980 * nscd/nscd_netgroup.c: New file.
67981 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67982 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67983 For four parameters use innetgr.
67984 * nss/nss_files/files-init.c: Add definition and callback for netgr.
67985 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67986 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67987 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67988
67989 * nscd/connections.c (register_traced_file): Don't register file
67990 for disabled databases.
67991
67992 2011-10-06 Ulrich Drepper <drepper@gmail.com>
67993
67994 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67995
67996 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67997 from tree and freeing node.
67998
67999 2011-09-25 Jiri Olsa <jolsa@redhat.com>
68000
68001 * nss/nsswitch.c (__nss_database_lookup): Handle
68002 nss_parse_service_list out of memory case.
68003
68004 2011-09-15 Jiri Olsa <jolsa@redhat.com>
68005
68006 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68007 out of memory case.
68008
68009 2011-10-04 Andreas Schwab <schwab@redhat.com>
68010
68011 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68012 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68013 pass it down.
68014 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68015 elf_machine_rela, elf_machine_lazy_rel.
68016 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68017 (ELF_DYNAMIC_DO_REL): Likewise.
68018 (ELF_DYNAMIC_DO_RELA): Likewise.
68019 (ELF_DYNAMIC_RELOCATE): Likewise.
68020 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68021 to ELF_DYNAMIC_DO_REL.
68022 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68023 (dl_main): In trace mode always set __RTLD_NOIFUNC.
68024 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68025 elf_machine_rela.
68026 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68027 skip_ifunc, don't call ifunc function if non-zero.
68028 (elf_machine_rela): Likewise.
68029 (elf_machine_lazy_rel): Likewise.
68030 (elf_machine_lazy_rela): Likewise.
68031 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68032 (elf_machine_lazy_rel): Likewise.
68033 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68034 Likewise.
68035 (elf_machine_lazy_rel): Likewise.
68036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68037 Likewise.
68038 (elf_machine_lazy_rel): Likewise.
68039 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68040 (elf_machine_lazy_rel): Likewise.
68041 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68042 (elf_machine_lazy_rel): Likewise.
68043 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68044 (elf_machine_lazy_rel): Likewise.
68045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68046 (elf_machine_lazy_rel): Likewise.
68047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68048 (elf_machine_lazy_rel): Likewise.
68049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68050 (elf_machine_lazy_rel): Likewise.
68051
68052 2011-09-28 Ulrich Drepper <drepper@gmail.com>
68053
68054 * nss/nss_files/files-init.c (_nss_files_init): Use static
68055 initialization for all the *_traced_file variables.
68056
68057 2011-09-28 Andreas Schwab <schwab@redhat.com>
68058
68059 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68060
68061 2011-09-27 Roland McGrath <roland@hack.frob.com>
68062
68063 [BZ #13226]
68064 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68065
68066 2011-09-27 Andreas Schwab <schwab@redhat.com>
68067
68068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68069 Reread the line before reparsing it.
68070
68071 2011-09-26 Andreas Schwab <schwab@redhat.com>
68072
68073 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68074
68075 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
68076 Maxim Kuvyrkov <maxim@codesourcery.com>
68077 Joseph Myers <joseph@codesourcery.com>
68078
68079 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68080 if needed for __stack_chk_guard.
68081
68082 2011-09-19 Roland McGrath <roland@hack.frob.com>
68083
68084 * sysdeps/posix/spawni.c (script_execute): Always define it.
68085 It will be optimized away if unused.
68086 (maybe_script_execute): New function.
68087 (__spawni): Call it.
68088
68089 * Makerules: Don't include tls.make.
68090 (config-tls): Always set to thread.
68091 * tls.make.c: File removed.
68092
68093 2011-09-19 Mike Frysinger <vapier@gentoo.org>
68094
68095 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68096 * config.make.in (CPPFLAGS-config): New substituted variable.
68097
68098 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68099
68100 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68101
68102 [BZ #13192]
68103 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68104 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68105
68106 2011-09-15 Roland McGrath <roland@hack.frob.com>
68107
68108 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68109 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68111 (CALL_FAIL): Likewise.
68112 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68113 (CALL_FAIL): Macro removed.
68114 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68115
68116 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68117
68118 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68119 for __FINITE_MATH_ONLY__ == 1.
68120
68121 2011-09-15 Andreas Schwab <schwab@redhat.com>
68122
68123 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68124 __ieee754_sqrt instead of sqrt.
68125 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68126 __ieee754_sqrtf instead of sqrtf.
68127 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68128 __floorf instead of floorf.
68129 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68130 __floorf, __truncf instead of floorf, truncf.
68131
68132 2011-09-14 Ulrich Drepper <drepper@gmail.com>
68133
68134 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68135
68136 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68137 __extern_always_inline.
68138 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68139 32-bit.
68140
68141 2011-09-14 Andreas Schwab <schwab@redhat.com>
68142
68143 * elf/rtld.c (dl_main): Also relocate in dependency order when
68144 doing symbol dependency testing.
68145
68146 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
68147
68148 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68149 Always define `refsym'.
68150
68151 2011-09-13 Andreas Schwab <schwab@redhat.com>
68152
68153 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68154 (__FD_ELT): Renamed from __FDELT.
68155 * misc/bits/select2.h (__FD_ELT): Likewise.
68156 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68157 __FD_MASK instead of __FDELT, __FDMASK.
68158 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68159 Likewise.
68160 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68161 Likewise.
68162
68163 * elf/Makefile (gen-ldd): Fix pattern.
68164
68165 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68166 (init_tls): Likewise.
68167
68168 2011-09-12 Ulrich Drepper <drepper@gmail.com>
68169
68170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68171
68172 2011-09-12 Andreas Schwab <schwab@redhat.com>
68173
68174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68175 `struct cmsghdr *' instead of `void *'.
68176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68177 Likewise.
68178
68179 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
68180
68181 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68182 if non-absolute.
68183 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68184 ldd_rewrite_script.
68185
68186 2011-09-11 Ulrich Drepper <drepper@gmail.com>
68187
68188 * configure.in: Remove --with-tls option.
68189 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68190 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68191 out in case it is missing.
68192 * sysdeps/ia64/elf/configure.in: Likewise.
68193 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68194 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68195 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68196 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68197 * sysdeps/sh/elf/configure.in: Likewise.
68198 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68199 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68200 * sysdeps/x86_64/elf/configure.in: Likewise.
68201 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68202 * sysdeps/mach/hurd/tls.h: Likewise.
68203
68204 [BZ #13067]
68205 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68206
68207 [BZ #13090]
68208 * configure.in: Fix use of AC_INIT.
68209
68210 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68211
68212 2011-09-10 Ulrich Drepper <drepper@gmail.com>
68213
68214 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68215 __set_errno.
68216 * malloc/hooks.c: Likewise.
68217
68218 [BZ #11929]
68219 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
68220 variables statically.
68221 (narenas): Initialize.
68222 (list_lock): Initialize.
68223 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
68224 initializtion of main_arena and list_lock. Small cleanups.
68225 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68226 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
68227 Add initializers to main_arena and mp_.
68228 (malloc_state): Remove pagesize member. Change all users to use
68229 GLRO(dl_pagesize).
68230
68231 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68232 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
68233 is always initialized.
68234
68235 * malloc/malloc.c: Removed unused configurations and dead code.
68236 * malloc/arena.c: Likewise.
68237 * malloc/hooks.c: Likewise.
68238 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68239
68240 * include/tls.h: Removed. USE___THREAD must always be defined.
68241 * bits/libc-tsd.h: Don't handle !USE___THREAD.
68242 * elf/dl-libc.c: Likewise.
68243 * elf/dl-tsd.c: Likewise.
68244 * include/errno.h: Likewise.
68245 * include/netdb.h: Likewise.
68246 * include/resolv.h: Likewise.
68247 * inet/herrno-loc.c: Likewise.
68248 * inet/herrno.c: Likewise.
68249 * malloc/arena.c: Likewise.
68250 * malloc/hooks.c: Likewise.
68251 * malloc/malloc.c: Likewise.
68252 * resolv/res-state.c: Likewise.
68253 * resolv/res_libc.c: Likewise.
68254 * sysdeps/i386/dl-machine.h: Likewise.
68255 * sysdeps/ia64/dl-machine.h: Likewise.
68256 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68257 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68258 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68259 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68260 * sysdeps/sh/dl-machine.h: Likewise.
68261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68262 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68263 * sysdeps/unix/i386/sysdep.S: Likewise.
68264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68265 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68270 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68274 * sysdeps/unix/x86_64/sysdep.S: Likewise.
68275 * sysdeps/x86_64/dl-machine.h: Likewise.
68276 * tls.make.c: Likewise.
68277
68278 * configure.in: Remove --with-__thread option. Make tests for
68279 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68280 tls_model attribute fail if no support is available. Remove
68281 USE_IN_LIBIO.
68282 * Makeconfig: Adjust for dropped configure option. All features are
68283 now mandatory.
68284 * Makerules: Likewise.
68285 * Versions.def: Likewise.
68286 * argp/argp-fmtstream.c: Likewise.
68287 * argp/argp-fmtstream.h: Likewise.
68288 * argp/argp-help.c: Likewise.
68289 * assert/assert.c: Likewise.
68290 * config.h.in: Likewise.
68291 * config.make.in: Likewise.
68292 * configure: Likewise.
68293 * configure.in: Likewise.
68294 * csu/Versions: Likewise.
68295 * csu/init.c: Likewise.
68296 * elf/tst-audit2.c: Likewise.
68297 * elf/tst-tls10.c: Likewise.
68298 * elf/tst-tls10.h: Likewise.
68299 * elf/tst-tls11.c: Likewise.
68300 * elf/tst-tls12.c: Likewise.
68301 * elf/tst-tls14.c: Likewise.
68302 * elf/tst-tlsmod11.c: Likewise.
68303 * elf/tst-tlsmod12.c: Likewise.
68304 * elf/tst-tlsmod13.c: Likewise.
68305 * elf/tst-tlsmod13a.c: Likewise.
68306 * elf/tst-tlsmod14a.c: Likewise.
68307 * elf/tst-tlsmod15b.c: Likewise.
68308 * elf/tst-tlsmod16a.c: Likewise.
68309 * elf/tst-tlsmod16b.c: Likewise.
68310 * elf/tst-tlsmod7.c: Likewise.
68311 * elf/tst-tlsmod8.c: Likewise.
68312 * elf/tst-tlsmod9.c: Likewise.
68313 * gmon/gmon.c: Likewise.
68314 * grp/fgetgrent_r.c: Likewise.
68315 * grp/putgrent.c: Likewise.
68316 * hurd/fopenport.c: Likewise.
68317 * include/libc-symbols.h: Likewise.
68318 * include/tls.h: Likewise.
68319 * intl/gettextP.h: Likewise.
68320 * intl/loadinfo.h: Likewise.
68321 * locale/global-locale.c: Likewise.
68322 * locale/localeinfo.h: Likewise.
68323 * mach/devstream.c: Likewise.
68324 * malloc/arena.c: Likewise.
68325 * malloc/set-freeres.c: Likewise.
68326 * misc/err.c: Likewise.
68327 * misc/getttyent.c: Likewise.
68328 * misc/mntent_r.c: Likewise.
68329 * posix/getopt.c: Likewise.
68330 * posix/wordexp.c: Likewise.
68331 * pwd/fgetpwent_r.c: Likewise.
68332 * resolv/Versions: Likewise.
68333 * resolv/res_hconf.c: Likewise.
68334 * shadow/fgetspent_r.c: Likewise.
68335 * shadow/putspent.c: Likewise.
68336 * stdio-common/printf_fphex.c: Likewise.
68337 * stdio-common/tmpfile.c: Likewise.
68338 * stdlib/abort.c: Likewise.
68339 * stdlib/fmtmsg.c: Likewise.
68340 * sunrpc/auth_unix.c: Likewise.
68341 * sunrpc/clnt_perr.c: Likewise.
68342 * sunrpc/clnt_tcp.c: Likewise.
68343 * sunrpc/clnt_udp.c: Likewise.
68344 * sunrpc/clnt_unix.c: Likewise.
68345 * sunrpc/openchild.c: Likewise.
68346 * sunrpc/svc_simple.c: Likewise.
68347 * sunrpc/svc_tcp.c: Likewise.
68348 * sunrpc/svc_udp.c: Likewise.
68349 * sunrpc/svc_unix.c: Likewise.
68350 * sunrpc/xdr.c: Likewise.
68351 * sunrpc/xdr_array.c: Likewise.
68352 * sunrpc/xdr_rec.c: Likewise.
68353 * sunrpc/xdr_ref.c: Likewise.
68354 * sunrpc/xdr_stdio.c: Likewise.
68355
68356 2011-09-09 Ulrich Drepper <drepper@gmail.com>
68357
68358 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68359
68360 2011-07-03 Andreas Jaeger <aj@suse.de>
68361
68362 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68363 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68364 regenerate with gen-libm-tests.pl.
68365
68366 2010-05-12 Petr Baudis <pasky@suse.cz>
68367
68368 [BZ #11589]
68369 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68370 around j0() zero points by switching to j1().
68371 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68372 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68374 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68375
68376 2011-09-09 Ulrich Drepper <drepper@gmail.com>
68377
68378 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68379 instead of 0.
68380 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68381 instead of 0.
68382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68383 Patch in part by Pavel Roskin <proski@gnu.org>.
68384
68385 [BZ #13138]
68386 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68387 realloc.
68388 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
68389 Free memory block if necessary.
68390
68391 [BZ #12847]
68392 * libio/genops.c (INTDEF): For string streams the _lock pointer can
68393 be NULL. Don't lock in this case.
68394
68395 2011-09-09 Roland McGrath <roland@hack.frob.com>
68396
68397 * elf/elf.h (ELFOSABI_GNU): New macro.
68398 (ELFOSABI_LINUX): Define to that.
68399
68400 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
68401
68402 * string/strncat.c (strncat): Undef the symbol in case it has been
68403 defined in bits/string.h.
68404
68405 2011-09-09 Ulrich Drepper <drepper@gmail.com>
68406
68407 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68408
68409 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68410 link map.
68411
68412 2011-08-17 Andreas Jaeger <aj@suse.de>
68413
68414 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68415
68416 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
68417 Ian Lance Taylor <iant@google.com>
68418
68419 * math/libm-test.inc (lround_test): New testcase.
68420 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68421
68422 2011-09-08 Ulrich Drepper <drepper@gmail.com>
68423
68424 * Makefile: Remove support for automatic cvs check-ins.
68425 * Makerules: Likewise.
68426 * config.make.in: Likewise.
68427 * configure.in: Likewise.
68428 * intl/Makefile: Likewise.
68429 * locale/Makefile: Likewise.
68430 * po/Makefile: Likewise.
68431 * posix/Makefile: Likewise.
68432 * sysdeps/gnu/Makefile: Likewise.
68433 * sysdeps/mach/hurd/Makefile: Likewise.
68434 * sysdeps/sparc/sparc32/Makefile: Likewise.
68435
68436 [BZ #13118]
68437 * posix/Makefile (bug-regex32-ENV): Define.
68438 Patch by John Stanley <jpsinthemix@verizon.net>.
68439
68440 * misc/Makefile (headers): Add bits/select2.h.
68441 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68442 * misc/bits/select2.h: New file.
68443 * include/bits/select2.h: New file.
68444 * debug/Makefile (routines): Add fdelt_chk.
68445 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68446 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68447 FD_ISSET.
68448 * debug/fdelt_chk.c: New file.
68449
68450 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
68451 * wcsmbs/test-wmemcmp.c: Likewise.
68452 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68453 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68454
68455 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68456
68457 * string/Makefile (strop-tests): Add memcmp.
68458 * string/test-wmemcmp.c: New file.
68459 * string/test-memcmp.c: Add wmemcmp support.
68460
68461 2011-09-08 Roland McGrath <roland@hack.frob.com>
68462
68463 [BZ #13153]
68464 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68465 2011-07-19 change.
68466
68467 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68468 garbage value in a __mach_port_mod_refs call in the cases of the
68469 task-self and thread-self ports.
68470
68471 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
68472
68473 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68474
68475 2011-09-08 Andreas Schwab <schwab@redhat.com>
68476
68477 * elf/dl-load.c (lose): Check for non-null L.
68478
68479 2011-09-07 Ulrich Drepper <drepper@gmail.com>
68480
68481 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68482
68483 * elf/dl-libc.c (dlerror_run): Pass back error code from
68484 dl_catch_error.
68485
68486 [BZ #13123]
68487 * elf/dl-load.c (lose): Free l_origin if it is valid.
68488
68489 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68490 names.
68491 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68492 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68493 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68494 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68495 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68496 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68497
68498 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68499
68500 * sysdeps/powerpc/fpu/e_hypot.c: New file.
68501 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68502 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68503 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68504 * sysdeps/powerpc/fpu/k_cosf.c: New file.
68505 * sysdeps/powerpc/fpu/k_sinf.c: New file.
68506 * sysdeps/powerpc/fpu/s_cosf.c: New file.
68507 * sysdeps/powerpc/fpu/s_sinf.c: New file.
68508 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68509 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68510
68511 2011-08-15 Alan Modra <amodra@gmail.com>
68512
68513 [BZ #13092]
68514 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68515 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68516 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
68517 ppc_mcount to static-only-routines.
68518 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68519 __mcount_internal.
68520 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68521 __mcount_internal with usual JUMPTARGET. Remove useless nop.
68522
68523 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
68524
68525 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68526 for finite and infinity parameters.
68527
68528 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
68529
68530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68531 and add nop instructions for throughput optimization.
68532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68533
68534 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
68535
68536 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68537 aligned copy for power7 with vector-scalar instructions.
68538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68539
68540 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
68541
68542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68543 AVX check.
68544
68545 2011-09-07 Andreas Schwab <schwab@redhat.com>
68546
68547 [BZ #13144]
68548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68549 last change.
68550
68551 2011-09-07 Ulrich Drepper <drepper@gmail.com>
68552
68553 * sysdeps/unix/sysv/linux/x86_64/init-first.c
68554 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68555 syscall wrapper around clock_gettime in __vdso_clock_gettime.
68556 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68557 clock_gettime.
68558
68559 2011-09-06 Ulrich Drepper <drepper@gmail.com>
68560
68561 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68562 Forgot to demangle the pointer.
68563
68564 * sysdeps/i386/sysdep.h: Define atom_text_section.
68565 * sysdeps/x86_64/sysdep.h: Likewise.
68566 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68567 section with atom_text_section.
68568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68569 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68572 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68573
68574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68576 already be defined. Change to take two parameters and don't assign
68577 result to variable. Adjust all users.
68578 Define INTERNAL_GETTIME if not already defined.
68579 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68580 call.
68581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68582 HAVE_CLOCK_GETTIME_VSYSCALL.
68583 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68584
68585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68586 gettimeofday vsyscall, just use time.
68587
68588 2011-09-06 Andreas Schwab <schwab@redhat.com>
68589
68590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68591 <errno.h>.
68592
68593 2011-09-06 Ulrich Drepper <drepper@gmail.com>
68594
68595 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68596 syscall on x86-64.
68597 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68598 syscall.
68599 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68600 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68601 syscall if possible.
68602
68603 2011-09-05 Ulrich Drepper <drepper@gmail.com>
68604
68605 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68606 e_ident. Don't pass to find_mapsXX.
68607 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68608
68609 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68610
68611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68612 strchr-sse2-no-bsf strrchr-sse2-no-bsf
68613 * sysdeps/x86_64/multiarch/strchr.S: Update.
68614 Check bit_slow_BSF bit.
68615 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68616 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68617 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68618
68619 2011-09-05 Ulrich Drepper <drepper@gmail.com>
68620
68621 [BZ #13134]
68622 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68623 before glibc 2.15.
68624 (tryshell): Define.
68625 (__spawni): Change last parameter to be flag. Test
68626 SPAWN_XFLAGS_USE_PATH flag to use path or not.
68627 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68628 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68629 * posix/spawni.c: Likewise.
68630 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68631 * posix/spawnp.c: Likewise. Change normal version to use
68632 SPAWN_XFLAGS_USE_PATH.
68633 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68634 SPAWN_XFLAGS_TRY_SHELL.
68635
68636 [BZ #13150]
68637 * posix/glob.h: Remove gcc 1.x support.
68638
68639 [BZ #13068]
68640 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68641
68642 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68643
68644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68645 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68646 strrchr-sse2-bsf
68647 * sysdeps/i386/i686/multiarch/strchr.S: New file.
68648 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68649 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68651 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68652 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68653
68654 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68655
68656 * sysdeps/x86_64/wcscmp.S: New file.
68657
68658 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68659 wcscmp-c wcscmp-sse2
68660 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68661 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68662 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68663 * wcsmbs/wcscmp.c: Allow renaming.
68664
68665 2011-09-05 David S. Miller <davem@davemloft.net>
68666
68667 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68668 stack slot, rather than the struct return pointer slot.
68669 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68670 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68672 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68673
68674 2011-09-05 Ulrich Drepper <drepper@gmail.com>
68675
68676 * po/ja.po: Update from translation team.
68677
68678 [BZ #13144]
68679 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68680 kernel in 64-bit binaries.
68681
68682 2011-09-01 David S. Miller <davem@davemloft.net>
68683
68684 * elf/elf.h (HWCAP_SPARC_*): Move to..
68685 * sysdeps/sparc/sysdep.h: this new file and add new values.
68686 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68687 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68688 _DL_HWCAP_COUNT to 24.
68689 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68690 entries.
68691 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68692 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68693 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68695 instead of magic constants.
68696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68697
68698 2011-08-31 David S. Miller <davem@davemloft.net>
68699
68700 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68702 Reimplement to do errno handling inline.
68703 (SYSCALL_ERROR_HANDLER): New macro.
68704 (__SYSCALL_STRING): Do not do errno handling in asm.
68705 (__CLONE_SYSCALL_STRING): Delete.
68706 (__INTERNAL_SYSCALL_STRING): Delete.
68707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68708 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68709 (PSEUDO): Reimplement to do errno handling inline.
68710 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68711 (SYSCALL_ERROR_HANDLER): New macro.
68712 (__SYSCALL_STRING): Do not do errno handling in asm.
68713 (__CLONE_SYSCALL_STRING): Delete.
68714 (__INTERNAL_SYSCALL_STRING): Delete.
68715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68716 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68717 i386.
68718 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68719 (inline_syscall*): Add 'err' argument.
68720 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68721 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68722 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68723 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68724
68725 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68726 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68727
68728 2011-08-30 Andreas Schwab <schwab@redhat.com>
68729
68730 * elf/rtld.c (dl_main): Relocate objects in dependency order.
68731
68732 2011-08-29 Jiri Olsa <jolsa@redhat.com>
68733
68734 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68735 directive.
68736
68737 2011-08-24 David S. Miller <davem@davemloft.net>
68738
68739 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68740
68741 2011-08-24 Andreas Schwab <schwab@redhat.com>
68742
68743 * elf/Makefile: Add rules to build and run unload8 test.
68744 * elf/unload8.c: New file.
68745 * elf/unload8mod1.c: New file.
68746 * elf/unload8mod1x.c: New file.
68747 * elf/unload8mod2.c: New file.
68748 * elf/unload8mod3.c: New file.
68749
68750 * elf/dl-close.c (_dl_close_worker): Reset private search list if
68751 it wasn't used.
68752
68753 2011-08-23 David S. Miller <davem@davemloft.net>
68754
68755 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68756 subtract stack bias.
68757 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68758 %sp not %fp in calculations.
68759 (_JMPBUF_UNWINDS_ADJ): Likewise.
68760
68761 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68762 (aio_suspend): Call it to force an exception region around the
68763 AIO_MISC_WAIT() invocation.
68764
68765 2011-08-23 Andreas Schwab <schwab@redhat.com>
68766
68767 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68768 backslash.
68769
68770 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
68771
68772 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68773 protection macro.
68774 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68775 and <dl-machine.h>.
68776 (Elf64_FuncDesc): Remove.
68777
68778 2011-08-22 David S. Miller <davem@davemloft.net>
68779
68780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68781 sigaltstack check, add missing cfi directives.
68782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68783 missing cfi directives, and sigaltstack handling.
68784
68785 2011-08-16 Andreas Schwab <schwab@redhat.com>
68786
68787 [BZ #11724]
68788 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68789 object is seen twice.
68790 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68791
68792 * elf/Makefile (distribute): Add tst-initorder2.c.
68793 (tests): Add tst-initorder2.
68794 (modules-names): Add tst-initorder2a tst-initorder2b
68795 tst-initorder2c tst-initorder2d. Add rules to build them.
68796 ($(objpfx)tst-initorder2.out): New rule.
68797 * elf/tst-initorder2.c: New file.
68798 * elf/tst-initorder2.exp: New file.
68799
68800 2011-08-22 Andreas Schwab <schwab@redhat.com>
68801
68802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68803
68804 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68805 dependencies back to end of function.
68806
68807 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68808 $(elfobjdir)/ld.so.
68809
68810 2011-08-21 Ulrich Drepper <drepper@gmail.com>
68811
68812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68813 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68814 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68815 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68816 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68817 of __vdso_gettimeofday.
68818 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68819 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
68820 attribute_hidden.
68821 (_libc_vdso_platform_setup): Remove initialization of
68822 __vdso_gettimeofday and __vdso_time.
68823
68824 2011-08-20 Ulrich Drepper <drepper@gmail.com>
68825
68826 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68827 and fgetc_unlocked.
68828 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68829 getc_unlocked.
68830
68831 * elf/dl-open.c (add_to_global): Report additions to the global scope
68832 for LD_DEBUG=scopes.
68833 (dl_open_worker): Also print scope of newly loaded dependencies.
68834 (_dl_show_scope): Indicate if there is no scope.
68835
68836 [BZ #13114]
68837 * stdio-common/Makefile (tests): Add bug24.
68838 * stdio-common/bug24.c: New file.
68839
68840 2011-08-19 Andreas Jaeger <aj@suse.de>
68841
68842 [BZ #13114]
68843 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68844 non-existant file when using close-on-exec mode.
68845
68846 2011-08-20 Ulrich Drepper <drepper@gmail.com>
68847
68848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68849 the very first instruction.
68850
68851 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68852 the CFI state in the end.
68853 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68854 inclusion of dl-trampoline.h.
68855 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68856
68857 2011-08-19 Andreas Schwab <schwab@redhat.com>
68858
68859 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68860 expectations for long double.
68861
68862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68863 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68864
68865 2011-08-14 David S. Miller <davem@davemloft.net>
68866
68867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68868 artificual limit depends upon the system page size.
68869
68870 2011-08-17 Ulrich Drepper <drepper@gmail.com>
68871
68872 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68873 * resolv/Makefile: Define CFLAGS-libresolv.
68874
68875 2011-08-17 Andreas Schwab <schwab@redhat.com>
68876
68877 * nss/makedb.c (compute_tables): Make variables used in nested
68878 function static.
68879
68880 2011-08-17 Ulrich Drepper <drepper@gmail.com>
68881
68882 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68883 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68884 if buffer was too small.
68885
68886 * elf/pldd.c (main): Attach to all threads in the process.
68887 Rewrite /proc handling to use *at functions.
68888
68889 2011-08-16 Ulrich Drepper <drepper@gmail.com>
68890
68891 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68892 specifies first scope to show.
68893 (dl_open_worker): Update callers. Move printing scope of new
68894 object to before the relocation.
68895 * elf/rtld.c (dl_main): Update _dl_show_scope call.
68896 * sysdeps/generic/ldsodefs.h: Update declaration.
68897
68898 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68899 string for the scope number.
68900
68901 2011-08-14 Ulrich Drepper <drepper@gmail.com>
68902
68903 * nscd/servicescache.c (cache_addserv): Make sure written is always
68904 initialized.
68905
68906 2011-08-14 Roland McGrath <roland@hack.frob.com>
68907
68908 * sysdeps/i386/i486/bits/atomic.h
68909 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68910 statement expression, so as to suppress "set but not used" warning.
68911 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68912
68913 * string/strncat.c (STRNCAT): Use prototype definition.
68914
68915 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68916 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68917 -Iprograms here.
68918 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68919 (localedef-modules): Add localedef.
68920 (locale-modules): Add locale.
68921
68922 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68923 * elf/rtld.c (dl_main): Invert order of assignment in last change,
68924 to avoid a warning.
68925
68926 2011-08-14 David S. Miller <davem@davemloft.net>
68927
68928 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68929 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68930
68931 2011-08-13 Ulrich Drepper <drepper@gmail.com>
68932
68933 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68934 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68935 * elf/rtld.c (dl_main): Set l_name of vDSO.
68936 Call _dl_show_scope when DL_DEBUG_SCOPES.
68937 (process_dl_debug): Recognize scopes flag and also set it for all.
68938 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68939 Declare _dl_show_scope.
68940
68941 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68942 (do_dlopen): Pass caller_dlopen to dl_open.
68943 (__libc_dlopen_mode): Initialize caller_dlopen.
68944
68945 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68946 of libc. Make tolower call locale-independent. Optimize a bit by
68947 using isdigit instead of isalnum.
68948 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68949
68950 2011-08-12 Ulrich Drepper <drepper@gmail.com>
68951
68952 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68953 was a dependency or dynamically loaded.
68954
68955 2011-08-11 Ulrich Drepper <drepper@gmail.com>
68956
68957 * intl/l10nflist.c: Allow architecture-specific pop function.
68958 * sysdeps/x86_64/l10nflist.c: New file.
68959
68960 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68961 classification.
68962
68963 2011-08-10 Andreas Schwab <schwab@redhat.com>
68964
68965 * include/dirent.h: Add libc_hidden_proto for scandirat and
68966 scandirat64. Don't declare __scandirat64.
68967 * dirent/scandirat.c: Add libc_hidden_def.
68968 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68969 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68970
68971 2011-08-10 David S. Miller <davem@davemloft.net>
68972
68973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68974 enum.
68975 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68976 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68977 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68978
68979 2011-08-09 Ulrich Drepper <drepper@gmail.com>
68980
68981 * Versions.def [libc]: Add GLIBC_2.15.
68982 * dirent/Makefile (routines): Add scandirat and scandirat64.
68983 * dirent/Versions [libc]: Export scandirat and scandirat64 for
68984 GLIBC_2.15.
68985 * dirent/dirent.h: Declare scandirat and scandirat64.
68986 * dirent/scandirat.c: New file.
68987 * dirent/scandirat64.c: New file.
68988 * sysdeps/wordsize-64/scandirat.c: New file.
68989 * sysdeps/wordsize-64/scandirat64.c: New file.
68990 * dirent/opendir.c: Define opendirat.
68991 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
68992 using scandirat.
68993 * dirent/scandir64.c: Adjust for scandir.c change.
68994 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
68995 __scandirat64, and __scandir_cancel_handler.
68996 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
68997 additional parameter and use openat instead of open (outside of ld.so).
68998 Add new __opendir as wrapper around __opendirat.
68999 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69000 here without requiring old scandirat implementation.
69001
69002 2011-08-08 Ulrich Drepper <drepper@gmail.com>
69003
69004 * dirent/scandir.c (cancel_handler): Renamed to
69005 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
69006 defined. Adjust users.
69007 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69009
69010 2011-08-04 Ulrich Drepper <drepper@gmail.com>
69011
69012 * string/test-string.h (IMPL): Use __STRING to expand name and then
69013 stringify it.
69014
69015 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
69016 of cleanups.
69017
69018 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69019
69020 * string/Makefile: Update.
69021 (strop-tests): Append strncat.
69022 * string/test-wcscmp.c: New file.
69023 New comprehensive test for wcscmp.
69024 * string/test-strcmp.c: Update.
69025 (WIDE): New define.
69026
69027 2011-07-22 Andreas Schwab <schwab@redhat.com>
69028
69029 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69030 line.
69031
69032 2011-07-26 Andreas Schwab <schwab@redhat.com>
69033
69034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69035 encoding to ACE if AI_IDN.
69036
69037 2011-08-01 Jakub Jelinek <jakub@redhat.com>
69038
69039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69040 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69041
69042 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69043
69044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69045 Fix overflow bug in strncat.
69046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69047
69048 * string/test-strncat.c: Update.
69049 Add new tests for checking overflow bugs.
69050
69051 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69052
69053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69054 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69055 * sysdeps/i386/i686/multiarch/strcat.S: New file.
69056 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69058 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69059 * sysdeps/i386/i686/multiarch/strncat.S: New file.
69060 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69061 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69062
69063 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69064 (USE_AS_STRCAT): Define.
69065 Add strcat and strncat support.
69066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69067
69068 2011-07-25 Andreas Schwab <schwab@redhat.com>
69069
69070 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69071 __n bigger than INT_MAX+1.
69072 (__strncmp_g): Likewise.
69073
69074 2011-07-23 Ulrich Drepper <drepper@gmail.com>
69075
69076 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69077 * libio/stido.h: Likewise.
69078
69079 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69080 (AF_NFC): Define.
69081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69082 (AF_NFC): Define.
69083
69084 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69085 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69086 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69089
69090 [BZ #13021]
69091 * scripts/test-installation.pl: Don't expect libnss_test1 to be
69092 installed.
69093
69094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69095 typo.
69096 (_dl_x86_64_save_sse): Likewise.
69097
69098 2011-07-22 Ulrich Drepper <drepper@gmail.com>
69099
69100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69101 OSXSAVE.
69102 (_dl_x86_64_save_sse): Likewise.
69103
69104 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69105
69106 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69107
69108 2011-07-21 Andreas Schwab <schwab@redhat.com>
69109
69110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69111 change.
69112 (_dl_x86_64_save_sse): Use correct AVX check.
69113
69114 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69115
69116 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69117 bug in strncpy/strncat.
69118 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69119
69120 2011-07-21 Ulrich Drepper <drepper@gmail.com>
69121
69122 * string/tester.c (test_strcat): Add tests for different alignments
69123 of source and destination.
69124 (test_strncat): Likewise.
69125
69126 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69127
69128 [BZ #12852]
69129 * posix/glob.c (glob): Check passed in values before using them in
69130 expressions to avoid some overflows.
69131 (glob_in_dir): Likewise.
69132
69133 [BZ #13007]
69134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69135 check for AVX enablement so that we don't crash with old kernels and
69136 new hardware.
69137 * elf/tst-audit4.c: Add same checks here.
69138 * elf/tst-audit6.c: Likewise.
69139
69140 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69141
69142 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
69143
69144 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69145
69146 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69147
69148 * po/cs.po: Update from translation team.
69149 * po/bg.po: Likewise.
69150
69151 2011-07-12 Marek Polacek <mpolacek@redhat.com>
69152
69153 * misc/sys/cdefs.h: Add support for const attribute.
69154 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69155 to gnu_dev_{major,minor,makedev} functions.
69156
69157 2011-07-20 Marek Polacek <mpolacek@redhat.com>
69158
69159 * intl/dcigettext.c (get_output_charset): Add missing bracket.
69160
69161 2011-07-20 Andreas Schwab <schwab@redhat.com>
69162
69163 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69164 strlen results.
69165
69166 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69167
69168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69169 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69170 register in order to avoid conflicts with the soft frame pointer
69171 being held in r11 when necessary.
69172 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69173 (INTERNAL_VSYSCALL_NCS): Likewise.
69174
69175 2011-07-14 Marek Polacek <mpolacek@redhat.com>
69176
69177 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69178 * elf/dl-fini.c (_dl_fini): Adjust caller.
69179 * elf/dl-close.c (_dl_close_worker): Likewise.
69180 * sysdeps/generic/ldsodefs.h: Adjust declaration.
69181
69182 2011-07-15 Marek Polacek <mpolacek@redhat.com>
69183
69184 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69185 "aux_cache->nlibs < 0".
69186
69187 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69188 in the reload-count case.
69189
69190 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69191
69192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69193 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69194 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69195 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69196 * sysdeps/x86_64/multiarch/strcat.S: New file.
69197 * sysdeps/x86_64/multiarch/strncat.S: New file.
69198 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69199 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69200 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69201 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69203 (USE_AS_STRCAT): Define.
69204 Add strcat and strncat support.
69205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69206 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69207 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69208 * string/strncat.c: Update.
69209 (USE_AS_STRNCAT): Define.
69210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69211 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69212 and i7.
69213 * sysdeps/x86_64/multiarch/init-arch.h
69214 (bit_Prefer_PMINUB_for_stringop): New.
69215 (index_Prefer_PMINUB_for_stringop): Likewise.
69216 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69217 bit_Prefer_PMINUB_for_stringop.
69218
69219 2011-07-19 Ulrich Drepper <drepper@gmail.com>
69220
69221 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69222 buffer64.
69223 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69224 of casting of buffer.
69225 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69226 buffer32 and buffer64.
69227 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69228 writes instead of casting of buffer.
69229 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69230 buffer32.
69231 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69232 casting of buffer.
69233
69234 2011-07-19 Andreas Schwab <schwab@redhat.com>
69235
69236 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69237
69238 2011-07-19 Ulrich Drepper <drepper@gmail.com>
69239
69240 * nscd/nscd.c (termination_handler): Don't do anything for a database
69241 if it has not yet been initialized.
69242
69243 2011-07-18 Ulrich Drepper <drepper@gmail.com>
69244
69245 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69246
69247 2011-07-15 Marek Polacek <mpolacek@redhat.com>
69248
69249 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69250
69251 2011-07-18 Ulrich Drepper <drepper@gmail.com>
69252
69253 * po/nl.po: Update from translation team.
69254 * po/sv.po: Likewise.
69255
69256 2011-07-16 Roland McGrath <roland@hack.frob.com>
69257
69258 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69259 now disallowed by GCC.
69260
69261 * configure.in (use-default-link): Default to yes if a test -shared
69262 link meets our qualifications.
69263 * configure: Regenerated.
69264
69265 * config.make.in (output-format): New variable.
69266 * configure.in: Check for ld --print-output-format support.
69267 * configure: Regenerated.
69268 * Makerules ($(common-objpfx)format.lds)
69269 [$(output-format) != unknown]: Just use $(output-format),
69270 instead of the linker-script munging.
69271
69272 2011-07-14 Roland McGrath <roland@hack.frob.com>
69273
69274 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69275 of $(common-objpfx)shlib.lds.
69276 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69277
69278 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69279 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69280
69281 * configure.in (-z relro check): Adjust test code to add a large
69282 writable data section after it.
69283 * configure: Regenerated.
69284
69285 2011-07-11 Roland McGrath <roland@hack.frob.com>
69286
69287 * configure.in (-z relro check): Fix test code to make the variable
69288 truly const.
69289 * configure: Regenerated.
69290
69291 2011-07-11 Ulrich Drepper <drepper@gmail.com>
69292
69293 * nscd/nscd.h (struct traced_file): Define.
69294 (struct database_dyn): Remove inotify_descr, reset_res, and filename
69295 elements. Add traced_files.
69296 (inotify_fd): Declare.
69297 (register_traced_file): Declare.
69298 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69299 (inotify_fd): Export.
69300 (resolv_conf_descr): Remove.
69301 (nscd_init): Move inotify descriptor creation to main.
69302 Don't register files for notification here.
69303 (register_traced_file): New function.
69304 (invalidate_cache): Don't use reset_res to determine whether to call
69305 res_init, go through the list of registered files.
69306 (main_loop_poll): The inotify descriptors are now stored in the
69307 structures for the traced files.
69308 (main_loop_epoll): Likewise.
69309 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
69310 to __nss_disable_nscd.
69311 * nscd/cache.c (prune_cache): There is no single inotify descriptor
69312 for a database anymore. Check the records for all the registered
69313 files instead.
69314 * nss/Makefile (libnss_files-routines): Add files-init.
69315 (libnss_db-routines): Add db-init.
69316 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69317 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69318 * nss/nss_db/db-init.c: New file.
69319 * nss/nss_files/files-init.c: New file.
69320 * nss/nsswitch.c (nss_load_library): New function. Broken out of
69321 __nss_lookup_function.
69322 (__nss_lookup_function): Call nss_load_library.
69323 (nss_load_all_libraries): New function.
69324 (__nss_disable_nscd): Take parameter with callback function for files
69325 to register. Set is_nscd. Load all the DSOs for the NSS modules
69326 used for the cached services.
69327 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69328 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69329 options for features to all the files in nscd.
69330
69331 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69332
69333 2011-07-10 Roland McGrath <roland@hack.frob.com>
69334
69335 * csu/elf-init.c (__libc_csu_init): Comment typo.
69336
69337 2011-07-09 Ulrich Drepper <drepper@gmail.com>
69338
69339 * po/pl.po: Update from translation team.
69340 * po/ja.po: Likewise.
69341 * po/ru.po: Likewise.
69342 * po/ko.po: Likewise.
69343 * po/fr.po: Likewise.
69344
69345 2011-07-09 Roland McGrath <roland@hack.frob.com>
69346
69347 * configure.in (.ctors/.dtors header and trailer check):
69348 Use an empirical test on a built program.
69349 * configure: Regenerated.
69350
69351 * configure.in (-z relro check): Use an empirical test on a built DSO.
69352 Detect, but do not require, on ia64.
69353 * configure: Regenerated.
69354
69355 * configure.in (READELF): Find it with AC_CHECK_TOOL.
69356 Update tests that use readelf to use $READELF instead.
69357 * configure: Regenerated.
69358
69359 2011-07-08 Ulrich Drepper <drepper@gmail.com>
69360
69361 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69362 if the result is not used.
69363
69364 2011-07-05 Andreas Jaeger <aj@suse.de>
69365
69366 [BZ#9696]
69367 * stdlib/tst-strtod.c: Add testcase.
69368
69369 2011-07-07 Ulrich Drepper <drepper@gmail.com>
69370
69371 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69372 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69373 The latter has a higher limit. Take additional parameter to pass to
69374 the new function.
69375 (__pathconf): Pass file to __statfs_link_max.
69376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69377 __statfs_link_max.
69378 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69379 __statfs_link_max.
69380
69381 [BZ #12868]
69382 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69383 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69384 Handle Lustre.
69385 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69386 (__statfs_filesize_max): Likewise.
69387 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69388
69389 2011-07-05 Andreas Jaeger <aj@suse.de>
69390
69391 * resolv/res_comp.c (dn_skipname): Remove unused variable.
69392
69393 2011-07-06 Marek Polacek <mpolacek@redhat.com>
69394
69395 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69396 `status' variable.
69397 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69398 Likewise.
69399
69400 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
69401
69402 * Makefile (strop-tests): Add strncat.
69403 * string/test-strncat.c: New file.
69404
69405 2011-06-30 Marek Polacek <mpolacek@redhat.com>
69406
69407 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69408
69409 2011-06-21 Andreas Jaeger <aj@suse.de>
69410
69411 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69412 Copy rule from iconvdata/Makefile.
69413
69414 2011-07-06 Ulrich Drepper <drepper@gmail.com>
69415
69416 [BZ #12922]
69417 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69418 but no long options are defined, just return 'W'.
69419
69420 2011-06-22 Marek Polacek <mpolacek@redhat.com>
69421
69422 [BZ #9696]
69423 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69424
69425 2011-07-06 Ulrich Drepper <drepper@gmail.com>
69426
69427 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69428 netgroups to read.
69429 (innetgr): Likewise.
69430
69431 2011-07-05 Roland McGrath <roland@hack.frob.com>
69432
69433 * config.make.in (install_root): Default to $(DESTDIR).
69434
69435 2011-07-05 Ulrich Drepper <drepper@gmail.com>
69436
69437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69438
69439 2011-07-02 Roland McGrath <roland@hack.frob.com>
69440
69441 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69442
69443 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69444 containing directory rather than embedding absolute directory names.
69445
69446 * scripts/check-local-headers.sh: Rewritten using awk.
69447 Match by word, not by line. Print error messages for matches.
69448 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69449
69450 * Makerules [shlib-lds-flags empty]:
69451 ($(common-objpfx)libc_pic.opts): New target.
69452 ($(common-objpfx)libc_pic.os.clean): New target.
69453 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69454
69455 * config.make.in (OBJCOPY): New variable.
69456 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69457 * configure: Regenerated.
69458
69459 * config.make.in (use-default-link): New variable.
69460 * configure.in (use_default_link): Grok --with-default-link to set it.
69461 * configure: Regenerated.
69462 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69463 (shlib-lds, shlib-lds-flags): Define to empty.
69464
69465 * Makerules (shlib-lds): New variable.
69466 (shlib-lds-flags): New variable.
69467 (build-shlib, build-moduile, build-module-asneeded): Use it.
69468 ($(common-objpfx)libc.so): Use $(shlib-lds).
69469 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69470 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69471
69472 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69473 DT_FLAGS/DT_FLAGS_1 with zero flags.
69474
69475 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69476 linker script munging.
69477
69478 2011-07-02 Ulrich Drepper <drepper@gmail.com>
69479
69480 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69481 as 128-bit value.
69482 * crypt/sha512.c (sha512_process_block): Perform total addition using
69483 128-bit if possible.
69484 (__sha512_finish_ctx): Likewise.
69485 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69486 as 64-bit value.
69487 * crypt/sha256.c (SWAP64): Define.
69488 (sha256_process_block): Perform total addition using 64-bit if
69489 possible.
69490 (__sha256_finish_ctx): Likewise.
69491
69492 2011-07-01 Ulrich Drepper <drepper@gmail.com>
69493
69494 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
69495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
69496 * nscd/hstcache.c (cache_addhst): Likewise.
69497 * nscd/grpcache.c (cache_addgr): Likewise.
69498 * nscd/aicache.c (addhstaiX): Likewise.
69499 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69500
69501 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
69502
69503 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
69505 * nscd/hstcache.c (cache_addhst): Likewise.
69506 * nscd/grpcache.c (cache_addgr): Likewise.
69507 * nscd/aicache.c (addhstaiX): Likewise.
69508
69509 2011-07-01 Andreas Schwab <schwab@redhat.com>
69510
69511 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69512 domain only when needed.
69513
69514 2011-06-30 Andreas Schwab <schwab@redhat.com>
69515
69516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69517 is always restored.
69518
69519 2011-06-29 Ulrich Drepper <drepper@gmail.com>
69520
69521 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69522 are re-adding the entry.
69523 * nscd/servicescache.c (cache_addserv): Likewise.
69524
69525 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
69526
69527 * sysdeps/generic/dl-irel.h: fix protection against multiple
69528 inclusions.
69529 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69530
69531 2011-06-28 Ulrich Drepper <drepper@gmail.com>
69532
69533 [BZ #12935]
69534 * malloc/memusage.sh: Fix quoting in message.
69535 * debug/xtrace.sh: Likewise.
69536
69537 * configure.in: Remove support for --experimental-malloc option, make
69538 it the default.
69539 * config.make.in: Likewise.
69540 * malloc/Makefile: Likewise.
69541
69542 2011-06-27 Andreas Schwab <schwab@redhat.com>
69543
69544 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69545 two-byte characters.
69546
69547 2011-06-27 Roland McGrath <roland@hack.frob.com>
69548
69549 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69550 AC_CACHE_CHECK invocation.
69551 * configure: Regenerated.
69552
69553 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69554
69555 2011-06-27 Ulrich Drepper <drepper@gmail.com>
69556
69557 [BZ #12350]
69558 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
69559 bit from old_res_options.
69560
69561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69562
69563 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69564 value type for setfct.
69565
69566 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
69567
69568 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69569 __gettimeofday instead of gettimeofday.
69570
69571 2011-06-26 Ulrich Drepper <drepper@gmail.com>
69572
69573 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69574
69575 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
69576
69577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69578
69579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69580 info.
69581
69582 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
69583
69584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69585 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69586 strcpy-sse2-unaligned strncpy-sse2-unaligned
69587 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69588 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69589 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69590 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69591 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69592 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69594 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69595 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69596 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69597 (STRCPY): Support SSE2 and SSSE3 versions.
69598
69599 2011-06-24 Ulrich Drepper <drepper@gmail.com>
69600
69601 [BZ #12874]
69602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69603 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69604 kernels which artificially limit size of requests.
69605
69606 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
69607
69608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69609 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69610 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69611 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69612 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69613 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69614 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69615 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69618 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69619 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69620 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69621 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69622 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69624 Enable unaligned load optimization for Intel Core i3, i5 and i7
69625 processors.
69626 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69627 Define.
69628 (index_Fast_Unaligned_Load): Define.
69629 (HAS_FAST_UNALIGNED_LOAD): Define.
69630
69631 2011-06-23 Marek Polacek <mpolacek@redhat.com>
69632
69633 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69634
69635 2011-06-22 Ulrich Drepper <drepper@gmail.com>
69636
69637 [BZ #12907]
69638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69639 until it is clear that the information is realy needed.
69640 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69641
69642 2011-06-22 Andreas Schwab <schwab@redhat.com>
69643
69644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69645
69646 2011-06-22 Ulrich Drepper <drepper@gmail.com>
69647
69648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69649 /sys/devices/system/cpu/online if it is usable.
69650
69651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69652 reading the information from the /proc filesystem to once a second.
69653
69654 2011-06-21 Andreas Jaeger <aj@suse.de>
69655
69656 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69657 NULL after inclusion of kernel headers.
69658
69659 2011-06-21 Ulrich Drepper <drepper@gmail.com>
69660
69661 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69662 calls to internal_setent.
69663
69664 [BZ #12885]
69665 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69666 addresses using gethostbyname4_r ignore IPv4 addresses.
69667
69668 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69669 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
69670
69671 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69672
69673 2011-06-20 David S. Miller <davem@davemloft.net>
69674
69675 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69676 inclusions.
69677 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69678
69679 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69680 (elf_irel): Use it.
69681 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69682 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69683 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69684 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69685 * sysdeps/x86_64/dl-irel.h: Likewise.
69686
69687 * elf/dl-runtime.c: Use elf_ifunc_invoke.
69688 * elf/dl-sym.c: Likewise.
69689
69690 2011-06-15 Ulrich Drepper <drepper@gmail.com>
69691
69692 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
69693 need to dereference resplen2.
69694
69695 2011-06-14 Andreas Schwab <schwab@redhat.com>
69696
69697 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69698
69699 2011-06-15 Ulrich Drepper <drepper@gmail.com>
69700
69701 * Makeconfig: Define vardbdir and inst_vardbdir.
69702 * nss/Makefile: Add rules to install db-Makefile.
69703
69704 * nss/nss_db/db-XXX.c: Cleanup.
69705
69706 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69707 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69708 GLIBC_PRIVATE.
69709 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69710 * nss/makedb.c: Implement -g option to specify that value strings
69711 are generated and should not be added to table iterated over for
69712 get*ent calls.
69713 * nss/nss_db/db-initgroups.c: New file.
69714
69715 * nss/getent.c: Add support for initgroups lookups through getgrouplist
69716 interface.
69717
69718 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69719 (internal_getgrouplist): Adjust to name change.
69720 Update use_initgroups_entry if this is not the first call.
69721 * nss/databases.def: Add initgroups entry.
69722
69723 * nss/makedb.c (compute_tables): Check result of multiple hash table
69724 sizes to minimize maximum chain length.
69725
69726 2011-06-14 Ulrich Drepper <drepper@gmail.com>
69727
69728 * Versions.def: Add entry for libnss_db.
69729 * shlib-versions: Likewise.
69730 * nss/Makefile: Add rules to build libnss_db.
69731 * nss/Versions: Add libnss_db information. Organize libnss_files
69732 entries better.
69733 * nss/db-Makefile: Add gshadow support. Change rules for the new
69734 makedb progra. Some minor improvements to generate smaller files.
69735 * nss/nss_db/nss_db.h: Move NSS database header data structures to
69736 here from...
69737 * nss/makedb.c: ...here.
69738 Improve database format to be smaller and require less memory at
69739 runtime.
69740 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
69741 db anymore.
69742 * nss/nss_db/db-netgrp.c: Likewise.
69743 * nss/nss_db/db-open.c: Likewise.
69744 * nss/nss_files/flies-XXX.x: Adjust comments.
69745 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69746 * nss/nss_files/files-grp.c: Likewise.
69747 * nss/nss_files/files-hosts.c: Likewise.
69748 * nss/nss_files/files-network.c: Likewise.
69749 * nss/nss_files/files-proto.c: Likewise.
69750 * nss/nss_files/files-pwd.c: Likewise.
69751 * nss/nss_files/files-rpc.c: Likewise.
69752 * nss/nss_files/files-service.c: Likewise.
69753 * nss/nss_files/files-sgrp.c: Likewise.
69754 * nss/nss_files/files-spwd.c: Likewise.
69755 * nss/nss_db/db-alias.c: Removed.
69756 * nss/nss_db/dummy-db.h: Removed.
69757
69758 2011-06-02 Ulrich Drepper <drepper@gmail.com>
69759
69760 * nss/makedb.c: Rewritten to not use database library.
69761 * nss/Makefile: Update to build new makedb program.
69762
69763 2011-06-14 Andreas Jaeger <aj@suse.de>
69764
69765 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69766 memset declaration.
69767
69768 2011-06-10 Andreas Schwab <schwab@redhat.com>
69769
69770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69771 tmpbuf.
69772
69773 2011-06-10 Roland McGrath <roland@hack.frob.com>
69774
69775 * Makerules (shlib.lds): Fail if the linker script comes out empty.
69776 * elf/Makefile ($(objpfx)ld.so): Likewise.
69777
69778 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69779 Don't list ld.so twice in dependencies.
69780
69781 * posix/bug-regex31.c: Include <stdlib.h>.
69782
69783 * nscd/hstcache.c (cache_addhst): Remove unused variable.
69784
69785 * nis/nss_compat/compat-spwd.c
69786 (getspent_next_nss_netgr): Remove unused variable.
69787 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69788
69789 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69790 nonmembers" output to use the right array.
69791
69792 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69793
69794 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69795
69796 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69797 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69798 * catgets/gencat.c (read_input_file): Likewise.
69799 * locale/programs/locarchive.c (enlarge_archive): Likewise.
69800
69801 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69802 variable definition inside #if's controlling its use.
69803
69804 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69805
69806 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69807
69808 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69809
69810 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69811 unreachable code.
69812
69813 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69814
69815 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69816 * configure: Regenerated.
69817
69818 * Makerules: Revert last change.
69819 * elf/Makefile: Likewise.
69820
69821 2011-06-09 Roland McGrath <roland@hack.frob.com>
69822
69823 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69824 * elf/Makefile ($(objpfx)librtld.os): Likewise.
69825 (reloc-link): Likewise.
69826
69827 2011-06-09 Ulrich Drepper <drepper@gmail.com>
69828
69829 * elf/Makefile: Add rules to build pldd.
69830 * elf/pldd.c: New file.
69831 * elf/pldd-xx.c: New file.
69832
69833 2011-06-07 Ulrich Drepper <drepper@gmail.com>
69834
69835 * version.h: Update for 2.15 development version.
69836
69837 2011-06-07 David S. Miller <davem@davemloft.net>
69838
69839 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69840 ifuncs.
69841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69842 elf_machine_lazy_rel): Likewise.
69843 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69845 elf_machine_lazy_rel): Likewise.
69846 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69847 dl_hwcap via passed in argument.
69848 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69849 Likewise.
69850
69851 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69852
69853 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
69854
69855 2011-06-06 Roland McGrath <roland@hack.frob.com>
69856
69857 [BZ #12849]
69858 * manual/fdl-1.1.texi: New file, verbatim from:
69859 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69860 * manual/lgpl-2.1.texi: New file, verbatim from:
69861 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69862 * manual/Makefile (licenses): New variable, list those new file names.
69863 (texis): Use it.
69864 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69865
69866 * manual/fdl.texi: File removed.
69867 * manual/lesser.texi: File removed.
69868 * manual/libc.texinfo (Copying, Documentation License):
69869 Use new @include file names, put @appendix directive before @include.
69870
69871 2011-06-04 Jakub Jelinek <jakub@redhat.com>
69872
69873 [BZ #12841]
69874 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69875 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69876 (mq_open): Add __NTH.
69877
69878 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
69879
69880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69881 Assume Intel Core i3/i5/i7 processor if AVX is available.
69882
69883 2011-05-31 Ulrich Drepper <drepper@gmail.com>
69884
69885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69886 typo.
69887
69888 2011-05-31 Andreas Schwab <schwab@redhat.com>
69889
69890 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69891 memory. Use alloca_account. Fix memory leak when retrying.
69892
69893 2011-05-31 Ulrich Drepper <drepper@gmail.com>
69894
69895 * version.h (RELEASE): Bump for 2.14 release.
69896 * include/features.h (__GLIBC_MINOR__): Bump to 14.
69897
69898 * config.make.in (RANLIB): Remove entry.
69899
69900 2011-05-30 Ulrich Drepper <drepper@gmail.com>
69901
69902 * po/Makefile (po-sed-cmd): Add ksh to extensions.
69903 (libc.pot): Work around missing support for .ksh extension in xgettext.
69904
69905 [BZ #12684]
69906 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69907 if both request failed.
69908 (send_dg): In case of server errors clear resplen or *resplen2.
69909
69910 [BZ #12454]
69911 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69912 when there are multiple maps.
69913 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69914 (_dl_fini): Remove test here.
69915
69916 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69917
69918 2011-05-29 Ulrich Drepper <drepper@gmail.com>
69919
69920 [BZ #12350]
69921 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69922 bit from old_res_options.
69923 (gaih_inet): Likewise.
69924
69925 [BZ #11099]
69926 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69927 as signed.
69928
69929 * resolv/res_init.c (res_setoptions): Make the code more compact.
69930
69931 [BZ #11558]
69932 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69933 set RES_USEVC.
69934
69935 [BZ #11634]
69936 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69937
69938 * malloc/malloc.h: Mark malloc hook variables as deprecated.
69939
69940 [BZ #11781]
69941 * malloc/malloc.h: Declare malloc hook variables as volatile.
69942
69943 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69944 in last patch.
69945
69946 [BZ #11799]
69947 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69948 raise in the comment.
69949 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69950 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69951 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69952
69953 2011-05-28 Ulrich Drepper <drepper@gmail.com>
69954
69955 [BZ #12811]
69956 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69957 grow the buffers more if it already has to be sufficient.
69958 (build_wcs_upper_buffer): Likewise.
69959 * posix/regexec.c (check_matching): Likewise.
69960 (clean_state_log_if_needed): Likewise.
69961 (extend_buffers): Don't enlarge buffers beyond size of the input
69962 buffer.
69963 Patches mostly by Emil Wojak <emil@wojak.eu>.
69964 * posix/bug-regex32.c: New file.
69965 * posix/Makefile (tests): Add bug-regex32.
69966
69967 * locale/findlocale.c (_nl_find_locale): Return right away if
69968 _nl_explode_name failed.
69969 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69970
69971 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69972
69973 * debug/xtrace.sh: Unify messages.
69974 * malloc/memusage.sh: Likewise.
69975
69976 [BZ #12813]
69977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69978 time symbol from vDSO. Substitute with vsyscall if not available.
69979 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69980 __vdso_time.
69981
69982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69983 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69984 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69985 Add sendmmsg and internal_sendmmsg.
69986 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69987 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69989
69990 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69991 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69992 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69993
69994 2011-05-27 Ulrich Drepper <drepper@gmail.com>
69995
69996 [BZ #12813]
69997 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69998 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
69999 available.
70000 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70001 __vdso_getcpu.
70002
70003 [BZ #12814]
70004 * iconvdata/Makefile (tests): Add bug-iconv9.
70005 * iconvdata/bug-iconv9.c: New file.
70006
70007 2011-05-27 Andreas Schwab <schwab@redhat.com>
70008
70009 [BZ #12814]
70010 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70011
70012 2011-05-25 Jakub Jelinek <jakub@redhat.com>
70013
70014 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70015 (struct user_regs_struct): Change intcs field back to cs.
70016
70017 2011-05-25 Ulrich Drepper <drepper@gmail.com>
70018
70019 * po/ja.po: Update from translation team.
70020
70021 2011-05-23 Ulrich Drepper <drepper@gmail.com>
70022
70023 [BZ #12795]
70024 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70025 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70026
70027 2011-05-20 Andreas Schwab <schwab@redhat.com>
70028
70029 * stdlib/longlong.h: Update from GCC.
70030
70031 2011-05-23 Andreas Schwab <schwab@redhat.com>
70032
70033 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70034 parameter name.
70035 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70036 Add parameter name.
70037 (__sysconf): Pass it down.
70038
70039 2011-05-22 Ulrich Drepper <drepper@gmail.com>
70040
70041 [BZ #12671]
70042 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70043 some situations.
70044 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70045 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70046 add in in __libc_use_alloca calls. Adjust callers.
70047 (glob): Use malloc in some situations.
70048
70049 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70050 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70051 pltexit.
70052
70053 2011-05-21 Ulrich Drepper <drepper@gmail.com>
70054
70055 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70056 and CLOCK_BOOTTIME_ALARM.
70057
70058 [BZ #12782]
70059 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70060 is returned.
70061
70062 * string/_strerror.c (__strerror_r): Print negative errors as signed
70063 numbers.
70064
70065 [BZ #12777]
70066 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70067 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70068 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70069
70070 * configure.in: Fix typo in redirection and correct removal of test
70071 files in two cases.
70072
70073 [BZ #12788]
70074 * locale/setlocale.c (new_composite_name): Fix test to check for
70075 identical name of all categories.
70076
70077 [BZ #12792]
70078 * libio/filedoalloc.c (local_isatty): New function.
70079 (_IO_file_doallocate): Use local_isatty.
70080 * stdio-common/perror.c (perror): In case a new stream is used
70081 forward the stream error.
70082 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70083 error flag.
70084
70085 2011-05-20 Ulrich Drepper <drepper@gmail.com>
70086
70087 [BZ #11884]
70088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70089 alloca.
70090 * include/alloca.h (extend_alloca_account): Define.
70091
70092 [BZ #11857]
70093 * posix/regex.h: Fix comments with documentation of user-accessible
70094 fields after compilation and describe correct free'ing of pattern
70095 after re_compile_pattern.
70096 Patch by Reuben Thomas <rrt@sc3d.org>.
70097
70098 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
70099
70100 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70101 and -mno-altivec to prevent the compiler from using Altivec and/or
70102 VSX instructions when the corresponding registers are not available.
70103
70104 2011-05-19 Andreas Schwab <schwab@redhat.com>
70105
70106 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70107
70108 2011-05-19 Ulrich Drepper <drepper@gmail.com>
70109
70110 * libio/freopen.c (freopen): Use __dup2, not dup2.
70111 * libio/freopen64.c (freopen64): Likewise.
70112
70113 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
70114
70115 [BZ #12775]
70116 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70117 * math/Makefile (tests): Add test-powl.
70118 (CFLAGS-test-powl.c): Define.
70119 * math/test-powl.c: New file.
70120
70121 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
70122
70123 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70124
70125 2011-05-17 Ulrich Drepper <drepper@gmail.com>
70126
70127 [BZ #11837]
70128 * iconvdata/gb18030.c: Update to GB18020-2005.
70129
70130 2011-05-16 Ulrich Drepper <drepper@gmail.com>
70131
70132 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70133 RE_SYNTAX_POSIX_AWK): Update to match recent development.
70134 Patch by Aharon Robbins <arnold@skeeve.com>.
70135
70136 [BZ #11892]
70137 * stdlib/putenv.c (putenv): Don't always create copy of the variable
70138 on the stack.
70139
70140 [BZ #11895]
70141 * misc/pselect.c (__pselect): Handle timeout value errors hidden
70142 through underflows.
70143
70144 [BZ #12766]
70145 * misc/error.c (error_at_line): Ensure file_name and old_file_name
70146 point to strings before performing equality test for error_one_per_line
70147 mode.
70148
70149 [BZ #11697]
70150 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70151
70152 [BZ #11820]
70153 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70154 (struct user_fpregs_struct): Avoid __uint*_t types.
70155
70156 [BZ #6420]
70157 * malloc/mtrace.c (tr_where): Add additional parameter to point to
70158 symbol info. Use it instead of calling _dl_addr locally.
70159 (lock_and_info): New function.
70160 (tr_freehook): Call lock_and_info and pass symbol info as additional
70161 parameter to tr_where.
70162 (tr_mallochook): Likewise.
70163 (tr_reallochook): Likewise.
70164 (tr_memalignhook): Likewise.
70165
70166 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
70167 used and couldn't be at all thread-safe.
70168
70169 2011-05-15 Ulrich Drepper <drepper@gmail.com>
70170
70171 * libio/freopen.c (freopen): Don't close old file descriptor
70172 before the new one is opened. Instead dup the new file descriptor
70173 to the old one after the new stream is created.
70174 * libio/freopen64.c (freopen64): Likewise.
70175 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70176 * libio/fileops.c (_IO_new_file_close_it): Handle new
70177 _IO_FLAGS2_NOCLOSE flag.
70178 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70179 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70180 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70181 _IO_FLAGS2_NOCLOSE flag.
70182 * include/unistd.h: Add hidden_proto for dup3.
70183 Define __have_dup3.
70184 * io/dup3.c: Define hidden symbol.
70185 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70186
70187 [BZ #7101]
70188 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70189 when an incomplete long option is used.
70190 * posix/tst-getopt_long1.c: New file.
70191 * posix/Makefile (tests): Add tst-getopt_long1.
70192
70193 [BZ #10138]
70194 * scripts/config.guess: Update from autoconf-2.68.
70195 * scripts/config.sub: Likewise.
70196
70197 [BZ #10157]
70198 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70199 tests into ...
70200 (has_cpuclock): ...this. New function.
70201 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70202 macro here based on has_cpuclock code.
70203
70204 [BZ #10149]
70205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70206 First byte (not low byte) is now always NUL.
70207 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70208
70209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70210 Use non-cancelable interfaces.
70211
70212 [BZ #9809]
70213 * locale/iso-639.def: Add entry for Sorani.
70214
70215 [BZ #11901]
70216 * include/stdlib.h: Move include protection to the right place.
70217 Define abort_msg_s. Declare __abort_msg with it.
70218 * stdlib/abort.c (__abort_msg): Adjust type.
70219 * assert/assert.c (__assert_fail_base): New function. Majority
70220 of code from __assert_fail. Allocate memory for __abort_msg with
70221 mmap.
70222 (__assert_fail): Now call __assert_fail_base.
70223 * assert/assert-perr.c: Remove bulk of implementation. Use
70224 __assert_fail_base.
70225 * include/assert.hL Declare __assert_fail_base.
70226 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70227 mmap.
70228 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70229
70230 2011-05-14 Ulrich Drepper <drepper@gmail.com>
70231
70232 [BZ #11952]
70233 [BZ #12453]
70234 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70235 until all modules are registered in the DTV.
70236 * elf/Makefile: Add rules to build and run tst-tls19.
70237 * elf/tst-tls19.c: New file.
70238 * elf/tst-tls19mod1.c: New file.
70239 * elf/tst-tls19mod2.c: New file.
70240 * elf/tst-tls19mod3.c: New file.
70241 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70242
70243 [BZ #12083]
70244 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70245 correctly.
70246
70247 [BZ #12601]
70248 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70249 two-byte sequence errors.
70250 * iconvdata/Makefile (tests): Add bug-iconv8.
70251 * iconvdata/bug-iconv8.c: New file.
70252
70253 [BZ #12626]
70254 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70255 buf2 definition.
70256
70257 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70258
70259 [BZ #12432]
70260 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70261 (dummy_getcfa): New function.
70262 (init): Get _Unwind_GetCFA address, use dummy if not found.
70263 (backtrace_helper): In recursion check, also check whether CFA changes.
70264 (__backtrace): Completely initialize arg.
70265
70266 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70267 storing incomplete byte sequence in state object. Avoid testing for
70268 guaranteed too small input if we know there is enough data available.
70269
70270 2011-05-11 Andreas Schwab <schwab@redhat.com>
70271
70272 * Makeconfig (+link-pie): Indent.
70273 * Rules (binaries-pie): Define if $(have-fpie) and
70274 $(build-shared).
70275 (binaries-shared): Also filter out $(binaries-pie).
70276 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70277 * nscd/Makefile (others-pie): Add nscd.
70278 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70279 ($(objpfx)nscd): Remove command override.
70280 * login/Makefile (others-pie): Add pt_chown.
70281 ($(objpfx)pt_chown): Remove command override.
70282 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70283 remove command overrides.
70284
70285 2011-05-13 Ulrich Drepper <drepper@gmail.com>
70286
70287 * libio/tst_putwc.c: Fix error messages.
70288
70289 [BZ #12724]
70290 * libio/fileops.c (_IO_new_file_close_it): Always flush when
70291 currently writing and seek to current position when not.
70292 * libio/Makefile (tests): Add bug-fclose1.
70293 * libio/bug-fclose1.c: New file.
70294
70295 2011-05-12 Ulrich Drepper <drepper@gmail.com>
70296
70297 [BZ #12511]
70298 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70299 don't set DF_1_NODELETE here.
70300 (do_lookup_x): When entering new entry test for copy relocation
70301 and if necessary set DF_1_NODELETE flag.
70302 * elf/tst-unique4.cc: New file.
70303 * elf/tst-unique4.h: New file.
70304 * elf/tst-unique4lib.cc: New file.
70305 * elf/Makefile: Add rules to build and run tst-unique4.
70306 Patch by Piotr Bury <pbury@goahead.com>.
70307
70308 2011-05-11 Ulrich Drepper <drepper@gmail.com>
70309
70310 [BZ #12052]
70311 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70312
70313 [BZ #12625]
70314 * misc/mntent_r.c (addmntent): Flush the stream after the output
70315
70316 [BZ #12393]
70317 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70318 (is_trusted_path_normalize): Skip initial colon. Append slash
70319 to empty buffer. Duplicate is_trusted_path code but allow
70320 constructed patch to be prefix.
70321 (is_dst): Allow $ORIGIN followed by /.
70322 (_dl_dst_substitute): Correct clearing of check_for_trusted.
70323 Correct testing of result of is_trusted_path_normalize
70324 (decompose_rpath): Fix warning.
70325
70326 2011-05-10 Ulrich Drepper <drepper@gmail.com>
70327
70328 [BZ #11257]
70329 * grp/initgroups.c (internal_getgrouplist): When we found the service
70330 list through the initgroups entry in nsswitch.conf do not always
70331 continue on a successful lookup. Don't always use the
70332 __nss_group_database value if it is set.
70333 * nss/nsswitch.conf (initgroups): Change action for successful db
70334 lookup to continue for compatibility.
70335
70336 2011-05-09 Ulrich Drepper <drepper@gmail.com>
70337
70338 [BZ #11532]
70339 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70340 and CP774 modules.
70341 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70342 and CP774 modules.
70343 * iconvdata/tst-tables.sh: Likewise.
70344 * iconvdata/cp770.c: New file.
70345 * iconvdata/cp771.c: New file.
70346 * iconvdata/cp772.c: New file.
70347 * iconvdata/cp773.c: New file.
70348 * iconvdata/cp774.c: New file.
70349 * iconvdata/testdata/CP770: New file.
70350 * iconvdata/testdata/CP770..UTF8: New file.
70351 * iconvdata/testdata/CP771: New file.
70352 * iconvdata/testdata/CP771..UTF8: New file.
70353 * iconvdata/testdata/CP772: New file.
70354 * iconvdata/testdata/CP772..UTF8: New file.
70355 * iconvdata/testdata/CP773: New file.
70356 * iconvdata/testdata/CP773..UTF8: New file.
70357 * iconvdata/testdata/CP774: New file.
70358 * iconvdata/testdata/CP774..UTF8: New file.
70359
70360 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70361 END CHARMAP line.
70362 * iconvdata/gen-8bit-gap.sh: Likewise.
70363 * iconvdata/gen-8bit.sh: Likewise.
70364
70365 * locale/iso-639.def: Add ary entry.
70366
70367 [BZ #11258]
70368 * locale/C-translit.h.in: Add U20A1 transliteration.
70369
70370 [BZ #12178]
70371 * locale/iso-639.def: Add wae entry.
70372 Patch by Kevin Bortis <bortis@translate-wae.ch>.
70373
70374 [BZ #12545]
70375 * locale/programs/localedef.c (construct_output_path): Use ssize_t
70376 for n.
70377
70378 [BZ #12711]
70379 * locale/C-translit.h.in: Add entry for U20B9.
70380 Patch by pravin.d.s@gmail.com.
70381
70382 2011-05-08 Ulrich Drepper <drepper@gmail.com>
70383
70384 [BZ #12713]
70385 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70386 ENAMETOOLONG use generic getcwd.
70387 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
70388 in rtld. Use *stat64.
70389 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70390 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70391 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70392 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70393 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70394 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70395 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70396 __fstatat64 macros.
70397 * include/dirent.h: Add libc_hidden_proto for rewinddir.
70398 * dirent/rewinddir.c: Add libc_hidden_def.
70399 * sysdeps/mach/hurd/rewinddir.c: Likewise.
70400 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
70401
70402 * include/dirent.h (__alloc_dir): Add flags parameter.
70403 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70404 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70405 __alloc_dir.
70406 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
70407 from fdopendir if O_CLOEXEC is already set.
70408
70409 2011-03-15 Alan Modra <amodra@gmail.com>
70410
70411 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70412 l_tls_firstbyte_offset non-zero. Save padding offset in
70413 l_tls_firstbyte_offset for later use.
70414 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70415 freeing static tls block.
70416
70417 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
70418
70419 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70420 where #ifdef was intended. The intent is to prevent ARG_MAX from
70421 being defined by the kernel headers.
70422
70423 2011-05-07 Ulrich Drepper <drepper@gmail.com>
70424
70425 [BZ #12734]
70426 * resolv/resolv.h: Define RES_NOTLDQUERY.
70427 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70428 no-tld-query and set RES_NOTLDQUERY.
70429 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70430 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70431 modern BIND to search name as TLD unless forbidden.
70432
70433 2011-05-07 Petr Baudis <pasky@suse.cz>
70434 Ulrich Drepper <drepper@gmail.com>
70435
70436 [BZ #12393]
70437 * elf/dl-load.c (fillin_rpath): Move trusted path check...
70438 (is_trusted_path): ...to here.
70439 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70440 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70441 using is_trusted_path_normalize() in setuid scripts.
70442
70443 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
70444
70445 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70446 __BEGIN/__END_DECLS.
70447
70448 2011-05-06 Ulrich Drepper <drepper@gmail.com>
70449
70450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70451 NSS_STATUS_NOTFOUND if no record was found.
70452
70453 2011-05-05 Andreas Schwab <schwab@redhat.com>
70454
70455 * sunrpc/Makefile (headers): Add rpc/netdb.h.
70456 (headers-not-in-tirpc): Remove rpc/netdb.h
70457 * resolv/netdb.h: Revert last change.
70458
70459 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70460
70461 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70462 circular dependency between libgcc.a and libc.a.
70463
70464 2011-05-05 Andreas Schwab <schwab@redhat.com>
70465
70466 * resolv/netdb.h: Don't include <rpc/netdb.h>.
70467 * nis/Makefile: Don't install rpcsvc/*.
70468 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70469 instead of <rpc/types.h>.
70470 (MAXHOSTNAMELEN): Define.
70471
70472 2011-05-03 Andreas Schwab <schwab@redhat.com>
70473
70474 * elf/ldconfig.c (add_dir): Don't crash on empty path.
70475
70476 2011-04-28 Maciej Babinski <mbabinski@google.com>
70477
70478 [BZ #12714]
70479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70480 gethostbyname4_r when IPv6 results are possible.
70481
70482 2011-05-02 Ulrich Drepper <drepper@gmail.com>
70483
70484 [BZ #12723]
70485 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70486 _PC_PIPE_BUF handling.
70487
70488 2011-04-30 Bruno Haible <bruno@clisp.org>
70489
70490 [BZ #12717]
70491 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70492 * resolv/netdb.h (getnameinfo): Change type of flags parameter
70493 to 'int'.
70494 * inet/getnameinfo.c (getnameinfo): Likewise.
70495
70496 2011-04-29 Ulrich Drepper <drepper@gmail.com>
70497
70498 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70499 to groups setting in database lookup.
70500 * nss/nsswitch.conf: Add initgroups entry.
70501
70502 2011-04-22 Ulrich Drepper <drepper@gmail.com>
70503
70504 [BZ #12685]
70505 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70506 mode string.
70507 Patch by Eric Blake <eblake@redhat.com>.
70508
70509 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
70510
70511 * sunrpc/Makefile (need-export-routines): Add svc_run.
70512 (routines): Remove svc_run.
70513 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70514 * sunrpc/clnt_perr.c (clnt_perrno): Export.
70515 * sunrpc/svc_run.c (svc_run): Likewise.
70516 * sunrpc/svc_udp.c (svcudp_create): Likewise.
70517
70518 2011-04-21 Ulrich Drepper <drepper@gmail.com>
70519
70520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70521 problem in reallocation in last patch.
70522
70523 2011-04-20 Ulrich Drepper <drepper@gmail.com>
70524
70525 * sunrpc/Makefile: Move inclusion of Rules.
70526
70527 2011-04-19 Ulrich Drepper <drepper@gmail.com>
70528
70529 * nss/nss_files/files-initgroups.c: New file.
70530 * nss/Makefile (libnss_files-routines): Add files-initgroups.
70531 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70532 _nss_files_initgroups_dyn.
70533
70534 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
70535
70536 * elf/elf.h (R_ARM_IRELATIVE): Define.
70537
70538 2011-04-19 Ulrich Drepper <drepper@gmail.com>
70539
70540 * po/ru.po: Update from translation team.
70541
70542 2011-04-17 Ulrich Drepper <drepper@gmail.com>
70543
70544 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70545 dependencies.
70546
70547 2011-02-06 Mike Frysinger <vapier@gentoo.org>
70548
70549 [BZ #12653]
70550 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70551 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70555
70556 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
70557
70558 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70559 differing bytes.
70560 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70563
70564 2011-04-17 Ulrich Drepper <drepper@gmail.com>
70565
70566 [BZ #12420]
70567 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70568 storing it.
70569 * stdlib/bug-getcontext.c: New file.
70570 * stdlib/Makefile: Add rules to build and run bug-getcontext.
70571
70572 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70573
70574 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70575 instructions into .machine "z9-109".
70576 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70577 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70578
70579 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70580
70581 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70582 between environment variables and auxiliary vector.
70583
70584 2011-04-16 Ulrich Drepper <drepper@gmail.com>
70585
70586 * Makefile: Add rules to build linkobj/libc.so.
70587 * include/libc-symbols.h: Define libc_hidden_nolink.
70588 * include/rpc/auth.h: Mark functions which are to be hidden.
70589 * include/rpc/auth_des.h: Likewise.
70590 * include/rpc/auth_unix.h: Likewise.
70591 * include/rpc/clnt.h: Likewise.
70592 * include/rpc/des_crypt.h: Likewise.
70593 * include/rpc/key_prot.h: Likewise.
70594 * include/rpc/pmap_clnt.h: Likewise.
70595 * include/rpc/pmap_prot.h: Likewise.
70596 * include/rpc/pmap_rmt.h: Likewise.
70597 * include/rpc/rpc_msg.h: Likewise.
70598 * include/rpc/svc.h: Likewise.
70599 * include/rpc/svc_auth.h: Likewise.
70600 * include/rpc/xdr.h: Likewise.
70601 * nis/Makefile: Link all DSOs against linkobj/libc.so.
70602 * nss/Makefile: Likewise.
70603 * sunrpc/Makefile: Don't install headers. Build library with normal
70604 entry points. Don't build rpcinfo. Link RPC tests appropriately.
70605 * sunrpc/auth_des.c: Hide exported symbols by default, export some
70606 for the compat linking library. Remove use of INTDEF/INTUSE.
70607 * sunrpc/auth_none.c: Likewise.
70608 * sunrpc/auth_unix.c: Likewise.
70609 * sunrpc/authdes_prot.c: Likewise.
70610 * sunrpc/authuxprot.c: Likewise.
70611 * sunrpc/clnt_gen.c: Likewise.
70612 * sunrpc/clnt_perr.c: Likewise.
70613 * sunrpc/clnt_raw.c: Likewise.
70614 * sunrpc/clnt_simp.c: Likewise.
70615 * sunrpc/clnt_tcp.c: Likewise.
70616 * sunrpc/clnt_udp.c: Likewise.
70617 * sunrpc/clnt_unix.c: Likewise.
70618 * sunrpc/des_crypt.c: Likewise.
70619 * sunrpc/des_soft.c: Likewise.
70620 * sunrpc/get_myaddr.c: Likewise.
70621 * sunrpc/key_call.c: Likewise.
70622 * sunrpc/key_prot.c: Likewise.
70623 * sunrpc/netname.c: Likewise.
70624 * sunrpc/pm_getmaps.c: Likewise.
70625 * sunrpc/pm_getport.c: Likewise.
70626 * sunrpc/pmap_clnt.c: Likewise.
70627 * sunrpc/pmap_prot.c: Likewise.
70628 * sunrpc/pmap_prot2.c: Likewise.
70629 * sunrpc/pmap_rmt.c: Likewise.
70630 * sunrpc/publickey.c: Likewise.
70631 * sunrpc/rpc_cmsg.c: Likewise.
70632 * sunrpc/rpc_common.c: Likewise.
70633 * sunrpc/rpc_dtable.c: Likewise.
70634 * sunrpc/rpc_prot.c: Likewise.
70635 * sunrpc/rpc_thread.c: Likewise.
70636 * sunrpc/rtime.c: Likewise.
70637 * sunrpc/svc.c: Likewise.
70638 * sunrpc/svc_auth.c: Likewise.
70639 * sunrpc/svc_authux.c: Likewise.
70640 * sunrpc/svc_raw.c: Likewise.
70641 * sunrpc/svc_run.c: Likewise.
70642 * sunrpc/svc_simple.c: Likewise.
70643 * sunrpc/svc_tcp.c: Likewise.
70644 * sunrpc/svc_udp.c: Likewise.
70645 * sunrpc/svc_unix.c: Likewise.
70646 * sunrpc/svcauth_des.c: Likewise.
70647 * sunrpc/xcrypt.c: Likewise.
70648 * sunrpc/xdr.c: Likewise.
70649 * sunrpc/xdr_array.c: Likewise.
70650 * sunrpc/xdr_float.c: Likewise.
70651 * sunrpc/xdr_intXX_t.c: Likewise.
70652 * sunrpc/xdr_mem.c: Likewise.
70653 * sunrpc/xdr_rec.c: Likewise.
70654 * sunrpc/xdr_ref.c: Likewise.
70655 * sunrpc/xdr_sizeof.c: Likewise.
70656 * sunrpc/xdr_stdio.c: Likewise.
70657
70658 2011-04-10 Ulrich Drepper <drepper@gmail.com>
70659
70660 [BZ #12650]
70661 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70662 * sysdeps/ia64/dl-tls.h: Likewise.
70663 * sysdeps/powerpc/dl-tls.h: Likewise.
70664 * sysdeps/s390/dl-tls.h: Likewise.
70665 * sysdeps/sh/dl-tls.h: Likewise.
70666 * sysdeps/sparc/dl-tls.h: Likewise.
70667 * sysdeps/x86_64/dl-tls.h: Likewise.
70668 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70669
70670 2011-03-14 Andreas Schwab <schwab@redhat.com>
70671
70672 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70673 rpath element also skip the following colon.
70674 (expand_dynamic_string_token): Add is_path parameter and pass
70675 down to DL_DST_REQUIRED and _dl_dst_substitute.
70676 (decompose_rpath): Call expand_dynamic_string_token with
70677 non-zero is_path. Ignore empty rpaths.
70678 (_dl_map_object_from_fd): Call expand_dynamic_string_token
70679 with zero is_path.
70680
70681 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
70682
70683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70684 Make cancelable.
70685
70686 2011-04-09 Ulrich Drepper <drepper@gmail.com>
70687
70688 [BZ #12655]
70689 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70690 Patch by Filipe David Manana <fdmanana@apache.org>.
70691
70692 2011-04-07 Andreas Schwab <schwab@redhat.com>
70693
70694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70695 Maintain aligned stack.
70696 (CHECK_RSP): Remove unused macro.
70697
70698 2011-04-03 Ulrich Drepper <drepper@gmail.com>
70699
70700 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70701 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70702
70703 2011-04-02 Ulrich Drepper <drepper@gmail.com>
70704
70705 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70706
70707 * include/features.h: Mention __USE_XOPEN2K8 in comment.
70708
70709 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
70710
70711 [BZ #12518]
70712 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70713 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70714 * sysdeps/x86_64/memmove.c: New file.
70715 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70716 (memcpy): Renamed to ...
70717 (__new_memcpy): This.
70718 (memcpy): Provide GLIBC_2_14 memcpy.
70719 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70720 (memcpy): Provide GLIBC_2_2_5 memcpy.
70721
70722 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70723
70724 [BZ #12631]
70725 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70726
70727 2011-03-30 Andreas Schwab <schwab@redhat.com>
70728
70729 * misc/syncfs.c: New file.
70730 * misc/Makefile (routines): Add syncfs.
70731 * posix/unistd.h: Declare syncfs.
70732 * sysdeps/unix/syscalls.list: Add syncfs.
70733
70734 2011-04-01 Andreas Schwab <schwab@redhat.com>
70735
70736 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70737 open_by_handle_at.
70738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70743 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70744 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70745
70746 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70747
70748 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70750 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70752 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70755
70756 * io/Makefile: Compile fallocate.c, fallocate64.c, and
70757 sync_file_range.c with -fexceptions.
70758 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70759 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70760 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70761 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70762 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70763 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70765 sync_file_range as cancellation point
70766 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
70767 now a wrapper around __call_sync_file_range with cancellation handling.
70768 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70769 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
70770 function name to __call_sync_file_range.
70771 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70772 Add call_sync_file_range.
70773
70774 2011-04-01 Andreas Schwab <schwab@redhat.com>
70775
70776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70777 bits/timex.h.
70778
70779 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70780
70781 * iconv/iconv.h: Fix typo in comment.
70782 * io/fcntl.h: Likewise.
70783 * libio/stdio.h: Likewise.
70784 * posix/spawn.h: Likewise.
70785 * posix/unistd.h: Likewise.
70786 * stdlib/stdlib.h: Likewise.
70787 * time/time.h: Likewise.
70788 * wcsmbs/wchar.h: Likewise.
70789
70790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70791 open_by_handle): Add.
70792 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70793 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
70794 Augment a few comments.
70795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70800 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70801 open_by_handle.
70802
70803 * io/fcntl.h (AT_EMPTY_PATH): Define.
70804
70805 2011-03-30 Ulrich Drepper <drepper@gmail.com>
70806
70807 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70808 * sysdeps/unix/sysv/linux/bits/time.h: New file.
70809 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70810 to...
70811 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
70812 * Versions.def: Add GLIBC_2.14.
70813 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70814 Export.
70815
70816 2011-03-22 Ulrich Drepper <drepper@gmail.com>
70817
70818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70819 round counter.
70820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70821
70822 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
70823
70824 [BZ #12597]
70825 * string/test-strncmp.c (do_page_test): New function.
70826 (check2): Likewise.
70827 (test_main): Call check2.
70828 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70829
70830 2011-03-20 Ulrich Drepper <drepper@gmail.com>
70831
70832 [BZ #12587]
70833 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70834 Handle cache information in CPU leaf 4.
70835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70836
70837 2011-03-18 Ulrich Drepper <drepper@gmail.com>
70838
70839 [BZ #12583]
70840 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70841 character representation.
70842 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70843
70844 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
70845
70846 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70847 END(__isnan) to END(__isnanf) to match function entry point/label
70848 EALIGN(__isnanf,...).
70849
70850 2011-03-10 Jakub Jelinek <jakub@redhat.com>
70851
70852 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70853
70854 2011-03-10 Ulrich Drepper <drepper@gmail.com>
70855
70856 [BZ #12510]
70857 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70858 copy from the symbol referenced in the relocation to initialize the
70859 used variable.
70860 Patch by Piotr Bury <pbury@goahead.com>.
70861 * elf/Makefile: Add rules to build and tst-unique3.
70862 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70863 * elf/tst-unique3.cc: New file.
70864 * elf/tst-unique3.h: New file.
70865 * elf/tst-unique3lib.cc: New file.
70866 * elf/tst-unique3lib2.cc: New file.
70867
70868 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70869
70870 2011-03-10 Mike Frysinger <vapier@gentoo.org>
70871
70872 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70873 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
70874 to _start.
70875
70876 2011-03-06 Ulrich Drepper <drepper@gmail.com>
70877
70878 * elf/dl-load.c (_dl_map_object): If we are looking for the first
70879 to-be-loaded object along a path to loader is ld.so.
70880
70881 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
70882 Ulrich Drepper <drepper@gmail.com>
70883
70884 * sysdeps/x86_64/memset.S: After aligning destination, code
70885 branches to different locations depending on the value of
70886 misalignment, when multiarch is enabled. Fix this.
70887
70888 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
70889
70890 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70891 Set _x86_64_preferred_memory_instruction for AMD processsors.
70892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70893 Set bit_Prefer_SSE_for_memop for AMD processors.
70894
70895 2011-03-04 Ulrich Drepper <drepper@gmail.com>
70896
70897 * libio/fmemopen.c (fmemopen): Optimize a bit.
70898
70899 2011-03-03 Andreas Schwab <schwab@redhat.com>
70900
70901 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70902
70903 2011-03-03 Roland McGrath <roland@redhat.com>
70904
70905 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70906
70907 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
70908
70909 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70910 __bzero_ultra1 instead of __memset_ultra1.
70911
70912 2011-02-23 Andreas Schwab <schwab@redhat.com>
70913 Ulrich Drepper <drepper@gmail.com>
70914
70915 [BZ #12509]
70916 * include/link.h (struct link_map): Add l_orig_initfini.
70917 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70918 returning unsuccessfully.
70919 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70920 close of a file loaded at startup, restore the original l_initfini
70921 list.
70922 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70923 list, store the pointer.
70924 * elf/Makefile ($(objpfx)noload-mem): New rule.
70925 (noload-ENV): Define.
70926 (tests): Add $(objpfx)noload-mem.
70927 * elf/noload.c: Include <memcheck.h>.
70928 (main): Call mtrace. Close all opened handles.
70929
70930 2011-02-17 Andreas Schwab <schwab@redhat.com>
70931
70932 [BZ #12454]
70933 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70934 dependencies are missing.
70935
70936 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
70937
70938 Fix __if_freereq crash: Unlike the generic version which uses free,
70939 Hurd needs munmap.
70940 * sysdeps/mach/hurd/ifreq.h: New file.
70941
70942 2011-01-27 Petr Baudis <pasky@suse.cz>
70943 Ulrich Drepper <drepper@gmail.com>
70944
70945 [BZ 12445]#
70946 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70947 to extend_alloca().
70948 * stdio-common/bug23.c: New file.
70949 * stdio-common/Makefile (tests): Add bug23.
70950
70951 2010-09-28 Andreas Schwab <schwab@redhat.com>
70952 Ulrich Drepper <drepper@gmail.com>
70953
70954 [BZ #12489]
70955 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70956 before performing relro protection. At old place add assertion
70957 to make sure nothing changed.
70958
70959 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
70960 Glauber de Oliveira Costa <glommer@gmail.com>
70961
70962 * elf/elf.h: Add new ARM TLS relocs.
70963
70964 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
70965
70966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70967 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70968 cast from r3.
70969 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
70970 'tests' variable.
70971 * sysdeps/wordsize-64/tst-writev.c: New file.
70972
70973 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
70974
70975 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70976 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70977 insns in _dl_start to prevent a TOC reference before relocs are
70978 resolved.
70979
70980 2011-02-15 Ulrich Drepper <drepper@gmail.com>
70981
70982 [BZ #12469]
70983 * Makeconfig: Remove RANLIB definition.
70984 * Makerules: Don't use RANLIB.
70985 * aclocal.m4: Remove ranlib test.
70986 * configure.in: No need to check for ranlib.
70987 * elf/rtld-Rules: Don't use RANLIB.
70988
70989 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
70990
70991 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70992 protection macro.
70993 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70994 inclusion protection macro.
70995
70996 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70997 SIGRTMIN and SIGRTMAX and print information in that case only when
70998 SIGRTMIN is defined.
70999
71000 2011-02-11 Jakub Jelinek <jakub@redhat.com>
71001
71002 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71003 arginfo fn returning -1.
71004
71005 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71006 and thousands string is zero terminated.
71007
71008 2011-02-03 Andreas Schwab <schwab@redhat.com>
71009
71010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71011 sysdeps/unix/sysv/linux/bits/socket.h.
71012
71013 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
71014
71015 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71016 (__CPU_COUNT): Remove old macros.
71017 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71018 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71019 (__CPU_ALLOC, __CPU_FREE): Add macros.
71020 (__sched_cpualloc, __sched_cpufree): Add declarations.
71021
71022 2011-02-05 Ulrich Drepper <drepper@gmail.com>
71023
71024 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71025 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71026 * nscd/aicache.c (addhstaiX): Return timeout of added value.
71027 (readdhstai): Return value of addhstaiX call.
71028 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71029 (addgrbyX): Return value returned by cache_addgr.
71030 (readdgrbyname): Return value returned by addgrbyX.
71031 (readdgrbygid): Likewise.
71032 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71033 (addpwbyX): Return value returned by cache_addpw.
71034 (readdpwbyname): Return value returned by addhstbyX.
71035 (readdpwbyuid): Likewise.
71036 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71037 (addservbyX): Return value returned by cache_addserv.
71038 (readdservbyname): Return value returned by addservbyX:
71039 (readdservbyport): Likewise.
71040 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71041 (addhstbyX): Return value returned by cache_addhst.
71042 (readdhstbyname): Return value returned by addhstbyX.
71043 (readdhstbyaddr): Likewise.
71044 (readdhstbynamev6): Likewise.
71045 (readdhstbyaddrv6): Likewise.
71046 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71047 (readdinitgroups): Return value returned by addinitgroupsX.
71048 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71049 (prune_cache): Keep track of timeout value of re-added entries.
71050 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71051 * nscd/nscd.h: Adjust prototypes of readd* functions.
71052
71053 2011-02-04 Roland McGrath <roland@redhat.com>
71054
71055 * nis/nis_server.c (nis_servstate): Use the right name for 0.
71056 (nis_stats): Likewise.
71057 * nis/nis_modify.c (nis_modify): Likewise.
71058 * nis/nis_remove.c (nis_remove): Likewise.
71059 * nis/nis_add.c (nis_add): Likewise.
71060
71061 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71062
71063 * posix/fnmatch_loop.c: Add some consts.
71064
71065 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71066
71067 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
71068
71069 [BZ #12460]
71070 * config.make.in (config-cflags-novzeroupper): Define.
71071 * configure.in: Substitute libc_cv_cc_novzeroupper.
71072 * elf/Makefile (AVX-CFLAGS): Define.
71073 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71074 (CFLAGS-tst-auditmod4a.c): Likewise.
71075 (CFLAGS-tst-auditmod4b.c): Likewise.
71076 (CFLAGS-tst-auditmod6b.c): Likewise.
71077 (CFLAGS-tst-auditmod6c.c): Likewise.
71078 (CFLAGS-tst-auditmod7b.c): Likewise.
71079 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71080
71081 2011-02-02 Ulrich Drepper <drepper@gmail.com>
71082
71083 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71084 function to the callback.
71085 Patch partly by Jiri Olsa <jolsa@redhat.com>.
71086
71087 2011-02-02 Andreas Schwab <schwab@redhat.com>
71088
71089 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71090 of errno.
71091
71092 2011-01-19 Ulrich Drepper <drepper@gmail.com>
71093
71094 [BZ #11724]
71095 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71096 of constructors.
71097 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71098 of destructors.
71099 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71100
71101 [BZ #11724]
71102 * elf/Makefile: Add rules to build and run new test.
71103 * elf/tst-initorder.c: New file.
71104 * elf/tst-initorder.exp: New file.
71105 * elf/tst-initordera1.c: New file.
71106 * elf/tst-initordera2.c: New file.
71107 * elf/tst-initordera3.c: New file.
71108 * elf/tst-initordera4.c: New file.
71109 * elf/tst-initorderb1.c: New file.
71110 * elf/tst-initorderb2.c: New file.
71111 * elf/tst-order-a1.c: New file.
71112 * elf/tst-order-a2.c: New file.
71113 * elf/tst-order-a3.c: New file.
71114 * elf/tst-order-a4.c: New file.
71115 * elf/tst-order-b1.c: New file.
71116 * elf/tst-order-b2.c: New file.
71117 * elf/tst-order-main.c: New file.
71118 New test case by George Gensure <werkt0@gmail.com>.
71119
71120 2010-10-01 Andreas Schwab <schwab@redhat.com>
71121
71122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71123 decoding ACE if AI_CANONIDN.
71124
71125 2011-01-18 Ulrich Drepper <drepper@gmail.com>
71126
71127 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71128
71129 2011-01-17 Ulrich Drepper <drepper@gmail.com>
71130
71131 * version.h (RELEASE): Bump for 2.13 release.
71132 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71133
71134 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71135
71136 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71137 MADV_NOHUGEPAGE.
71138 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71139 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71140 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71141 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71143 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71144
71145 * posix/getconf.c: Update copyright year.
71146 * catgets/gencat.c: Likewise.
71147 * csu/version.c: Likewise.
71148 * debug/catchsegv.sh: Likewise.
71149 * debug/xtrace.sh: Likewise.
71150 * elf/ldconfig.c: Likewise.
71151 * elf/ldd.bash.in: Likewise.
71152 * elf/sprof.c (print_version): Likewise.
71153 * iconv/iconv_prog.c: Likewise.
71154 * iconv/iconvconfig.c: Likewise.
71155 * locale/programs/locale.c: Likewise.
71156 * locale/programs/localedef.c: Likewise.
71157 * malloc/memusage.sh: Likewise.
71158 * malloc/mtrace.pl: Likewise.
71159 * nscd/nscd.c (print_version): Likewise.
71160 * nss/getent.c: Likewise.
71161
71162 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71163 PF_CAIF, and PF_ALG.
71164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71165
71166 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
71167
71168 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71169 (modules-names): Use them.
71170 (ifunc-test-modules, ifunc-pie-tests): Define.
71171 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71172 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71173 (test-extras): Likewise.
71174 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71175 $(compile-command.c).
71176 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71177 (all-built-dso): Define.
71178 (check-textrel.out, check-execstack.out): Depend on it.
71179
71180 * configure.in: Don't override --enable-multi-arch.
71181
71182 2011-01-15 Ulrich Drepper <drepper@gmail.com>
71183
71184 [BZ #6812]
71185 * nscd/hstcache.c (tryagain): Define.
71186 (cache_addhst): Return tryagain not notfound for temporary errors.
71187 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71188 failed.
71189
71190 2011-01-14 Ulrich Drepper <drepper@gmail.com>
71191
71192 [BZ #10563]
71193 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71194 to make the syscall.
71195 * sysdeps/unix/sysv/linux/setgroups.c: New file.
71196
71197 [BZ #12378]
71198 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71199 and fall back to matching as normal character if the string ends before
71200 the matching ']' is found. This is what POSIX requires.
71201 * posix/testfnm.c: Adjust test result.
71202 * posix/globtest.sh: Adjust test result. Add new test.
71203 * posix/tst-fnmatch.input: Likewise.
71204 * posix/tst-fnmatch2.c: Add new test.
71205
71206 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
71207
71208 * elf/Makefile (check-execstack): Revert last change. Depend on
71209 check-execstack.h.
71210 (check-execstack.h): New target.
71211 (generated): Add check-execstack.h.
71212 * elf/check-execstack.c: Include "check-execstack.h".
71213 (main): Revert last change.
71214 (handle_file): Return zero if GNU_STACK is absent and
71215 DEFAULT_STACK_PERMS doesn't include PF_X.
71216
71217 2011-01-13 Ulrich Drepper <drepper@gmail.com>
71218
71219 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71220 in child fails because the descriptor is already closed.
71221 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71222 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71223 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71224
71225 [BZ #12397]
71226 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71227 syscall.
71228
71229 [BZ #10484]
71230 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71231 temporary buffer used to handle multi lookups locally.
71232 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71233
71234 2011-01-12 Ulrich Drepper <drepper@gmail.com>
71235
71236 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71237 loader is ld.so.
71238
71239 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
71240
71241 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71242 alignment for SSE2.
71243
71244 2011-01-12 Ulrich Drepper <drepper@gmail.com>
71245
71246 [BZ #12394]
71247 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71248 characters. When rounding increased number of integer digits recompute
71249 number of groups.
71250 * stdio-common/tst-grouping.c: New file.
71251 * stdio-common/Makefile: Add rules to build and run tst-grouping.
71252
71253 2011-01-09 Ulrich Drepper <drepper@gmail.com>
71254
71255 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71256 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
71257
71258 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71259 void.
71260 * bits/select.h: Likewise.
71261
71262 2011-01-08 Ulrich Drepper <drepper@gmail.com>
71263
71264 * po/ja.po: Update from translation team.
71265
71266 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
71267
71268 [BZ #11155]
71269 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71270 implementation just like for lxstat, fxstatat, et al.
71271
71272 2010-12-27 Jim Meyering <meyering@redhat.com>
71273
71274 [BZ #12348]
71275 * posix/regexec.c (build_trtable): Return failure indication upon
71276 calloc failure. Otherwise, re_search_internal could infloop on OOM.
71277
71278 2010-12-25 Ulrich Drepper <drepper@gmail.com>
71279
71280 [BZ #12201]
71281 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71282 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71283 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71284 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71285
71286 [BZ #12207]
71287 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71288
71289 [BZ #12204]
71290 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71291 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71292
71293 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
71294
71295 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71296 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71297 script has SORT_BY_INIT_PRIORITY.
71298 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71299 NO_CTORS_DTORS_SECTIONS is defined.
71300 * elf/soinit.c: Likewise.
71301 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71302 NO_CTORS_DTORS_SECTIONS is defined.
71303 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71304 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71305 * sysdeps/sh/init-first.c: Likewise.
71306 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71307
71308 2010-12-24 Ulrich Drepper <drepper@gmail.com>
71309
71310 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71311 always use the slow path.
71312
71313 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
71314
71315 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71316 similar rule which adds the sysdep directories to the header search in
71317 order to pick up the correct platform stackinfo.h.
71318 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71319 perform test if it is, otherwise return successfully without testing.
71320 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71321 DEFAULT_STACK_PERMS define in stackinfo.h.
71322 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71323 defined in stackinfo.h.
71324 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71325 DEFAULT_STACK_PERMS defined in stackinfo.h.
71326 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71327 * sysdeps/ia64/stackinfo.h: Likewise.
71328 * sysdeps/s390/stackinfo.h: Likewise.
71329 * sysdeps/sh/stackinfo.h: Likewise.
71330 * sysdeps/sparc/stackinfo.h: Likewise.
71331 * sysdeps/x86_64/stackinfo.h: Likewise.
71332 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71333 PF_X for powerpc64. Retain PF_X for powerpc32.
71334
71335 2010-12-19 Ulrich Drepper <drepper@gmail.com>
71336
71337 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71338 accurately.
71339 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71340 GETDENTS_64BIT_ALIGNED.
71341
71342 2010-12-14 Ulrich Drepper <dreper@gmail.com>
71343
71344 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71345
71346 2010-12-10 Andreas Schwab <schwab@redhat.com>
71347
71348 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71349 _GNU_SOURCE.
71350
71351 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71352 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71353 Remove __restrict.
71354 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71355 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71356
71357 2010-12-09 Ulrich Drepper <drepper@gmail.com>
71358
71359 [BZ #11655]
71360 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71361 are initialized.
71362
71363 2010-12-09 Jakub Jelinek <jakub@redhat.com>
71364
71365 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71366
71367 2010-12-03 Ulrich Drepper <drepper@gmail.com>
71368
71369 * po/it.po: Update from translation team.
71370
71371 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
71372
71373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71374 unused codes.
71375
71376 2010-11-30 Ulrich Drepper <drepper@gmail.com>
71377
71378 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71379
71380 2010-11-24 Andreas Schwab <schwab@redhat.com>
71381
71382 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71383 specially.
71384 (gaih_getanswer_slice): Likewise.
71385
71386 2010-10-20 Jakub Jelinek <jakub@redhat.com>
71387
71388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71389
71390 2010-05-31 Petr Baudis <pasky@suse.cz>
71391
71392 [BZ #11149]
71393 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71394 silently even in the chroot mode.
71395
71396 2010-11-22 Ulrich Drepper <drepper@gmail.com>
71397
71398 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71399 last patch a bit. Pretty printing
71400
71401 2010-05-31 Petr Baudis <pasky@suse.cz>
71402
71403 [BZ #10085]
71404 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71405 initialization of skip_initgroups_dyn.
71406
71407 2010-11-19 Ulrich Drepper <drepper@gmail.com>
71408
71409 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71410 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71411
71412 2010-11-16 Ulrich Drepper <drepper@gmail.com>
71413
71414 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71415
71416 2010-11-11 Andreas Schwab <schwab@redhat.com>
71417
71418 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71419 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71420 (tst-fnmatch-ENV): Set MALLOC_TRACE.
71421 ($(objpfx)tst-fnmatch-mem): New rule.
71422 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71423 * posix/tst-fnmatch.c (main): Call mtrace.
71424
71425 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
71426
71427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71428 Support Intel processor model 6 and model 0x2c.
71429
71430 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
71431
71432 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71433 signed comparison.
71434
71435 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
71436
71437 [BZ #12205]
71438 * string/test-strncasecmp.c (check_result): New function.
71439 (do_one_test): Use it.
71440 (check1): New function.
71441 (test_main): Use it.
71442 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71443 Support strcasecmp and strncasecmp.
71444
71445 2010-11-08 Ulrich Drepper <drepper@gmail.com>
71446
71447 [BZ #12194]
71448 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71449 * sysdeps/x86_64/bits/byteswap.h: Likewise.
71450
71451 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
71452
71453 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71454 IFUNC support.
71455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71456 memset-x86-64.
71457 * sysdeps/x86_64/multiarch/bzero.S: New file.
71458 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71459 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71460 * sysdeps/x86_64/multiarch/memset.S: New file.
71461 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71463 Set bit_Prefer_SSE_for_memop for Intel processors.
71464 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71465 Define.
71466 (index_Prefer_SSE_for_memop): Define.
71467 (HAS_PREFER_SSE_FOR_MEMOP): Define.
71468
71469 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
71470
71471 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71472 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71473
71474 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
71475
71476 [BZ #12191]
71477 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71478 (__x86_64_raw_data_cache_size_half): Likewise.
71479 (__x86_64_raw_shared_cache_size): Likewise.
71480 (__x86_64_raw_shared_cache_size_half): Likewise.
71481
71482 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71483 (__x86_64_raw_data_cache_size_half): Likewise.
71484 (__x86_64_raw_shared_cache_size): Likewise.
71485 (__x86_64_raw_shared_cache_size_half): Likewise.
71486 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71487 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71488 and __x86_64_raw_shared_cache_size_half. Round
71489 __x86_64_data_cache_size_half, __x86_64_data_cache_size
71490 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71491 to multiple of 256 bytes.
71492
71493 2010-11-03 Ulrich Drepper <drepper@gmail.com>
71494
71495 [BZ #12167]
71496 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71497 of inacessible symlinks. Verify result of symlink before returning it.
71498 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71499 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71500
71501 2010-10-28 Erich Ritz <erichritz@gmail.com>
71502
71503 * math/math.h (isinf): Fix typo in comment.
71504
71505 2010-11-01 Ulrich Drepper <drepper@gmail.com>
71506
71507 * po/da.po: Update from translation team.
71508
71509 2010-10-26 Ulrich Drepper <drepper@gmail.com>
71510
71511 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71512 is added to the list.
71513
71514 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71515 Ulrich Drepper <drepper@gmail.com>
71516
71517 * elf/dl-object.c (_dl_new_object): Don't append the new object to
71518 the global list here. Move code to...
71519 (_dl_add_to_namespace_list): ...here. New function.
71520 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71521 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71522 * elf/dl-load.c (lose): Don't remove the element from the list.
71523 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71524 (_dl_map_object): Likewise.
71525
71526 2010-10-25 Ulrich Drepper <drepper@gmail.com>
71527
71528 [BZ #12159]
71529 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71530 into all bytes of SSE register.
71531 Patch by Richard Li <richardpku@gmail.com>.
71532
71533 2010-10-24 Ulrich Drepper <drepper@gmail.com>
71534
71535 [BZ #12140]
71536 * malloc/malloc.c (_int_free): Fill correct number of bytes when
71537 perturbing.
71538
71539 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
71540
71541 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71542 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71543 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71544 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71546 submachine.
71547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71548
71549 2010-10-22 Andreas Schwab <schwab@redhat.com>
71550
71551 * include/dlfcn.h (__RTLD_SECURE): Define.
71552 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
71553 mode & __RTLD_SECURE instead.
71554 (open_path): Rename preloaded parameter to secure.
71555 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71556 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71557 * elf/dl-deps.c (openaux): Likewise.
71558 * elf/rtld.c (struct map_args): Remove is_preloaded.
71559 (map_doit): Don't use it.
71560 (dl_main): Likewise.
71561 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71562 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71563
71564 2010-09-09 Andreas Schwab <schwab@redhat.com>
71565
71566 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71567 (sysd-rules-targets): Remove duplicates.
71568 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71569 rtld-%.$o dependency.
71570
71571 2010-10-18 Andreas Schwab <schwab@redhat.com>
71572
71573 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71574 _dl_map_object do it.
71575
71576 2010-10-19 Ulrich Drepper <drepper@gmail.com>
71577
71578 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71579 fast fma builtins, define the macros in the C99 standard.
71580 (FP_FAST_FMAF): Likewise.
71581 (FP_FAST_FMAL): Likewise.
71582 * sysdeps/x86_64/bits/mathdef.h: Likewise.
71583
71584 * bits/mathdef.h: Update copyright year.
71585 * sysdeps/powerpc/bits/mathdef.h: Likewise.
71586
71587 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
71588
71589 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71590 builtins, define the macros in the C99 standard.
71591 (FP_FAST_FMAF): Likewise.
71592 (FP_FAST_FMAL): Likewise.
71593 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71594 multiply/add.
71595 (FP_FAST_FMAF): Likewise.
71596
71597 2010-10-15 Jakub Jelinek <jakub@redhat.com>
71598
71599 [BZ #3268]
71600 * math/libm-test.inc (fma_test): Some new testcases.
71601 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71602 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71603 y and infinite z. Do multiplication by C already in long double.
71604 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71606 y and infinite z. Do bitwise or of inexact bit into u.d.
71607 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71608 * sysdeps/i386/fpu/s_fmaf.S: Removed.
71609 * sysdeps/i386/fpu/s_fma.S: Removed.
71610 * sysdeps/i386/fpu/s_fmal.S: Removed.
71611
71612 2010-10-16 Jakub Jelinek <jakub@redhat.com>
71613
71614 [BZ #3268]
71615 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71617 computation is not scheduled after fetestexcept. Fix value
71618 of minimum denormal long double.
71619
71620 2010-10-14 Jakub Jelinek <jakub@redhat.com>
71621
71622 [BZ #3268]
71623 * math/libm-test.inc (fma_test): Add some more tests.
71624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71625 correctly.
71626
71627 2010-10-15 Andreas Schwab <schwab@redhat.com>
71628
71629 * scripts/data/localplt-s390-linux-gnu.data: New file.
71630 * scripts/data/localplt-s390x-linux-gnu.data: New file.
71631
71632 2010-10-13 Jakub Jelinek <jakub@redhat.com>
71633
71634 [BZ #3268]
71635 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71636 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71637 instead of dbl-64.
71638 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71639 inlines.
71640 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71642 if one of x and y is very large and the other is subnormal.
71643 * sysdeps/s390/fpu/s_fmaf.c: New file.
71644 * sysdeps/s390/fpu/s_fma.c: New file.
71645 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71646 * sysdeps/powerpc/fpu/s_fma.S: New file.
71647 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71648 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71649 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71650
71651 2010-10-12 Jakub Jelinek <jakub@redhat.com>
71652
71653 [BZ #3268]
71654 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71655 fma tests.
71656 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71657 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71658 * sysdeps/i386/i686/multiarch/s_fma.c: Include
71659 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71660 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71661 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71662 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71663
71664 2010-10-12 Ulrich Drepper <drepper@redhat.com>
71665
71666 [BZ #12078]
71667 * posix/regcomp.c (parse_branch): One more memory leak plugged.
71668 * posix/bug-regex31.input: Add test case.
71669
71670 2010-10-11 Ulrich Drepper <drepper@gmail.com>
71671
71672 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71673 * posix/bug-regex31.input: New file.
71674
71675 [BZ #12078]
71676 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71677 (parse_sub_exp): Fix last change, use postorder.
71678
71679 * posix/bug-regex31.c: New file.
71680 * posix/Makefile: Add rules to build and run bug-regex31.
71681
71682 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71683
71684 [BZ #12078]
71685 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71686
71687 [BZ #12108]
71688 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71689 to have entries in sys_siglist.
71690
71691 [BZ #12093]
71692 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71693 be NULL.
71694
71695 2010-10-07 Jakub Jelinek <jakub@redhat.com>
71696
71697 [BZ #3268]
71698 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71699 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71700 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71701 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71702 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71703 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71704 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71705 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71706 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71707 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71708 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71709 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71710 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71711 * math/ftestexcept.c (fetestexcept): Likewise.
71712 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71713 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71714 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71715 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71716 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71717 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71718 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71719
71720 2010-10-11 Ulrich Drepper <drepper@gmail.com>
71721
71722 [BZ #12107]
71723 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71724 newline.
71725
71726 2010-10-06 Ulrich Drepper <drepper@gmail.com>
71727
71728 * string/bug-strstr1.c: New file.
71729 * string/Makefile: Add rules to build and run bug-strstr1.
71730
71731 2010-10-05 Eric Blake <eblake@redhat.com>
71732
71733 [BZ #12092]
71734 * string/str-two-way.h (two_way_long_needle): Always clear memory
71735 when skipping input due to the shift table.
71736
71737 2010-10-03 Ulrich Drepper <drepper@gmail.com>
71738
71739 [BZ #12005]
71740 * malloc/mcheck.c: Handle large requests.
71741
71742 [BZ #12077]
71743 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71744 for strncmp and strncasecmp.
71745 * string/stratcliff.c: Add tests for strcmp and strncmp.
71746 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71747
71748 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
71749
71750 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71751 __set_fpscr.
71752
71753 2010-09-30 Andreas Jaeger <aj@suse.de>
71754
71755 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71756 (CGROUP_SUPER_MAGIC): Define.
71757 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71758 Handle btrfs and cgroup file systems.
71759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71760 Likewise.
71761
71762 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
71763
71764 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71765 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71766
71767 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71768
71769 [BZ #12067]
71770 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71771 trying to locate the ELF header.
71772
71773 2010-09-27 Andreas Schwab <schwab@redhat.com>
71774
71775 [BZ #11611]
71776 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71777 Mask out sign-bit copies when constructing f_fsid.
71778
71779 2010-09-24 Petr Baudis <pasky@suse.cz>
71780
71781 * debug/stack_chk_fail_local.c: Add missing licence exception.
71782 * debug/warning-nop.c: Likewise.
71783
71784 2010-09-15 Joseph Myers <joseph@codesourcery.com>
71785
71786 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71787 implementing getdents64 using getdents syscall, set d_type if
71788 __ASSUME_GETDENTS32_D_TYPE.
71789
71790 2010-09-16 Andreas Schwab <schwab@redhat.com>
71791
71792 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71793 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71794
71795 2010-09-21 Ulrich Drepper <drepper@redhat.com>
71796
71797 [BZ #12037]
71798 * posix/unistd.h: Undo change of feature selection for ftruncate from
71799 2010-01-11.
71800
71801 2010-09-20 Ulrich Drepper <drepper@redhat.com>
71802
71803 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71804 detection.
71805
71806 2010-09-20 Andreas Schwab <schwab@redhat.com>
71807
71808 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71809 fanotify_mark.
71810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71811
71812 2010-09-14 Andreas Schwab <schwab@redhat.com>
71813
71814 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71815 variables after CHECK_SP call.
71816 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71817
71818 2010-09-13 Andreas Schwab <schwab@redhat.com>
71819 Ulrich Drepper <drepper@redhat.com>
71820
71821 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71822 re-relocationg ld.so.
71823 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71824 _dl_init_paths call.
71825 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
71826 here anymore.
71827
71828 2010-09-14 Ulrich Drepper <drepper@redhat.com>
71829
71830 * resolv/res_init.c (__res_vinit): Count the default server we added.
71831
71832 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
71833 Ulrich Drepper <drepper@redhat.com>
71834
71835 [BZ #11968]
71836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71837 (____longjmp_chk): Use %ebx for saving value across system call.
71838 Add unwind info.
71839
71840 2010-09-06 Andreas Schwab <schwab@redhat.com>
71841
71842 * manual/Makefile: Don't mix pattern rules with normal rules.
71843
71844 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
71845
71846 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71847 operation.
71848 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71849 * libio/iofopncook.c (_IO_cookie_init): Likewise.
71850 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71851 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71853 Likewise.
71854
71855 2010-09-04 Ulrich Drepper <drepper@redhat.com>
71856
71857 [BZ #11979]
71858 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71859 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71860
71861 2010-09-02 Ulrich Drepper <drepper@redhat.com>
71862
71863 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71864 * sysdeps/x86_64/addmul_1.S: Likewise.
71865 * sysdeps/x86_64/lshift.S: Likewise.
71866 * sysdeps/x86_64/mul_1.S: Likewise.
71867 * sysdeps/x86_64/rshift.S: Likewise.
71868 * sysdeps/x86_64/sub_n.S: Likewise.
71869 * sysdeps/x86_64/submul_1.S: Likewise.
71870
71871 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
71872
71873 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71874 Define __sched_param instead of SCHED_* and sched_param when
71875 <bits/sched.h> is included with __need_schedparam defined.
71876 * bits/sched.h [__need_schedparam]
71877 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71878 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71879 (__defined_schedparam): Define to 1.
71880 (__sched_param): New structure, identical to sched_param.
71881 (__need_schedparam): Undefine.
71882
71883 2010-08-31 Mike Frysinger <vapier@gentoo.org>
71884
71885 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71886 (epoll_create1): Declare.
71887
71888 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71889
71890 2010-08-31 Andreas Schwab <schwab@redhat.com>
71891
71892 [BZ #7066]
71893 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71894 shifting retval into place.
71895
71896 2010-09-01 Ulrich Drepper <drepper@redhat.com>
71897
71898 * nis/rpcsvc/nis.h: Update copyright notice.
71899 * nis/rpcsvc/nis.x: Likewise.
71900 * nis/rpcsvc/nis_callback.h: Likewise.
71901 * nis/rpcsvc/nis_callback.x: Likewise.
71902 * nis/rpcsvc/nis_object.x: Likewise.
71903 * nis/rpcsvc/nis_tags.h: Likewise.
71904 * nis/rpcsvc/yp.h: Likewise.
71905 * nis/rpcsvc/yp.x: Likewise.
71906 * nis/rpcsvc/ypupd.h: Likewise.
71907 * nis/yp_xdr.c: Likewise.
71908 * nis/ypupdate_xdr.c: Likewise.
71909
71910 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
71911 mainly the body of pmap_getport. Add parameters to specify timeouts.
71912 (pmap_getport): Use __libc_rpc_getport.
71913 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71914 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71915 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71916
71917 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
71918
71919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71920 fanotify_mark.
71921
71922 2010-08-27 Roland McGrath <roland@redhat.com>
71923
71924 * sysdeps/i386/i686/multiarch/Makefile
71925 (CFLAGS-varshift.c): New variable.
71926
71927 2010-08-27 Ulrich Drepper <drepper@redhat.com>
71928
71929 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71930 * sysdeps/i386/i686/multiarch/varshift.c: New file.
71931
71932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71933
71934 * sysdeps/x86_64/strlen.S: Minimal code improvement.
71935
71936 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
71937
71938 * sysdeps/x86_64/strlen.S: Unroll the loop.
71939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71940 strlen-sse2 strlen-sse2-bsf.
71941 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71942 __strlen_no_bsf if bit_Slow_BSF is set.
71943 (__strlen_sse42): Removed.
71944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71945 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71946
71947 2010-08-25 Roland McGrath <roland@redhat.com>
71948
71949 * sysdeps/x86_64/multiarch/varshift.S: File removed.
71950 * sysdeps/x86_64/multiarch/varshift.c: New file.
71951 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71952 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71953 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71954 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71955
71956 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
71957
71958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71959 strlen-sse2 strlen-sse2-bsf.
71960 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71961 __strlen_sse2_bsf if bit_Slow_BSF is unset.
71962 (__strlen_sse2): Removed.
71963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71966 bit_Slow_BSF for Atom.
71967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71968 (index_Slow_BSF): Define.
71969 (HAS_SLOW_BSF): Define.
71970
71971 2010-08-25 Ulrich Drepper <drepper@redhat.com>
71972
71973 [BZ #10851]
71974 * resolv/res_init.c (__res_vinit): When no server address at all
71975 is given default to loopback.
71976
71977 2010-08-24 Roland McGrath <roland@redhat.com>
71978
71979 * configure.in: Remove config-name.h generation.
71980 * configure: Regenerated.
71981 * config-name.in: File removed.
71982 * scripts/config-uname.sh: New file.
71983 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71984 ($(objdir)config-name.h): New target.
71985
71986 * sunrpc/rpc_parse.h: Avoid nested comment.
71987
71988 2010-08-24 Richard Henderson <rth@redhat.com>
71989 Ulrich Drepper <drepper@redhat.com>
71990 H.J. Lu <hongjiu.lu@intel.com>
71991
71992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71994 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71995 Replace _mm_srli_si128 with __m128i_shift_right. Replace
71996 _mm_alignr_epi8 with _mm_loadu_si128.
71997 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71998 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71999 (__m128i_shift_right): Removed.
72000 * sysdeps/i386/i686/multiarch/varshift.h: New file.
72001 * sysdeps/i386/i686/multiarch/varshift.S: New file.
72002 * sysdeps/x86_64/multiarch/varshift.h: New file.
72003 * sysdeps/x86_64/multiarch/varshift.S: New file.
72004
72005 2010-08-21 Mike Frysinger <vapier@gentoo.org>
72006
72007 * configure.in: Move assembler checks to before sysdep dir checking.
72008
72009 2010-08-20 Petr Baudis <pasky@suse.cz>
72010
72011 * LICENSES: Sync the sunrpc license.
72012
72013 2010-08-19 Ulrich Drepper <drepper@redhat.com>
72014
72015 * sunrpc/auth_des.c: Update copyright notice once again.
72016 * sunrpc/auth_none.c: Likewise.
72017 * sunrpc/auth_unix.c: Likewise.
72018 * sunrpc/authdes_prot.c: Likewise.
72019 * sunrpc/authuxprot.c: Likewise.
72020 * sunrpc/bindrsvprt.c: Likewise.
72021 * sunrpc/clnt_gen.c: Likewise.
72022 * sunrpc/clnt_perr.c: Likewise.
72023 * sunrpc/clnt_raw.c: Likewise.
72024 * sunrpc/clnt_simp.c: Likewise.
72025 * sunrpc/clnt_tcp.c: Likewise.
72026 * sunrpc/clnt_udp.c: Likewise.
72027 * sunrpc/clnt_unix.c: Likewise.
72028 * sunrpc/des_crypt.c: Likewise.
72029 * sunrpc/des_soft.c: Likewise.
72030 * sunrpc/get_myaddr.c: Likewise.
72031 * sunrpc/getrpcport.c: Likewise.
72032 * sunrpc/key_call.c: Likewise.
72033 * sunrpc/key_prot.c: Likewise.
72034 * sunrpc/openchild.c: Likewise.
72035 * sunrpc/pm_getmaps.c: Likewise.
72036 * sunrpc/pm_getport.c: Likewise.
72037 * sunrpc/pmap_clnt.c: Likewise.
72038 * sunrpc/pmap_prot.c: Likewise.
72039 * sunrpc/pmap_prot2.c: Likewise.
72040 * sunrpc/pmap_rmt.c: Likewise.
72041 * sunrpc/rpc/auth.h: Likewise.
72042 * sunrpc/rpc/auth_unix.h: Likewise.
72043 * sunrpc/rpc/clnt.h: Likewise.
72044 * sunrpc/rpc/des_crypt.h: Likewise.
72045 * sunrpc/rpc/key_prot.h: Likewise.
72046 * sunrpc/rpc/netdb.h: Likewise.
72047 * sunrpc/rpc/pmap_clnt.h: Likewise.
72048 * sunrpc/rpc/pmap_prot.h: Likewise.
72049 * sunrpc/rpc/pmap_rmt.h: Likewise.
72050 * sunrpc/rpc/rpc.h: Likewise.
72051 * sunrpc/rpc/rpc_des.h: Likewise.
72052 * sunrpc/rpc/rpc_msg.h: Likewise.
72053 * sunrpc/rpc/svc.h: Likewise.
72054 * sunrpc/rpc/svc_auth.h: Likewise.
72055 * sunrpc/rpc/types.h: Likewise.
72056 * sunrpc/rpc/xdr.h: Likewise.
72057 * sunrpc/rpc_clntout.c: Likewise.
72058 * sunrpc/rpc_cmsg.c: Likewise.
72059 * sunrpc/rpc_common.c: Likewise.
72060 * sunrpc/rpc_cout.c: Likewise.
72061 * sunrpc/rpc_dtable.c: Likewise.
72062 * sunrpc/rpc_hout.c: Likewise.
72063 * sunrpc/rpc_main.c: Likewise.
72064 * sunrpc/rpc_parse.c: Likewise.
72065 * sunrpc/rpc_parse.h: Likewise.
72066 * sunrpc/rpc_prot.c: Likewise.
72067 * sunrpc/rpc_sample.c: Likewise.
72068 * sunrpc/rpc_scan.c: Likewise.
72069 * sunrpc/rpc_scan.h: Likewise.
72070 * sunrpc/rpc_svcout.c: Likewise.
72071 * sunrpc/rpc_tblout.c: Likewise.
72072 * sunrpc/rpc_util.c: Likewise.
72073 * sunrpc/rpc_util.h: Likewise.
72074 * sunrpc/rpcinfo.c: Likewise.
72075 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72076 * sunrpc/rpcsvc/key_prot.x: Likewise.
72077 * sunrpc/rpcsvc/klm_prot.x: Likewise.
72078 * sunrpc/rpcsvc/mount.x: Likewise.
72079 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72080 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72081 * sunrpc/rpcsvc/rex.x: Likewise.
72082 * sunrpc/rpcsvc/rstat.x: Likewise.
72083 * sunrpc/rpcsvc/rusers.x: Likewise.
72084 * sunrpc/rpcsvc/sm_inter.x: Likewise.
72085 * sunrpc/rpcsvc/spray.x: Likewise.
72086 * sunrpc/rpcsvc/yppasswd.x: Likewise.
72087 * sunrpc/rtime.c: Likewise.
72088 * sunrpc/svc.c: Likewise.
72089 * sunrpc/svc_auth.c: Likewise.
72090 * sunrpc/svc_authux.c: Likewise.
72091 * sunrpc/svc_raw.c: Likewise.
72092 * sunrpc/svc_run.c: Likewise.
72093 * sunrpc/svc_simple.c: Likewise.
72094 * sunrpc/svc_tcp.c: Likewise.
72095 * sunrpc/svc_udp.c: Likewise.
72096 * sunrpc/svc_unix.c: Likewise.
72097 * sunrpc/svcauth_des.c: Likewise.
72098 * sunrpc/xcrypt.c: Likewise.
72099 * sunrpc/xdr.c: Likewise.
72100 * sunrpc/xdr_array.c: Likewise.
72101 * sunrpc/xdr_float.c: Likewise.
72102 * sunrpc/xdr_mem.c: Likewise.
72103 * sunrpc/xdr_rec.c: Likewise.
72104 * sunrpc/xdr_ref.c: Likewise.
72105 * sunrpc/xdr_sizeof.c: Likewise.
72106 * sunrpc/xdr_stdio.c: Likewise.
72107
72108 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72109 handling.
72110
72111 2010-08-19 Andreas Schwab <schwab@redhat.com>
72112
72113 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72114
72115 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
72116
72117 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72118 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72120 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72121 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72122 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72123 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72124 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72126 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72127 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72128 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72129 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72130 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72131
72132 2010-07-26 Anton Blanchard <anton@samba.org>
72133
72134 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72135 * malloc/arena.c (heap_trim): Likewise.
72136
72137 2010-08-16 Ulrich Drepper <drepper@redhat.com>
72138
72139 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72140 here. Not...
72141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72142 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72143
72144 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
72145
72146 * sysdeps/i386/elf/Makefile: New file.
72147
72148 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
72149
72150 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72151 from fanotify_init.
72152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72154
72155 2010-08-15 Ulrich Drepper <drepper@redhat.com>
72156
72157 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72158 of strncasecmp_l.
72159 * sysdeps/multiarch/strcmp.S: Likewise.
72160
72161 2010-08-14 Ulrich Drepper <drepper@redhat.com>
72162
72163 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72164 strncase_l-nonascii.
72165 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72166 Add strncase_l-ssse3.
72167 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72168 * sysdeps/x86_64/strcmp.S: Likewise.
72169 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72170 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72171 * sysdeps/x86_64/strncase.S: New file.
72172 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72173 * sysdeps/x86_64/strncase_l.S: New file.
72174 * string/Makefile (strop-tests): Add strncasecmp.
72175 * string/test-strncasecmp.c: New file.
72176
72177 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72178 warning.
72179
72180 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72181 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72182
72183 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
72184
72185 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72186
72187 2010-08-12 Ulrich Drepper <drepper@redhat.com>
72188
72189 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72191 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72192
72193 2010-05-01 Alan Modra <amodra@gmail.com>
72194
72195 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72196 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72197 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72198 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72199 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72200 tidying. Don't tail-call __sigjmp_save for static lib.
72201 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72202 save location.
72203 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72204 (CALL_MCOUNT): Add eh info, and nop after bl.
72205 (TAIL_CALL_SYSCALL_ERROR): New macro.
72206 (PSEUDO_RET): Use it.
72207 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72208 Correct save location of integer regs and cr.
72209 (_dl_profile_resolve): Correct cr save location. Delete nops
72210 after bl when SHARED. Reduce cfi size a little by better
72211 placement of cfi directives.
72212 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72213 make a stack frame. Instead use parm save area as a temp.
72214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72215 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
72216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72217 Don't make a stack frame for parent, use parm save area.
72218 Increase child stack frame to 112 bytes. Don't save unused reg,
72219 and adjust reg usage. Set up cfi on error recovery and
72220 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72222 (__makecontext): Add dummy nop after jump to exit.
72223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72224 Use correct parm save area and cr save, reduce stack frame.
72225 Correct cfi for possible PSEUDO_RET frame setup.
72226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72227 Branch to local label emitted by PSEUDO_RET rather than
72228 __syscall_error.
72229
72230 2010-08-12 Andreas Schwab <schwab@redhat.com>
72231
72232 [BZ #11904]
72233 * locale/programs/locale.c (print_assignment): New function.
72234 (show_locale_vars): Use it.
72235
72236 2010-08-11 Ulrich Drepper <drepper@redhat.com>
72237
72238 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72239 field.
72240 (struct statfs64): Likewise.
72241 (_STATFS_F_FLAGS): Define.
72242 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72243 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72244 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72245 (ST_VALID): Define locally.
72246 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72247 __statvfs_getflags, use the provided value.
72248 * sysdeps/unix/sysv/linux/kernel-features.h: Define
72249 __ASSUME_STATFS_F_FLAGS.
72250
72251 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72252
72253 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72254 Add sys/fanotify.h.
72255 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72256 fanotify_mask for GLIBC_2.13.
72257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72258 fanotify_init and fanotify_mark.
72259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72260 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72261
72262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72263 Add prlimit.
72264 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72265 prlimit64 for GLIBC_2.13.
72266 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72267 prlimit64.
72268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72269 syscall.
72270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72272 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72273 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
72275 add prlimit alias.
72276 * sysdeps/unix/sysv/linux/prlimit.c: New file.
72277
72278 [BZ #11903]
72279 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72280 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72281
72282 * nss/Makefile: Add rules to build and run tst-nss-test1.
72283 * shlib-versions: Add entry for libnss_test1.
72284 * nss/nss_test1.c: New file.
72285 * nss/tst-nss-test1.c: New file.
72286
72287 * nss/nsswitch.c (__nss_database_custom): Define new variable.
72288 (__nss_configure_lookup): Set appropriate entry in
72289 __nss_configure_lookup to true.
72290 * nss/nsswitch.h: Define enum with indeces of databases in
72291 databases and __nss_database_custom arrays. Declare
72292 __nss_database_custom.
72293 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72294 to avoid using nscd when custom rules are installed.
72295 * nss/getXXbyYY_r.c: Likewise.
72296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72297
72298 * nss/nss_files/files-parse.c: Whitespace fixes.
72299
72300 2010-08-09 Ulrich Drepper <drepper@redhat.com>
72301
72302 [BZ #11883]
72303 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72304 * posix/fnmatch_loop.c: Likewise.
72305
72306 2010-07-17 Andi Kleen <ak@linux.intel.com>
72307
72308 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72309 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72310 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72311 * Versions.def [GLIBC_2.13]: Add.
72312
72313 2010-08-06 Ulrich Drepper <drepper@redhat.com>
72314
72315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72316 Also fail if tpwd after pwuid call is NULL.
72317
72318 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
72319
72320 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72321 when converting to ms.
72322
72323 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
72324
72325 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72326 EOPNOTSUPP errors with ENOTTY.
72327 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72328 EOPNOTSUPP errors with ENOTTY.
72329
72330 2010-07-31 Ulrich Drepper <drepper@redhat.com>
72331
72332 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72333 Add strcasecmp_l-ssse3.
72334 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72335 strcasecmp.
72336 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72337 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72338 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72339
72340 2010-07-30 Ulrich Drepper <drepper@redhat.com>
72341
72342 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72343
72344 * string/Makefile (strop-tests): Add strcasecmp.
72345 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72346 strcasecmp_l-nonascii.
72347 (gen-as-const-headers): Add locale-defines.sym.
72348 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72349 * sysdeps/x86_64/strcasecmp.S: New file.
72350 * sysdeps/x86_64/strcasecmp_l.S: New file.
72351 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72352 * sysdeps/x86_64/locale-defines.sym: New file.
72353 * string/test-strcasecmp.c: New file.
72354
72355 * string/test-strcasestr.c: Test both ends of the range of characters.
72356 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72357
72358 2010-07-29 Roland McGrath <roland@redhat.com>
72359
72360 [BZ #11856]
72361 * manual/locale.texi (Yes-or-No Questions): Fix example code.
72362
72363 2010-07-27 Ulrich Drepper <drepper@redhat.com>
72364
72365 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72366 for ld.so.
72367
72368 2010-07-27 Andreas Schwab <schwab@redhat.com>
72369
72370 * manual/memory.texi (Malloc Tunable Parameters): Document
72371 M_PERTURB.
72372
72373 2010-07-26 Roland McGrath <roland@redhat.com>
72374
72375 [BZ #11840]
72376 * configure.in (-fgnu89-inline check): Set and substitute
72377 gnu89_inline, not libc_cv_gnu89_inline.
72378 * configure: Regenerated.
72379 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72380
72381 2010-07-26 Ulrich Drepper <drepper@redhat.com>
72382
72383 * string/test-strnlen.c: New file.
72384 * string/Makefile (strop-tests): Add strnlen.
72385 * string/tester.c (test_strnlen): Add a few more test cases.
72386 * string/tst-strlen.c: Better error reporting.
72387
72388 * sysdeps/x86_64/strnlen.S: New file.
72389
72390 2010-07-24 Ulrich Drepper <drepper@redhat.com>
72391
72392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72393 lower-latency instructions.
72394
72395 2010-07-23 Ulrich Drepper <drepper@redhat.com>
72396
72397 * string/test-strcasestr.c: New file.
72398 * string/test-strstr.c: New file.
72399 * string/Makefile (strop-tests): Add strstr and strcasestr.
72400 * string/str-two-way.h: Don't undefine MAX.
72401 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72402
72403 2010-07-21 Andreas Schwab <schwab@redhat.com>
72404
72405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72406 strcasestr-nonascii.
72407 (CFLAGS-strcasestr-nonascii.c): Define.
72408 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72409 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72410 Remove unused attribute.
72411
72412 2010-07-20 Roland McGrath <roland@redhat.com>
72413
72414 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72415 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
72416 ld.so.cache was broken. With it, there is no way to disable dsocaps
72417 like LD_HWCAP_MASK can disable hwcaps.
72418
72419 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
72420
72421 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72422
72423 2010-07-16 Ulrich Drepper <drepper@redhat.com>
72424
72425 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72426 call in strcasestr.
72427 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72428 __strcasestr_sse42_nonascii.
72429 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72430 strcasestr-nonascii.c.
72431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72432
72433 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
72434
72435 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72437 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72439
72440 2010-07-09 Ulrich Drepper <drepper@redhat.com>
72441
72442 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72443 fcntl.
72444
72445 2010-07-06 Andreas Schwab <schwab@redhat.com>
72446
72447 [BZ #11577]
72448 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72449 dl_signal_cerror.
72450
72451 2010-07-06 Ulrich Drepper <drepper@redhat.com>
72452
72453 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72454 _PC_PIPE_BUF using F_GETPIPE_SZ.
72455
72456 2010-07-05 Roland McGrath <roland@redhat.com>
72457
72458 * manual/arith.texi (Rounding Functions): Fix rint description
72459 implicit in round description.
72460
72461 2010-07-02 Ulrich Drepper <drepper@redhat.com>
72462
72463 * elf/Makefile: Fix linking for a few tests to make recent linker
72464 happy.
72465
72466 2010-06-30 Andreas Schwab <schwab@redhat.com>
72467
72468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72469 $(common-objpfx)libc_nonshared.a.
72470
72471 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
72472
72473 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72474 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72475 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72476 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72477 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72478 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72479 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72480 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72495 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72496 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72497 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72498 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72499 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72500 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72501 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72502 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72503 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72504 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72505 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72506 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72521
72522 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
72523
72524 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72525 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
72526 * string/memmove.c (memmove): Renamed to ...
72527 (MEMMOVE): ...this. Default to memmove.
72528 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72529 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72530 (END_CHK): Define.
72531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72532 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72533 mempcpy-ssse3-back memmove-ssse3-back.
72534 * sysdeps/x86_64/multiarch/bcopy.S: New file .
72535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72536 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72537 * sysdeps/x86_64/multiarch/memcpy.S: New file.
72538 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72539 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72540 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72541 * sysdeps/x86_64/multiarch/memmove.c: New file.
72542 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72543 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72544 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72545 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72546 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72548 Define.
72549 (index_Fast_Copy_Backward): Define.
72550 (HAS_ARCH_FEATURE): Define.
72551 (HAS_FAST_REP_STRING): Define.
72552 (HAS_FAST_COPY_BACKWARD): Define.
72553
72554 2010-06-21 Andreas Schwab <schwab@redhat.com>
72555
72556 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72557 Restore proper fallback handling.
72558
72559 2010-06-19 Ulrich Drepper <drepper@redhat.com>
72560
72561 [BZ #11701]
72562 * posix/group_member.c (__group_member): Correct checking loop.
72563
72564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72565 OOM in getpwuid_r correctly. Return error number when the caller
72566 should return, otherwise -1.
72567 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72568 call returning > 0 value.
72569 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72570
72571 2010-06-07 Andreas Schwab <schwab@redhat.com>
72572
72573 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72574 libc_nonshared.a from targets in modules-names.
72575
72576 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
72577
72578 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72579 requires it.
72580
72581 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
72582
72583 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72584 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72586 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72587
72588 2010-06-02 Andreas Schwab <schwab@redhat.com>
72589
72590 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72591
72592 2010-06-14 Ulrich Drepper <drepper@redhat.com>
72593
72594 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72595 and F_GETPIPE_SZ.
72596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72602
72603 2010-06-14 Roland McGrath <roland@redhat.com>
72604
72605 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72606
72607 2010-06-07 Jakub Jelinek <jakub@redhat.com>
72608
72609 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72610 __REDIRECT followed by __THROW.
72611 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72612 * posix/getopt.h (getopt): Likewise.
72613
72614 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
72615
72616 * hurd/lookup-at.c (__file_name_lookup_at): Accept
72617 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
72618 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72619 in AT_FLAGS.
72620 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72621 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72622
72623 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
72624
72625 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72626
72627 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
72628
72629 [BZ #11640]
72630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72631 Properly check family and model.
72632
72633 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
72634
72635 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72636
72637 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
72638
72639 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72640
72641 2010-05-21 Ulrich Drepper <drepper@redhat.com>
72642
72643 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72644 symbol reference.
72645
72646 2010-05-19 Andreas Schwab <schwab@redhat.com>
72647
72648 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72649 symbol reference.
72650
72651 2010-05-21 Andreas Schwab <schwab@redhat.com>
72652
72653 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72654 and internal_recvmmsg.
72655 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72656 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72657 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72658 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72659
72660 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72661 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72662 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72663
72664 2010-05-20 Andreas Schwab <schwab@redhat.com>
72665
72666 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72667
72668 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
72669
72670 POWER7 optimizations.
72671 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72672 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72673
72674 2010-05-19 Ulrich Drepper <drepper@redhat.com>
72675
72676 * version.h: Update for 2.13 development version.
72677
72678 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
72679
72680 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72681 exceptions. Return 0.
72682
72683 2010-05-07 Roland McGrath <roland@redhat.com>
72684
72685 * elf/ldconfig.c (main): Add a const.
72686
72687 2010-05-06 Ulrich Drepper <drepper@redhat.com>
72688
72689 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72690 (args_options): Add no-idn option.
72691 (ahosts_keys_int): Add idn_flags to ai_flags.
72692 (parse_option): Handle 'i' option to clear idn_flags.
72693
72694 * malloc/malloc.c (_int_free): Possible race in the most recently
72695 added check. Only act on the data if no current modification
72696 happened.
72697
72698 See ChangeLog.17 for earlier changes.